Driver for the Texas Instruments OPT3001 sensor.
More...
Detailed Description
Driver for the Texas Instruments OPT3001 sensor.
The TI OPT3001 (Ambient Light Sensor) measures the intensity of visible light with a spectal response comparable to the human eye, with simultaneous rejection of infrared light. The conversion time, mode of conversion and the interrupt reporting mechanism mode can be set by the sensor initialization. After initialization the raw sensor values can be read. The ambient light can be calculated as follows:
Result register translation into lux:
Where LSB_Size:
The calculation is wrapped from TI OPT3001 Ambient Light Sensor (ALS) datasheet (Rev. C).