DIY Home Security - How to Make a Simple Motion Detect | New Version

by MertArduino in Circuits > Gadgets

885 Views, 1 Favorites, 0 Comments

DIY Home Security - How to Make a Simple Motion Detect | New Version

cover-3.png

In this project I'll be showing you how to make a low cost DIY home security motion notification alarm!

See old version: How to Make a $10 WiFi Security System at Home

Video Tutorial - Step by Step

DIY Home Security - How to Make a Simple Motion Detect | New Version

If the PIR motion sensor detects any motion it sends a notification to your mobile phone. ESP8266 ESP-01 WiFi module, PIR motion sensor and 3.3V voltage regulator were used in this project.

You can also see in this project how to build a 3.3V power station, how to upload code to the ESP-01 using the FTDI, how to programming the ESP-01 using the Arduino IDE, and create free WiFi scenarios with IFTTT.

Required Hardware

vlcsnap-2019-07-13-11h27m17s365.png

Download Gerber File & Order PCB

vlcsnap-2019-07-13-11h36m18s283.png
vlcsnap-2019-07-13-11h35m45s831.png
vlcsnap-2019-07-13-11h35m32s984.png

In this project, I have choosen PCBWay. PCBWay is the only way to make this project happen a very low cost and high quality.

$0 For New members first order & Low Price for PCB Stencil at https://www.pcbway.com/

Download PCB Gerber Files for Order - DOWNLOAD GERBER

ESP-01 Flasher

vlcsnap-2019-07-13-11h42m34s414.png
vlcsnap-2019-07-13-11h42m56s971.png

You can use it to program NodeMCU DEVKIT or your own ESP8266 board. Just click flash and you can burn firmware to ESP8266. Before you doing it, GPIO0 MUST LOW.

Flasher - https://github.com/nodemcu/nodemcu-flasher

IFTTT and Arduino IDE Source Code

vlcsnap-2019-07-13-11h43m05s430.png
vlcsnap-2019-07-13-11h43m36s490.png

IFTTT - If This Than That

For this project we’re going to use a free service called IFTTT that stands for If This Than That. This service is used to automate a wide variety of tasks online. If the PIR motion sensor detects any motion it sends a notification to your mobile phone.

Type in your browser https://ifttt.com and click the “Get started” button in the middle of the page. Complete the form with your details and create your account.
In the wesite, Open the “My Applets” tab, press the create “New Applet” button. Click the “This” word and search for the “Webhooks” service.

Source Code:

Here’s the code that you need to upload to your ESP board. You need to change a few variables: SSID, password, API Key and Event Name.
In this project, we use Wifi-Manager library. WiFiManager allows you to connect your ESP8266 to different Access Points (AP) without having to hard-code and upload new code to your board. Additionally, you can also add custom parameters and manage multiple SSID connections with the WiFiManager library.

Download the Source Code

​Download 3D Model STL

vlcsnap-2019-07-13-11h41m43s894.png
vlcsnap-2019-07-13-11h41m53s228.png
vlcsnap-2019-07-13-11h43m53s834.png

Free Design Platform Tinkercad - https://www.tinkercad.com/

Download 3D Model STL - http://bit.ly/2NRdRuN