Intro: IoT Based Home Security System ( Raspberry + Cayenne + PIR Sensor )
Hello guys, in this tutorial we will show you how you can make your own IoT-based home security system. We will use an IoT Platform named Cayenne for this purpose.
We have made one video previously about how to start with cayenne and basic setup. You can watch that video if you haven’t.
So here is the basic concept. Our system will be connected to the Internet constantly and will monitor the house. If some unwanted situation comes, then it will send you a message, irrespective of the fact of your current location. So then you can inform police and security of your apartment or directly close the door of your home from your mobile itself.
Sounds pretty neat. Right? But to make things simpler, we will do only the message part here in this video. So, let's begin.
Don't forget to visit and subscribe to our channel - https://www.youtube.com/c/being_engineers1
We have made a video explaining this tutorial. Do check it out! :)
Step 1: Gather the Componenets
Things you will need before staring this project:
- Raspberry Pi (We are using Model 3B. It will work with any version)
- PIR Sensor
- 5V 2A Power Supply
- Network access
Step 2: Make the Circuit
The circuit is pretty simple and straight forward. The PIR sensor will be connected to the Pi by three wire - Power, ground, output. The Pi will be connected to the Internet via LAN cable. Then, power ON the circuit.
Circuit schematic - https://drive.google.com/open?id=0Bx5xjjFUKQ-TLXQ0...
Step 3: Do the Necessary Setup
Open up your laptop or desktop and do the following.
- Open mydevice website and log in with your credentials.
- Click on 'add new' and add a device name 'motion sensor'.
- Edit the properties and change the channel to 18 and change the icon to bulb. Save and continue.
- Now add a trigger. Drag and drop your logic and add your mobile number to the field. Save the trigger.
- You are all set up go and the system is online.
Step 4: It's Done!
Your system is ready. Just keep it ON and forget about it. It will do its work at the right time by sending you a message that someone is there in your apartment without your permission and do the necessary steps. So as you can. see this project is very simple and most of the tough job is handled by Cayenne.
If you liked our tutorial, please subscribe to our youtube channel - https://www.youtube.com/c/being_engineers1
We will see you again in another cool electronics project video and another Instructables. Until then, adieu. ;)