I want to use an LDR to get a reading on the PIC via A2D converter. Here are my measured resistance levels of the LDR:
Dark: 65K Ohm
Normal light: 3.98K
Very bright: 1.8K
If I want to get a voltage range of 0V through to 5V to the PIC from the LDR, I know I need a voltage divider circuit, but how do I work out the resistance of the static resistor, and is there an online calculator to simply this?
First, without using an opamp, starting with only a single supply voltage of 5V?, there is no way to get a signal that swings from 0V to 5V. You could get maybe 1.5V to 3.5V. Is that enough?