loading

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:

  1. Raspberry Pi (We are using Model 3B. It will work with any version)
  2. PIR Sensor
  3. 5V 2A Power Supply
  4. Jumpers
  5. 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. ;)

<p>Using a Raspberry PI3 (e.g. a quad core computer) to monitor a single binary digital sensor (on/off), and having that connected thru Ethernet is a bit... well... complicated, bulky and expensive. (and it's not worth considering to power that with a battery pack)</p><p>Think about ESP8266 (microcontroler + Wifi). It costs ~2$, it's wireless (no more messy Ethernet cables), smaller, draws 100+ times less power and it's yet far more than powerful enough to do the job!</p>
<p>Yes, I second you. Monitoring only one digital input is not efficient. But I showed it here as a demonstration. User can control several relays from other gpio. Then it can be connected to a gsm module to call or send msg to police and etc. And other programs can run at the same time, like monitoring room temperature, humidity. </p><p>But for only PIR sensor input and network we should work with other smaller low powered devices. Thanks for your comment.</p>

About This Instructable

3,631views

87favorites

License:

Bio: We run YouTube channel and provide some video tutorials on electronics and programming and also videos on cool projects - how to make them, tech news ... More »
More by Being Engineers:How to Communicate With Arduino From a Python Script HACKED! Google Chrome Offline T-Rex Game How to Install MinGW GCC/G++ Compiler in Windows XP/7/8/8.1/10 
Add instructable to: