TSL2561 Luminosity Sensor
Created by lady ada
Last updated on 2015-06-12 12:10:28 PM EDT
Guide Contents
Guide Contents
Overview
Wiring the TSL2561 Sensor
Using the TSL2561 Sensor
Downloads
Buy a TSL2561 Sensor
2
3
5
8
13
14
© Adafruit Industries
https://learn.adafruit.com/tsl2561
Page 2 of 14
Overview
The TSL2561 luminosity sensor is an advanced digital light sensor, ideal for use in a wide range of
light situations. Compared to low cost CdS cells, this sensor is more precise, allowing for exact Lux
calculations and can be configured for different gain/timing ranges to detect light ranges from up to
0.1 - 40,000+ Lux on the fly. The best part of this sensor is that it contains
both infrared and full
spectrum diodes!
That means you can seperately measure infrared, full-spectrum or human-
visible light. Most sensors can only detect one or the other, which does not accurately represent
what human eyes see (since we cannot perceive the IR light that is detected by most photo diodes).
The sensor has a digital (i2c) interface. You can select one of three addresses so you can have up
to three sensors on one board - each with a different i2c address. The built in ADC means you can
use this with any microcontroller, even if it doesn't have analog inputs. The current draw is
extremely low, so its great for low power data-logging systems. about 0.5mA when actively sensing,
and less than 15 uA when in powerdown mode.
© Adafruit Industries
https://learn.adafruit.com/tsl2561
Page 3 of 14
Some Stats
Approximates Human eye Response
Precisely Measures Illuminance in Diverse Lighting Conditions
Temperature range:
-30 to 80 *C
Dynamic range (Lux):
0.1 to 40,000 Lux
Voltage range:
2.7-3.6V
Interface:
I2C
Pick one up today from the Adafruit shop!
(http://adafru.it/439)
© Adafruit Industries
https://learn.adafruit.com/tsl2561
Page 4 of 14
Wiring the TSL2561 Sensor
This is an easy sensor to get started with. The breakout board comes with a 6-pin header strip that
you can use to plug the sensor into a breadboard or perfboard. Simply plug the header into a
solderless breadboard with the long pins down and short pins up. Place the sensor on top so each
pad has a header pin in it and solder the two together.
Next we will connect it to our microcontroller. In this case we'll be using an Arduino but nearly any
microcontroller can be used by adapting our code
Connect the
VCC
pin to a
3.3V
or
5v
power source.
Note: Currently shipping sensors have a 3.3v regulator built-in. If you have an older version of the
sensor that does not have the voltage regulator, it cannot be used with anything higher than 3.3V!
Connect
GND
to the ground pin.
Connect the
i2c SCL clock
pin to your i2c clock pin. On the classic Arduino
Uno/Duemilanove/Diecimila/etc this is
Analog pin #5
© Adafruit Industries
https://learn.adafruit.com/tsl2561
Page 5 of 14