Updated Wemos D1 Mini (markdown)

Raymond Mouthaan 2018-04-03 22:23:45 +02:00
parent 26a232daf6
commit 83ee34770b
1 changed files with 29 additions and 1 deletions

@ -157,6 +157,34 @@ After reboot of the device the displays the TSL2561 Illuminance.
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_tsl2561_main_marked.jpg" width=300>
## 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 |
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>
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>
## WS2812B RGB Shield (single pin)
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_ws2812b_shield.jpg" align="right" width=320>