Page 1 of 1

Weather Shield Light Sensor reading in lux

Posted: Sun Jun 09, 2019 10:07 pm
by bashiruddins
Hello,
I'm Using Weather Shield for my weather meter and I need Light Sensor readings in lux Unit, But the Sensor is providing it in voltage format, How to get the values in Lux format?

Re: Weather Shield Light Sensor reading in lux

Posted: Wed Jun 12, 2019 9:03 am
by TS-Mark
Hi bashiruddins,

The ALS-PT19 ambient light sensor on the Weather Shield is designed to output an analog voltage. In order to convert that to Lux, you would need to refer to the graphs in the datasheet linked above. To "calibrate" the sensor with the ADC you have it connected to, point light with a known Lux value at the sensor, record the output and then repeat with another light with a different Lux value at it. That should give you some basic "calibration" information to create a correlation between the analog output and Lux values you could then use to convert between the two.