top of page
GY-302 BH1750 Light Intensity Module

GY-302 BH1750 Light Intensity Module

β‚Ή87.00Price

🧠 What is it?

The BH1750 Light Sensor module (GY-302) is a digital sensor used to measure ambient light intensity in units of lux.

πŸ‘‰ It’s commonly used in systems that need to adjust brightness automatically, like smartphones or smart lighting.

βš™οΈ How It Works

  • The BH1750 sensor detects light using a photodiode

  • Converts light into electrical signals

  • Internally processes it and outputs a digital lux value

πŸ‘‰ Unlike analog LDRs, it directly gives accurate lux readings (no ADC needed)

πŸ”Œ Communication Interface

The module uses the I2C protocol.

Pins:

PinFunction
VCCPower (3.3V – 5V)
GNDGround
SCLClock line (I2C)
SDAData line (I2C)
ADDRAddress select

🧠 I2C Address

  • Default address: 0x23

  • If ADDR pin is HIGH β†’ 0x5C

πŸ‘‰ Allows connecting multiple sensors on same bus

πŸ“Š Key Specifications

  • Measurement range: 1 – 65,535 lux

  • High resolution: 1 lux

  • Built-in ADC (16-bit)

  • Low power consumption

  • Wide voltage support

πŸ”„ Working Process

  • Sensor detects ambient light

  • Converts light β†’ electrical signal

  • Internal ADC processes signal

  • Outputs lux value via I2C

  • Microcontroller reads and uses data

πŸš€ Applications

  • πŸ“± Automatic screen brightness control

  • 🏠 Smart home lighting systems

  • 🌱 Greenhouse light monitoring

  • πŸ›£οΈ Street light automation

  • πŸ“Έ Camera exposure control

βœ… Advantages

  • Direct lux output (no calculations needed)

  • High accuracy and resolution

  • Easy I2C interface

  • Low power usage

  • Better than LDR for precision

⚠️ Limitations

  • Not ideal for detecting specific light wavelengths

  • Slight delay in measurement

  • Requires I2C support

πŸ”Œ Basic Arduino Connection

  • VCC β†’ 5V

  • GND β†’ GND

  • SDA β†’ A4 (Arduino Uno)

  • SCL β†’ A5 (Arduino Uno)

πŸ’‘ Example Use

In a smart lighting system:

  • Sensor reads ambient light

  • If lux < threshold β†’ turn ON lights

  • If lux > threshold β†’ turn OFF lights

πŸ” Practical Tips

  • Avoid direct sunlight on sensor for stable readings

  • Use proper I2C pull-up resistors (often already included)

  • Place sensor where ambient light is representative

πŸ” BH1750 vs LDR (Quick Comparison)

FeatureBH1750LDR
OutputDigital (lux)Analog
AccuracyHighLow
InterfaceI2CADC required
CalibrationMinimalRequired
Quantity
bottom of page