Skip to content

TSL2591 Lux

Jason edited this page Sep 8, 2018 · 4 revisions

Hardware Setup

The TSL2591 is capable of communicating either through I2C and SPI. Again, I decided to connect it with I2C since we already have multiple I2C devices connected in parallel. Here is how your setup should look like with the TSL2591 connected. Note that we would only need to connect 3V/VIN, GND, SCL, and SDA for I2C. The 3Vo pin is left unconnected.

Refer to the following adafruit page for hardware wiring under the "Python Computer Wiring" header.

Software Setup

Unfortunately Adafruit only provided a circuitpython example repository, so i followed this tsl2591 repository and followed how to use the library to pull data.

Notes

TSL2591 Datasheet No mention about accuracy