Monitoring System

I am not getting 1’s and 0’s in Light monitoring system,instead I am getting values like 123,156,…,
are they correct or else should I get only 0 and 1?

Hi @shivatejachennoju,

The LDR values the ranges from 0 to 1024. You can check variation in value by providing various intensity of light over LDR sensor.

Do let me know in case you need further assistance.

@shivatejachennoju The range of the sensor is from 0 to 1024.So you will get the value inbetween these values. You may use the formula light intensity = (100*sensor value)/1024 to get the exact intensity value