Have you ever found yourself having some crazy ideas that could easily make your life easier and more fun? Maybe an alarm for your stash of cookies that you don’t want anybody to touch. Some kind of a device that you put next to it and it sends you a notification and a picture when somebody tries to steal them. Sounds cool, right?


In this tutorial we will use the Adafruit TSL2561 sensor to measure LUX with Arduino.

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.