wayland/tsl2591-light-sensor@0.0.4

License: BSD-3-Clause

TSL2591 High Dynamic Range Digital Light Sensor. Wraps https://github.com/adafruit/Adafruit_TSL2591_Library. Datasheet: https://cdn-learn.adafruit.com/assets/assets/000/078/658/original/TSL2591_DS000338_6-00.pdf?1564168468
NodeDescription
example-read-luminosity-only
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.
example-test-lux-meter
Test of lux meter. Run in debugger and use tweak-byte nodes to change gain and integration time settings on the fly.
example-two-tsl2591-devices
Use of two TSL2591 devices, each on its own hardware I²C bus.
lux-meter
Combines lower level nodes to creat a lux meter.
read-luminosity
Read luminosity (raw count) of full spectrum (visible and IR) and IR component. Subtract IR from FULL to get luminosity of visible light.
get-timing
Get integration time of sensor.
read-lux
Read lux and raw luminosity measurements.
set-gain
Set sensor gain.
get-gain
Get gain of sensor.
set-timing
Set sensor integration time.
tsl2591-device
Create a tsl2591-device.
To use the nodes 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.