Meaning of 1.02 thousand while making light_monitor system

Explanation regarding the value “1.02”-
The A0 point is the analog point and it takes in the value of voltage between 0 to 1.The taken value say 0.576V is converted to a binary number of 10 bits,by the in built ADC converter.So each value read by A0 pin is given by 10 bit binary number whose decimal equivalent ranges from 0 to 2^10-1(this decimal equiv. is shown in the output table).
Now in our case at bright light LDR,resistance lowers down and it gives less drop so A0 pin gets high value.For dark case resistance increases,and gets good drop so A0 pin gets low value.

3 Likes