lux-meter

wayland/tsl2591-light-sensor/lux-meter

Combines lower level nodes to creat a lux meter.
lux-meter
@/lux-meter
Combines lower level nodes to creat a lux meter.
I2Cxod/i2c/i2c
I²C bus.
UPDpulse
Update. Trigger read.
GAINbyte
Sensor gain. Options: low (1x) = 00h, medium (25x) = 10h, high (428x) = 20h, max (9876x) = 30h.
TIMEbyte
Integration time (milliseconds). Options: 100ms = 00h, 200ms = 01h, 300ms = 02h, 400ms = 03h, 500ms = 04h, 600ms = 05h.
lux-meter
FULL
IR
LUX
G
IT
DONE
I2C
UPD
GAIN
TIME
DONEpulse
ITbyte
Integration time: 00h = 100ms, 01h = 200ms, 02h = 300ms, 03h = 400ms, 04h = 500ms, 05h = 600ms.
Gbyte
Current value of gain: 00h = low gain (1x), 10h = medium gain (25x), 20h = medium gain (428x), 30h = high gain (9876x).
LUXnumber
Lux (or < 0 if overflow)
IRnumber
Infrared luminosity (raw count).
FULLnumber
Luminosity (raw count) of full spectrum (visible and infrared).
To use the node in your project you should have the wayland/tsl2591-light-sensor library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.