forked from arendst/Tasmota
-
Notifications
You must be signed in to change notification settings - Fork 0
BH1750
blakadder edited this page Nov 4, 2019
·
3 revisions
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.
BH1750 | ESP8266 |
---|---|
GND | GND |
VCC | 3.3V |
SDA | GPIOx |
SCL | GPIOy |
In the Configuration -> Configure Module page assign:
- GPIOx to
I2C SDA (6)
- GPIOy to
I2C SCL (5)
After a reboot the driver will detect BH1750 automatically and display Illuminance.
Sensor sends a tele/%topic%/SENSOR
JSON reponse:
{"Time":"2019-11-03T20:45:37","BH1750":{"Illuminance":79}}
![](https://github.com/arendst/arendst.github.io/raw/master/media/wemos/bh1750-light-intensity-sensor-front.jpg)
![](https://github.com/arendst/arendst.github.io/raw/master/media/wemos/bh1750-light-intensity-sensor-back.jpg)
Wiki has moved to link on the left.