Parts Sensors and input

The Light Sensor (BH1750) as drawn on the PinBench canvas.

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

PinRole
VCCPower
GNDGround
SCLInput
SDASignal
ADDRInput

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.