IoT Based Home Security System || Raspberry + Cayenne + PIR Sensor

Posted on Posted in elecProjects

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.

[embedyt] http://www.youtube.com/watch?v=FfcIKsSXvcU[/embedyt]

Step 1: Gather the Components

Gather the Componenets
Screenshot (104).png

Things you will need before starting 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

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.

Step 3: Do the Necessary Setup

Do the Necessary Setup

Open up your laptop or desktop and do the following.

  • Open my device 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 a 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.

You can check our video for the procedure.

Step 4: It’s Done!

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. 😉

Leave a Reply

Your email address will not be published. Required fields are marked *