Parts Sensors and input

Light Sensor (BH1750)
An I²C ambient light sensor on the GY-302 module, 1 to 65535 lx.
- Category
- Sensors and input
- Interface
- I²C, 0x23 or 0x5C
- Size
- 12.7 × 19.1 mm
Pins
| Pin | Role |
|---|---|
VCC | Power |
GND | Ground |
SCL | Input |
SDA | Signal |
ADDR | Input |
Settings
Change these in the part's properties on the canvas.
- Light level
- 250 lx
How PinBench simulates it
- It answers at 0x23, or 0x5C with ADDR tied high, and only when it is powered and wired to A4 and A5.
- Like a freshly powered chip, it returns 0 until the sketch asks for a measurement.