IoT-Based Intruder Detection System

Written by Yeshwant Naik | Jan 14, 2020 12:09:01 PM

A fully UI-controlled IoT-based system that will notify via mail in case you have an intruder in your home

Story

Burglar at home!

What if you are out of the home and some burglar steals valuables stored in your vault?

Ohh! You have CCTV cameras installed..but what's the use of the footage if the burglar has already escaped the city.

What if you are notified and alarms start buzzing right at the moment burglar puts his hands onto your stuff?? Sounds great right??

 

Things used in this project

Hardware components

  • Buzzer
  • LEDS
  • Resistor 330 ohm
  • Jumper wires
  • Breadboard
  • Proximity Sensor

Software apps and online services

 

Hardware setup

1. Proximity Sensor

Connect Vcc, Vgnd and Vout of the sensor to 5v, GND and A0 of Bolt respectively. After this connection your sensor is ready to i/p analog readings to A0 pin of Bolt

Checking the sensor's changing values:

Go to python cli and install out library if not done already using below command.

pip install boltiot

 

Replace your API_KEY and device_id in the below code. This small code will display the sensors values. You can calibrate the sensor based on your settings and set threshold for motion detection.


from boltiot import Bolt
mybolt = Bolt(api_key, device_id)
mybolt.analogRead('A0')