Wemos D1 Mini and BH1750 Luminosity Sensor - seurat-atreides/Sonoff-Tasmota GitHub Wiki
The BH1750 is a digital ambient light sensor module which uses I2C to communicate. The BH1750 provides you with a digital value in lux (Lx) over a range of 1 - 65535 lx. See Digital 16bit Serial Output Type Ambient Light Sensor IC for more information.
Wemos | BH1750 |
---|---|
GND | GND |
5V | VCC |
D3 (gpio0) | SDA |
D4 (gpio2) | SCL |
In the Configuration -> Configure Module page, select the following:
- Module Type : 18 Generic
- D3 GPIO0 : 06 I2C SDA
- D4 GPIO2 : 05 I2C SCL
After reboot of the device the displays the BH1750 Illuminance.