![]() |
IoT Drivers
v3.3.0 (S2022)
Engineering in Software Technology
|
Driver for the TSL2591 Light sensor. More...
Modules | |
Functions to initialize the driver. | |
How to initialise the driver. | |
Basic TSL2591 driver functions | |
Commonly used functions. Here you you will find the functions you normally will need. | |
Configuration structs for the TSL2591 driver functions | |
Commonly used structs. | |
TSL2591 driver Return codes | |
Return codes from TSL2591 driver functions. | |
Driver for the TSL2591 Light sensor.
A little about light. Light is normally measured in LUX. Indoor and outdoor light conditions:
LUX | Condition |
---|---|
0.002 lux | Moonless clear night sky |
0.2 lux | Design minimum for emergency lighting (AS2293) |
0.27 - 1 lux | Full moon on a clear night |
3.4 lux | Dark limit of civil twilight under a clear sky |
50 lux | Family living room |
80 lux | Hallway/toilet |
100 lux | Very dark overcast day |
300 - 500 | lux Sunrise or sunset on a clear day. Well-lit office area |
1,000 lux | Overcast day; typical TV studio lighting |
10,000 - 25,000 lux | Full daylight (not direct sun) |
32,000 - 130,000 lux | Direct sunlight |
The Data-sheet for TSL2591 can be found here TSL2591 Datasheet - June 2018
The implementation works with interrupt, meaning that there are no busy-waiting involved.