Advanced Arduino Robotics Project #3, Arduino Security System cum Door Bell using Piezo Sensor

This is a very useful project for securing the premises of a sensitive area. It is Arduino Security System cum Door Bell using Piezo Sensor. The list of components is given below. First make all the components available with you and then start working on the project.

Required Components

  1. Arduino UNO or Arduino Nano – 1 no.
  2. IC 7805, 3-terminal voltage regulator – 1 no. (if you are using Arduino nano)
  3. Piezo Sensor – 1 no.
  4. Buzzer – 1 no.
  5. 5V, 600Ω relay switch – 1 no.
  6. Breadboard – 1 no.
  7. 10kΩ Breadboard mountable potentiometer – 1no.
  8. RED LED – 1 no.
  9. 1k resistor – 1 no.
  10. 1000uF, 25V electrolytic capacitor – 1 no.
  11. 1N4007 diodes – 2 nos.
  12. 9-0-9V, 500mA stepdown transformer – 1 no.
  13. mains cord – 1 no.
  14. 230V, 100W bulb or 10W CFL – 1 no.
  15. Bulb or CFL holder – 1 no.
  16. Connecting wires, insulating tape, jumper wires for breadboard, etc.

Connection Diagram on Breadboard

When supply is connected assuming that there is no pressure on the Piezo electric transducer, the system remains in standby mode or silent mode. The outputs of the Arduino Nano at pin #2 and pin #8 remains LOW. Here we assume that the Piezo transducer is placed below a door-mat such that it is completely covered. Whenever a person steps on the doormat, due to his dynamic pressure the transducer will produce proportional voltage. The sensitivity of this transducer can be controlled with the help of sensitivity knob connected in shunt with the transducer. It is a 1MΩ variable resistor which acts as load to avoid accidental triggering of Arduino at pin #11.

Download the pdf copy of complete project from Researchgate.com

Arduino Security System cum Door Bell using Piezo Sensor
Detailed connections diagram showing mounted on breadboard

IMPORTANT NOTE: The 10k pot must be as shown in the following photo. This will help you insert it properly in the breadboard for connecting it with the circuit.

100k pot Vidyasagar Academy Akola
10kΩ Breadboard mountable potentiometer

Block Diagram

Arduino Security System cum Door Bell using Piezo Sensor
Block diagram showing detailed connections of different blocks

Prototype Gallery

Working Explanation Video

The Code

Upload this code in Arduino Nano to test your project. Its a lab tested code, specially written for Arduino nano. With a slight modification, you can use it for Arduino Uno also.

/* This code was developed by Vidyasagar Academy Akola,
 * www.vsa.edu.in
 * Project: Arduino Security System cum Door Bell using Piezo Sensor
 * License: You can use it for any purpose as long as you don't 
 * claim that you are its author and
 * you don't alter License terms and 
 * formulations (lines 1-9 of this file). 
 * Date of Creation: 27.08.2020
*/

short piezo=11; // piezo sensor variable 
int buzz_LED=2; // buzz_LED with LED for alarm
int relay_sw=3; // relay switch for focus light
int i; // variable for counting

void setup()
{
  pinMode(piezo,INPUT);
  pinMode(buzz_LED,OUTPUT);
  pinMode(relay_sw,OUTPUT);
}

void loop()
{
  if(digitalRead(piezo))
  {
    for(i=0;i<3;i++)
    {
    digitalWrite(buzz_LED,HIGH);
    delay(1000);
    digitalWrite(buzz_LED,LOW);
    delay(1000);
    }

    digitalWrite(relay_sw,HIGH);
    digitalWrite(buzz_LED,HIGH);
    delay(10000);
  }
  else
    digitalWrite(relay_sw,LOW);
    digitalWrite(buzz_LED,LOW);
  }

Possible Modifications for More Automation

Download the detailed instructions about modifications to use the project for different interesting automations in garage door, room lights, bathroom lights, etc.

Click here to download PDF file

More Advanced Arduino Projects

All these projects are password protected and paid projects. If you want construct these projects you will have to register and make online payment of Rs.1000/- For more details, contact us.

  1. Advanced Arduino Robotics Project #1, The project of Sanguinoscope Blood Group Typing Project
  2. Advanced Arduino Robotics Project #2, Arduino Advanced Calculator
  3. Advanced Arduino Robotics Project #3, Arduino Security System cum Door Bell using Piezo Sensor

Download Citation

TY – JOUR
AU – Vidyasagar, Dattaraj
AU – Vidyasagar, Yash
PY – 2019/11/02
T1 – Arduino based Piezo Electric Transducer Sensing Security System

Share on your network!
Dattaraj Vidyasagar
Dattaraj Vidyasagar

Author on this website. He is veteran of Core Electronics since last 36+ years. ATL Mentor of Change, Niti Ayog, Govt. of India, Google Certified Educator, International Robotics Trainer and author of 18 books on electronics, robotics, programming languages and web designing... ➤➤

2 Comments

  1. I like what you guys are up also. Such clever work and reporting! Carry on the superb works guys I have incorporated you guys to my blogroll. I think it will improve the value of my web site 🙂

  2. I have used this project for submission of a mini project for my 2nd year engineering course.
    Very easy to construct.
    You will understand it very easily.

Leave a Reply

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