BH1750 light sensor
Digital light sensor that reads directly in lux.
What is the BH1750 light sensor and what is it used for?
Digital light sensor that reads directly in lux. Makers use it for auto brightness, grow-light logs.
A photodiode with a filter that matches the human eye's response feeds an ADC that reports light level in lux.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Ambient light |
| Range | 1 to 65 535 lux |
| Interface | I2C |
| I2C address | 0x23 or 0x5C |
| Supply voltage | 2.4 to 3.6 V (modules take 5 V) |
Pinout
How to use it
Use the BH1750 library in continuous high-resolution mode; it returns lux directly. Keep the sensor window clean and facing the light you want to measure.
Applications
Builds that use it
I2C bus with three sensors
LDR versus lux sensor comparison lab
Light-following curtains
CO2 and light monitor for a grow tent
Photography light meter
Motorised curtain that opens at sunrise
Pocket lux meter
I2C scanner and address map lab
Alternatives
- VEML7700 lux sensorWider range up to direct sunlight
- LDR PhotoresistorCheapest relative light sensing
Common questions
What is the BH1750 light sensor used for?
In maker projects: auto brightness, grow-light logs.
How does the BH1750 light sensor work?
A photodiode with a filter that matches the human eye's response feeds an ADC that reports light level in lux.
What voltage does the BH1750 light sensor need?
2.4 to 3.6 V (modules take 5 V).
How do I connect the BH1750 light sensor to an Arduino or ESP32?
I2C. Pins: VCC (3.3 to 5 V on modules), GND (Ground), SCL (I2C clock), SDA (I2C data), ADDR (Address 0x23 (low) or 0x5C (high)).
What can I use instead of the BH1750 light sensor?
VEML7700 lux sensor and LDR Photoresistor.
