Security Alarm easy project for kids
Overview
This project is for the Security of any valuable object. Using this setup, we can see whether there is any movement in the room or not. If there is any type of life present in the room, the buzzer will automatically give a tone.
In this security alarm, a sensor is used to track the movement of human beings, and a buzzer is used as an alarm to indicate that there is present in the room.
Hardware requiredÂ
- Arduino Uno R3
- Resistor
- Jumper Wires
- PIR Sensor
- Breadboard
- Buzzer
Schematic Diagram

Fig 1. Circuit Diagram
Arduino Code :
int pinBuzzer = 3;
int pinSensorPIR = 2;
int valorSensorPIR = 0;
void setup(){
pinMode(pinBuzzer,OUTPUT);
pinMode(pinSensorPIR,INPUT);
}
void loop() {
valorSensorPIR = digitalRead(pinSensorPIR);
if (valorSensorPIR == 1){
Alarm_on();
} else {
Alarm_off();
}
}
void Alarm_on(){
tone(pinBuzzer,1500);
delay(2000);
Alarm_off();
}
void Alarm_off() {
noTone(pinBuzzer);
}
Precautions
- Connections should be done properly.
- Arduino is case Sensitive, so code accordingly.
- Give different and appropriate colours to the wires.
- Use resistors for sensors and LCDs.
Conclusion
This project demonstrates how simple components like an Arduino Uno, a PIR sensor, and a buzzer can be combined to build an effective security alarm system.
Such hands-on projects not only strengthen understanding of electronics and coding but also spark creativity in problem-solving. At MakersMuse, we believe that learning through making is the best way to inspire future innovators.
Just like building this security alarm, platforms such as Scratch for Teens introduce young learners to programming concepts in a fun, interactive way. Together, these tools pave the way for mastering both hardware and software in an engaging, practical manner.