DIY Intrusion Detection System

About This Project

This project will show you how to make a DIY Intrusion Detection System.

Project Info


Worried about the safety of your valuables? Scared of letting them out of your sight? We feel you! Losing your Smartphone, or your wallet, or keys, or anything important can scare the living daylights out of anyone and turn even the merriest of days into a nightmare that nobody wants to have; like never EVER.

But not any more fellas! Here’s a simple and easy-to-make protection system that won’t blow a hole in your pocket – the DIY Intrusion Detection System. With an ultrasonic sensor that detects everytime someone’s hands get itchy and sounds the buzzer to alert you, you can sit back and relax and take care of your valuables DIY way. B-)

Beginning making the intrusion detection system in 3,2,1… now!

Components Required

ImageComponentQuantityAvailable in Kit
Ultrasonic Sensor1
Ice Cream StickFew
Glue Gun and Glue Sticks1
  • None
Male to Female Jumper Cable 10cmFew
  • None

Building Guide

Step 1: Making

This project shows one of the cases where the intrusion detection can be put to use. You can use the same system to many areas where you actually need to protect your belongings from getting taken away,

We have created a small restricted area which will be protecting our Smartphone.

  • Let’s get started by creating the area. We will be using Ice Cream Sticks for the same purpose. We will be making it in pieces, i.e. we will make the walls separately and then joining them.
  • Make the walls as shown using the sticks and fix them using Hot Glue.Wall
  • Once you have all the four ready it’s time to complete the assembly as shown in the following figure. Use Hot Glue to join them.Connecting the Walls Combining Walls 1
  • Once you have made the restricted area it’s to make the actual system that senses the intrusion and aware the owner.
  • For this purpose, the device that comes in our head first is the Ultrasonic System.
  • To one out of the four sides, we are going to attach the Ultrasonic Sensor as shown in the figure. Add Ultrasonic Sensor
  • Once you have fixed it, it is time to make the owner aware of the intrusion.
  • How are we going to do that?
  • We will fix LEDs on all the four walls or on all the Ice Cream Sticks, using Hot Glue.Fix LEDs
  • The LEDs will be connected in a parallel connection.
  • Connect all the Anodes ( Positive leg) of the Anode together using a Copper Wire.
  • Similarly, connect all the cathode terminals of the LEDs, to one channel.
  • You can also add a base of paper or foam.Add base
  • Thus, your assembly is completed all you need to do is complete its connection with evive and upload the code.Complete Assemly1 Complete Assemly

Step 2: Working

The specialty of the Ultrasonic Sensor is to detect the objects within a given range. Thus, as soon as any human enters the restricted object, the sensor will detect this and send the signal to evive.
As soon as the signal triggers, all the LEDs on the walls lit up together. Not only the LEDs, but we also have set up buzzer that will start buzzing as soon as the sensor detects the intrusion. Thus, both LEDs and buzzer will be able to make the owner aware of the intrusion.

Step 3: Circuitry

Connect the LEDs and Ultrasonic Sensor as shown in the figure below:Fritzing Diagram

Step 4: Code

Upload the following Arduino Code to detect the Intrusion:

Step 5: Conclusion

With this, the DIY intrusion detection system is all set to guard your valuables and keep the thieves at bay!

Circuit Diagram

DescriptionCircuit Diagram

Connect LEDs and Ultrasonic as shown in the figure.


DescriptionDownload Code
Arduino CodeDownload
evive LibraryDownload
Share this Project
Share on facebook
Share on twitter
Share on pinterest
Share on reddit
Share on print
Featured Projects