Created Wemos D1 Mini and DH1750 Luminosity Sensor (markdown)

Raymond Mouthaan 2018-05-21 15:06:49 +02:00
parent 087fc2e963
commit c50f88f5eb
1 changed files with 29 additions and 0 deletions

@ -0,0 +1,29 @@
## DH1750 Luminosity Sensor (I2C)
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/bh1750-light-intensity-sensor-front.jpg" align=right width=225>
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/bh1750-light-intensity-sensor-back.jpg" align=right width=225>
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](http://cpre.kmutnb.ac.th/esl/learning/bh1750-light-sensor/bh1750fvi-e_datasheet.pdf) for more information.
### Connecting the DH1750 to a Wemos Mini D1
| Wemos | DH1750 |
|---|---|
|GND |GND |
|5V |VCC |
|D3 (gpio0) |SDA |
|D4 (gpio2) |SCL |
### Tasmota Configuration
In the Configuration -> Configure Module page, select the following:
1. **Module Type : 18 Generic**
2. **D3 GPIO0 : 06 I2C SDA**
3. **D4 GPIO2 : 05 I2C SCL**
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_bh1750_config_marked.jpg" width=300>
### Tasmota Main
After reboot of the device the displays the DH1750 Illuminance.
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_bh1750_main_marked.jpg" width=300>