Microcontroller › PIC › how to interface ldr with pic18f › LDR is a Light Dependent
September 4, 2013 at 3:35 pm #10421
LDR is a Light Dependent Resistor, so its value of Resistance change with the light that the LDR receive.
The more light the less resistance.
You must get a network of resistances for example in serial to convert the variation of resistance in a variation of voltage.
> Analogic input (PIC)
As AJISH ALFRED have said before connect it at an Analog Input of the PIC and read the analogic value