From 7614dd87ea1e3c618c8a2aa8b7185bca6d602629 Mon Sep 17 00:00:00 2001 From: Raymond Mouthaan Date: Fri, 23 Mar 2018 13:32:00 +0100 Subject: [PATCH] Updated Wemos D1 Mini (markdown) --- Wemos-D1-Mini.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) 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