diff --git a/Wemos-D1-Mini.md b/Wemos-D1-Mini.md index 1cfe7f8a..cff2985a 100644 --- a/Wemos-D1-Mini.md +++ b/Wemos-D1-Mini.md @@ -92,4 +92,27 @@ In the Configuration -> Configure Module page, select the following: After reboot of the device the temperature and humidity are displayed. - \ No newline at end of file + + +## Motion Sensor PIR (HC-SR501) + + + +Connecting the PIR to a Wemos Mini D1. + +| Wemos |PIR | +|---|---| +|GND |GND | +|5V |POWER (VCC) | +|D5 (gpio14) |OUTPUT | + + + +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. + + \ No newline at end of file