Grove TSL2561
| Sensors | TSL2561: ambient light |
|---|---|
| Connection | GROVE I2C (0x29) |
Template
Section titled “Template”First apply your board's template from its board page, so the I2C pins are set. Then paste this into the Board Template box on the node's Templates page, Preview and Apply. It sets only this add-on's settings and works on any chip. See Add-on templates.
{"settings":{"TSL2561_I2c_Bus":1,"TSL2561_I2c":"0x29"}}- Plug it into the GROVE port. The Atom S3 Lite and NanoC6 board templates set GROVE as I2C bus 1. On another board, set I2C bus 1’s SDA and SCL pins on the Hardware page first.
- Applying the template needs firmware newer than v5.0.0b2 (ESPresense#2555). Older firmware asks for a
"chip"; set the values on the Hardware page instead. - Publishes
tsl2561_lux. Gain defaults to auto. - If nothing shows up, try 0x39 or 0x49, or turn on “Debug I2C addresses” on the Hardware page and check the serial log.