Vishay has a lot of light sensors out there, and this is a nice simple lux sensor that's easy to add to any microcontoller. Most light sensors just give you a number for brighter/darker ambient lighting. The VEML7700 makes your life easier by calculating the lux, which is an SI unit for light. You'll get more consistent readings between multiple sensors because you aren't dealing with some unit-less values.
The sensor has 16-bit dynamic range for ambient light detection from 0 lux to about 120 klux with resolution down to 0.0036 lx/ct, with software-adjustable gain and integration times.
Interfacing is easy - this sensor uses plain, universal I2C. Adafruit put this sensor on a breakout board with a 3.3V regulator and logic level shifter so you can use it with 3.3V or 5V power/logic microcontrollers. They have written libraries for Arduino (C/C++) as well as CircuitPython (Python 3) so you can use this sensor with just about any kind of device, even a Raspberry Pi!
This is Kattni's first PCB design for Adafruit, it's even signed on the back!
TECHNICAL DETAILS
Product Dimensions: 16.6mm x 16.5mm x 4.0mm / 0.7" x 0.6" x 0.2"
Product Weight: 1.0g / 0.0oz
LEARN
Primary Guide: Adafruit VEML7700 Ambient Light Sensor - Easily add ambient light sensing to your project with this high accuracy I2C sensor!