SparkFun Forums 

Where electronics enthusiasts find answers.

Questions &/or issues related to products in the Environment category should be posted in this forum. Includes Air Quality, Altitude, Atmospheric & barometric pressure, Combo boards & other, Temperature & humidity, etc.
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.