Robot Pi Shop

GY-30 BH1750 Intensity Digital Light Sensor Module

$3.99

Shipping calculated at checkout.

Quantity

GY-30 BH1750 Digital Light Intensity Sensor Module – I²C

The GY-30 BH1750 Digital Light Intensity Sensor Module is a compact, high-precision ambient light sensor designed to measure surrounding light intensity in lux (lx).

Powered by the BH1750FVI digital light sensor IC, the module provides accurate light measurements through an I²C interface, making it easy to integrate with Arduino, ESP32, ESP8266, Raspberry Pi, STM32, and other development boards.

Unlike traditional light-dependent resistors (LDRs), the BH1750 provides a calibrated digital output, eliminating the need for an external analog-to-digital converter (ADC).

It is ideal for automatic lighting systems, smart home applications, environmental monitoring, robotics, and IoT projects.

Key Features

  • Sensor IC: BH1750FVI
  • Module Model: GY-30
  • Sensor Type: Digital Ambient Light Sensor
  • Measurement Unit: Lux (lx)
  • Measurement Range: Approximately 1–65,535 lux in standard operation
  • Communication Interface: I²C
  • I²C Address: 0x23 or 0x5C (Selectable)
  • Spectral Response: Close to Human Eye Sensitivity
  • Resolution: Down to 0.5 lux in High-Resolution Mode
  • Power Supply: Typically 3.3–5V DC for regulated GY-30 modules
  • Low Power Consumption: Suitable for Battery-Powered Applications
  • Digital Output: No External ADC Required

Technical Specifications

Parameter Specification
Module GY-30
Sensor IC BH1750FVI
Sensor Type Digital Ambient Light Sensor
Measurement Unit Lux (lx)
Typical Measurement Range 1–65,535 lux
Communication I²C
Default I²C Address 0x23
Alternative I²C Address 0x5C
Sensor IC Supply Voltage 2.4–3.6V DC
Module Supply Voltage Typically 3.3–5V DC, depending on breakout design
Resolution 0.5 lux in High-Resolution Mode 2
High-Resolution Measurement Time Approximately 120ms
Low-Resolution Measurement Time Approximately 16ms
Sensor Operating Temperature -40°C to +85°C
Output Format 16-Bit Digital Data

Measurement Modes

The BH1750 supports multiple measurement modes for balancing resolution, speed, and power consumption.

High-Resolution Mode

  • Resolution: 1 lux
  • Typical Measurement Time: 120ms
  • Suitable for accurate ambient light measurements

High-Resolution Mode 2

  • Resolution: 0.5 lux
  • Typical Measurement Time: 120ms
  • Suitable for detecting smaller changes in light intensity

Low-Resolution Mode

  • Resolution: 4 lux
  • Typical Measurement Time: 16ms
  • Suitable for faster light measurements

The sensor supports both continuous measurement and one-time measurement modes.

I²C Communication

The GY-30 communicates through the I²C digital interface, requiring only two communication lines.

Pin Configuration

Pin Function
VCC Power Supply
GND Ground
SCL I²C Clock
SDA I²C Data
ADDR I²C Address Selection

I²C Address Selection

  • ADDR Low: 0x23 (Default)
  • ADDR High: 0x5C

The selectable I²C address allows two BH1750 sensors to be connected to the same I²C bus without address conflicts.

Arduino Compatibility

The GY-30 can be connected to Arduino boards using the I²C interface.

Typical Arduino UNO connections:

  • VCC → 5V (for a 5V-compatible GY-30 breakout)
  • GND → GND
  • SDA → A4
  • SCL → A5

Compatible BH1750 libraries are available for the Arduino IDE.

ESP32 Compatibility

The module can be used with ESP32 development boards for digital light monitoring.

Typical ESP32 connections:

  • VCC → 3.3V
  • GND → GND
  • SDA → GPIO21
  • SCL → GPIO22

These are common default I²C pins on classic ESP32 development boards; other ESP32 variants may use different pins.

Raspberry Pi Compatibility

The GY-30 can connect directly to the Raspberry Pi's I²C interface when using compatible 3.3V logic levels.

Typical Raspberry Pi connections:

  • VCC → 3.3V
  • GND → GND
  • SDA → GPIO2 (Pin 3)
  • SCL → GPIO3 (Pin 5)

No external ADC is required.

Applications

Ideal for:

  • Automatic Lighting Systems
  • Smart Home Automation
  • Ambient Light Monitoring
  • Automatic Display Brightness Control
  • IoT Environmental Monitoring
  • Weather Stations
  • Robotics Projects
  • Smart Agriculture
  • Indoor Lighting Measurement
  • Energy-Saving Lighting Systems
  • Arduino Projects
  • ESP32 Projects
  • Raspberry Pi Projects
  • Educational Projects
  • University Projects
  • DIY Electronics

Advantages

  • Accurate Digital Light Measurement
  • Output Directly in Lux
  • Compact and Lightweight Design
  • I²C Communication
  • Selectable I²C Address
  • Multiple Measurement Modes
  • Low Power Consumption
  • No External ADC Required
  • Easy Integration with Microcontrollers
  • Suitable for Continuous Ambient Light Monitoring

Important Notes

  • The BH1750 measures ambient light intensity, not distance, color, or ultraviolet radiation.
  • The sensor IC operates at 2.4–3.6V. A 5V supply is suitable only for GY-30 breakout boards with appropriate voltage regulation.
  • Confirm the module's I²C pull-up voltage before connecting it to a 3.3V microcontroller.
  • The stated measurement range is a commonly used standard operating range; the effective range depends on the selected measurement mode and measurement-time setting.
  • Avoid covering the sensor's optical sensing area.
  • Strong directional lighting and installation angle may influence readings.
  • The sensor is suitable for general light monitoring but is not a certified professional lux meter.

Package Includes

1 × GY-30 BH1750 Digital Light Intensity Sensor Module