Hi
Im sensing the lights with 2 LDRs and using them as an ADC inputs to PIC 16F876A
the code should see the difference and gives an order to DC motor to move
right now my code is fine the only problem I have now that the LDRs read different readings but there is no output from the pic.
without the ldrs, when I put different voltages instead of them I get an outout from the pic
that means there is a problem in the LDR circuit right? how can I solve it?
Im connecting them same as this picture
**broken link removed**
Im sensing the lights with 2 LDRs and using them as an ADC inputs to PIC 16F876A
the code should see the difference and gives an order to DC motor to move
right now my code is fine the only problem I have now that the LDRs read different readings but there is no output from the pic.
without the ldrs, when I put different voltages instead of them I get an outout from the pic
that means there is a problem in the LDR circuit right? how can I solve it?
Im connecting them same as this picture
**broken link removed**
Last edited: