Erics Super Simple motion sensor alarm system using a Wemos D1 mini and Passive infra-red (PIR) sensor to send you notifications via IFTTT
🐦 Twitter
| 📺 YouTube
| 🌍 mkme.org
Support this project and become a patron on Eric's Patreon.
Website, Forum and store are at http://mkme.org
Chat with Me: Discord
Buy a components kit from my website here: https://store.mkme.org/?product=esp8266-pir-motion-detector-kit
Or buy them yourself:
Buy the Wemos D1 Here: http://amzn.to/2lFkeA6
Buy the PIR sensor here: http://amzn.to/2lFYh3J
If you use this code or personalize it etc- please consider sharing it back with the world Open-Source Tested with Arduino IDE 1.6.7
Connect PIR sensor V+ to 5V , V- to GND and Signal as per the sketch below.
See the full video here: https://www.youtube.com/watch?v=y9XC5yHR5Bk
Buy the Wemos D1 Here: http://amzn.to/2lFkeA6
Buy the PIR sensor here: http://amzn.to/2lFYh3J
V1 Basic Sketch Works to send emails every 10 seconds or around there. V2 works smoke and motion V3 Wont boot if d8 high on startup- Changed to Pin 7 and this works. Levelconverter in place and tested- works perfect for 5V in Note: MQ2 draws too much for board to support and will need standalone Vref V4 Converted to IFTTT and temporarily removed smoke detection. Disabled wificlient in setup and only activate when ifttt is called
Get a 3D printable case on Thingiverse here: https://www.thingiverse.com/thing:2489968
To get your IFTTT Key: 1: sign in 2: click on your account in the top right corner 3: select services 4: select Webhooks 5: click settings in the top right 6: under account info, copy everything after https://maker.ifttt.com/use/ (including underscores)