Hello, guys in this post I will tell you how you can make Security Alarm System using a vibration sensor. if you think to make a vibration-based security alarm system, read this post till the end very carefully.
this project you can use in CAR, Bike, Home Door, and other places where you need. this is a very low-cost and high-impact alarm system. Even you can modify this project according to your need. Because in this post I will give you everything to make this project possible. just scroll down and know everything.
Here on this site, you will get all the electronics to relate information, new electronics project-making ideas, and electronics gadgets repairing techniques.
Materials to make Security Alarm System
Table of Contents
SL No | Components | Buying link |
---|---|---|
1 | Attiny85 | BUY |
2 | Vibration Sensor | BUY |
3 | Micro USB Shocket | BUY |
4 | Buzzer | BUY |
5 | 5mm LED | BUY |
6 | Vero Board | BUY |
Security Alarm System Circuit Diagram
Security Alarm System CODE Download
// ATMEL ATTINY25/45/85 / ARDUINO
//
// +-\/-+
// Ain0 (D 5) PB5 1| |8 Vcc
// Ain3 (D 3) PB3 2| |7 PB2 (D 2) Ain1
// Ain2 (D 4) PB4 3| |6 PB1 (D 1) pwm1
// GND 4| |5 PB0 (D 0) pwm0
//
int Buzz = 3;
int vs =2; // vibration sensor
int i=0;
void setup(){
pinMode(Buzz, OUTPUT);
pinMode(vs, INPUT);
}
void loop(){
int vib = digitalRead(vs);
if(vib == HIGH)
{
for(i=0;i<10;i++)
{
digitalWrite(Buzz, HIGH);
delay(500);
digitalWrite(Buzz, LOW);
delay(100);
}
}
else{
digitalWrite(Buzz, LOW);
}
}
Watch Video on making Security Alarm System
Others New Electronics Project making Ideas
- LCD LED Repairing guide Ebook
- WS2812B Pixel LED Controller Code and Circuit
- How to make ATtiny Shield
- How to Upload Code on Any Attiny IC
- What is Bootloader in Electronics
- Best Android TV Box in India
- LCD LED Repairing Practical Video
FAQ of Vibration-Based Security Alarm System
Vibration sensor alarm circuit diagram
This post is about the Vibration sensor alarm circuit diagram. Here you will get all the information and components list with buying links to make your project at your home.
Earthquake alarm project circuit diagram
This project you can also use for Earthquake alarm project. To make you earthquake alarm security system at your home, read this post till the end very carefully.
Vibration Sensor Alarm for car
This is the best project for the Vibration Sensor Alarm for cars. I have explained everything about this project to save your car from thieves.