soicalwork12
Published

Thief Security Project

In this project we will see project. which help the caught the thief. When Motion is detected then PIR send signal 1 to Arduino and Our Buzzer

BeginnerFull instructions provided922
Thief Security Project

Things used in this project

Hardware components

PIR Motion Sensor (generic)
PIR Motion Sensor (generic)
×1
Arduino UNO
Arduino UNO
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×20
Relay Module (Generic)
×1
Buzzer
Buzzer
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Circuit

Easy to make

Code

Code

Arduino
Code is also very easy
int pirSensor = 8;
int buzzer = 7;
void setup() {
  pinMode(pirSensor, INPUT);
  pinMode(buzzer, OUTPUT);  
}
void loop() {
  int sensorValue = digitalRead(pirSensor);
  if (sensorValue == 1) {
    digitalWrite(buzzer, HIGH); 
  }
 else if (sensorValue ==0 ) {
    digitalWrite(buzzer, LOW); 
  }
}

Credits

soicalwork12
0 projects • 2 followers
Contact

Comments

Please log in or sign up to comment.