← back to catalog
// light

BH1750

Digital ambient light (lux)

€2.00
avg eur
BH1750
I2C
Pins
5
Specs
4
Libraries
2
Protocols
1
// wiring → esp32 devkit v1
VCC
3V3
EN
GPIO36 VP
GPIO39 VN
GPIO34
GPIO35
GPIO32
GPIO33
GPIO25
GPIO26
GPIO27
GPIO14
GPIO12
GND
GND
GPIO13
ESP32
WROOM-32
devkit v1
USB
VIN 5V
GND
GPIO23
GPIO22 SCL
SCL
GPIO1 TX0
GPIO3 RX0
GPIO21 SDA
SDA
GPIO19 MISO
GPIO18 SCK
GPIO5 SS
GPIO17 TX2
GPIO16 RX2
GPIO4
GPIO2
GPIO15
sensor pin (left)
sensor pin (right)
unused
// pinout → esp32
Sensor Pin ESP32 Connection
VCC 3.3V
GND GND
SCL GPIO 22
SDA GPIO 21
ADDR GND or 3.3V
// technical specs
Range 1–65535 lux
Resolution 1 lux
I2C addr 0x23 / 0x5C
Voltage 3.3V
// github libraries
// notes & warnings
Direct lux output — much better than analog LDR for any real measurement.
// related sensors · light
Submitted by caio.ricciuti@outlook.com · Apr 26, 2026