Weather Shield Light Sensor reading in lux

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?

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.](https://cdn.sparkfun.com/datasheets/Components/General%20IC/ALS-PT19-315C-L177-TR_datasheet.pdf)