sorry for the late reply paul,
from the analogReading i am getting about 937 max and lowest below 10, using the configuaration on;
http://www.ladyada.net/learn/sensors/cds.htmlI have used 11kohms resistor with the LDR. the code i used is;
int photocell = 0;
int backlight = 13;
int val;
void setup(){
pinMode(backlight, OUTPUT);
pinMode(photocell, INPUT);
Serial.begin(9600);
}
void loop(){
Serial.print(val);
val = analogRead(photocell);
if (val < 200){
digitalWrite(backlight, High);
}
else{
digitalWrite(backlight, LOW);
}
}
when I used a multimeter to measure the resistance of the LDR in complete darkness its was 1.8Mohm and in light 0.3Kohm.
hope i have given you the info u requested.
Thanks
