TSL2561 light sensor
Light sensor with broadband and IR channels for lux.
MeasuresAmbient light
Range0.1 to 40 000 lux
InterfaceI2C
I2C address0x29, 0x39 or 0x49
SensorsReviewedMPN TSL2561Used in 2 projects
In short
What is the TSL2561 light sensor and what is it used for?
Light sensor with broadband and IR channels for lux. Makers use it for light logging.
How it works
Two photodiodes, one broadband and one infrared only, are combined to estimate human-visible light.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Ambient light |
| Range | 0.1 to 40 000 lux |
| Interface | I2C |
| I2C address | 0x29, 0x39 or 0x49 |
| Supply voltage | 2.7 to 3.6 V |
Pinout
VIN3.3 V (modules may accept 5 V)
GNDGround
SCLI2C clock
SDAI2C data
ADDRAddress select
INTInterrupt
How to use it
Use the Adafruit TSL2561 library and its auto-gain. It has a separate infrared channel, so it estimates lux well under different lamp types.
Applications
Light logging
Builds that use it
Alternatives
- BH1750 light sensorSimpler and cheaper
- VEML7700 lux sensorWider range
Common questions
What is the TSL2561 light sensor used for?
In maker projects: light logging.
How does the TSL2561 light sensor work?
Two photodiodes, one broadband and one infrared only, are combined to estimate human-visible light.
What voltage does the TSL2561 light sensor need?
2.7 to 3.6 V.
How do I connect the TSL2561 light sensor to an Arduino or ESP32?
I2C. Pins: VIN (3.3 V (modules may accept 5 V)), GND (Ground), SCL (I2C clock), SDA (I2C data), ADDR (Address select), INT (Interrupt).
What can I use instead of the TSL2561 light sensor?
BH1750 light sensor and VEML7700 lux sensor.
