I have build a simple voltage divider with a light resistor and a 5.6k resistor. I am reading the input on A0 on my arduino board but it is almost always at 1023, independent of light. If I cover it it might go down to 1020 but not more than that.
Do I have to use a greater resistor than 5.6k to achieve more difference in the sensor?
I think that the resistance is pending between 1k-10k.
The circuit is like this image:
Where Vin is 5V from the arduino. R1 is the light sensor, R2 is 5.6k and Vout is connected to A0.