Demonstration of the read-luminosity node. This node is useful if you are only interested in the raw data from the sensor. Run patch in debugger.
Test of lux meter. Run in debugger and use tweak-byte nodes to change gain and integration time settings on the fly.
Use of two TSL2591 devices, each on its own hardware I²C bus.
Combines lower level nodes to creat a lux meter.
Read luminosity (raw count) of full spectrum (visible and IR) and IR component. Subtract IR from FULL to get luminosity of visible light.
Get integration time of sensor.
Read lux and raw luminosity measurements.
Set sensor gain.
Get gain of sensor.
Set sensor integration time.
Create a tsl2591-device.