BH1750 (GY-302)
Also known as: BH1750 · GY-302 · GY-30 · Light & UV
The unkillable dollar lux sensor: 'is it dark enough to turn the lights on' answered reliably for a decade. Every multisensor recipe includes one.
As an Amazon Associate and an affiliate we may earn from qualifying purchases. Prices and availability are set by the retailer.
At a glance
⚑ flag an error| Measures | lux |
|---|---|
| Accuracy | 1–65,535 lx; plenty for automation, not photometry |
| Interface | I2C @ 0x23 / 0x5C |
| Supply | 3.3–5 V |
| Battery-viable | Yes (deep-sleep friendly) |
| ESPHome | Native ESPHome component — bh1750 |
| Typical price | $1-2 (street, varies) |
Compare all sensor modules in one table →
Which one do I buy?
vs VEML7700: the VEML has better low-light linearity and auto-gain — the upgrade pick for ~$1 more.
Clone check
Good for
Gotchas to know
- Put it where the light is: behind smoked acrylic or inside a case it reads uselessly low.
- Two addresses via the ADDR pin if you need a pair.
Wiring it up
It's I2C, so it shares two pins with every other I2C sensor you own — chain your climate/light/CO2 stack on one bus and mind the address clashes (this one lives at 0x23 / 0x5C). Any ESP32 dev board works.