Updated Wemos D1 Mini (markdown)

Raymond Mouthaan 2018-03-23 13:32:00 +01:00
parent 1a45ca130d
commit 7614dd87ea
1 changed files with 24 additions and 1 deletions

@ -92,4 +92,27 @@ In the Configuration -> Configure Module page, select the following:
After reboot of the device the temperature and humidity are displayed. After reboot of the device the temperature and humidity are displayed.
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_dht11_main_marked.jpg"/> <img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_dht11_main_marked.jpg"/>
## Motion Sensor PIR (HC-SR501)
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/pir-hc-sr501-motion-front.jpg" width=225>
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/pir-hc-sr501-motion-back.jpg" width=325>
Connecting the PIR to a Wemos Mini D1.
| Wemos |PIR |
|---|---|
|GND |GND |
|5V |POWER (VCC) |
|D5 (gpio14) |OUTPUT |
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_pir_hc-sr501_config_marked.png" width=350>
In the Configuration -> Configure Module page, select the following:
1. **Module Type : 18 Generic**
2. **D5 GPIO14 Sensor : 09 Switch1**
3. **D6 GPIO12 Relay1 : 17 Relay1**
After reboot of the device the displays the status of relay1 aka switch1.
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_pir_hc-sr501_main_marked.png" width=350>