Components / Sensors / BH1750 light sensor

BH1750 light sensor

Digital light sensor that reads directly in lux.

MeasuresAmbient light
Range1 to 65 535 lux
InterfaceI2C
I2C address0x23 or 0x5C
SensorsReviewedMPN BH1750FVIUsed in 23 projects
BH1750
In short

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.

How it works

A photodiode with a filter that matches the human eye's response feeds an ADC that reports light level in lux.

Key specifications

Sensor specValue
MeasuresAmbient light
Range1 to 65 535 lux
InterfaceI2C
I2C address0x23 or 0x5C
Supply voltage2.4 to 3.6 V (modules take 5 V)

Pinout

VCC3.3 to 5 V on modules
GNDGround
SCLI2C clock
SDAI2C data
ADDRAddress 0x23 (low) or 0x5C (high)

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

Alternatives

Buy at

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.