The BH1750 (GY-302) is a digital ambient light sensor that measures brightness and reports it directly in lux over I2C. Unlike a simple LDR, it needs no calibration and no analog maths β you just read a real light value in your code.
- Digital I2C output β only two signal wires (SDA, SCL)
- Wide measuring range, roughly 1 to 65535 lux
- 16-bit resolution with a built-in analog-to-digital converter
- Close to human-eye response, with good infrared rejection
- Works with Arduino, ESP32, ESP8266 and Raspberry Pi (3β5V)
Perfect for automatic lighting, smart-home brightness control, plant-light monitoring and weather stations.




