PIR based theft alert system
Introduction
In this project, we will build a PIR-based Theft Detection System using an Arduino Uno.
This system detects unauthorized human movement and activates:
-
A buzzer (audio alert)
-
An LED (visual alert)
It is a simple and practical security system project for school exhibitions and beginners.
You can simulate this project in Tinkercad.
Working of PIR Sensor
A PIR (Passive Infrared) Sensor detects infrared radiation emitted by warm objects like humans and animals.
How It Works:
-
The PIR sensor contains two IR-sensitive slots.
-
When no motion is present, both slots detect equal IR radiation.
-
When a human passes by:
-
One slot detects more IR than the other.
-
This creates a differential signal.
-
The sensor outputs a HIGH pulse.
-
-
When motion stops, the signal returns LOW.
The Arduino reads this HIGH signal and triggers an alarm.
Components Required
-
Arduino UNO
-
PIR Motion Sensor
-
Buzzer
-
LED
-
220Ω Resistor
-
Breadboard
-
Jumper wires
Circuit Connections
PIR Sensor:
-
VCC → 5V
-
GND → GND
-
OUT → Digital Pin 2
LED:
-
Anode (+) → Digital Pin 8 (through 220Ω resistor)
-
Cathode (–) → GND
Buzzer:
-
Positive → Digital Pin 9
-
Negative → GND
Arduino Code
int pirPin = 2;int ledPin = 8;int buzzerPin = 9;void setup() {pinMode(pirPin, INPUT);pinMode(ledPin, OUTPUT);pinMode(buzzerPin, OUTPUT);}void loop() {int motion = digitalRead(pirPin);if(motion == HIGH){digitalWrite(ledPin, HIGH);digitalWrite(buzzerPin, HIGH);}else{digitalWrite(ledPin, LOW);digitalWrite(buzzerPin, LOW);}}
How the System Works
-
PIR sensor continuously monitors infrared radiation.
-
When motion is detected:
-
PIR sends HIGH signal to Arduino.
-
Arduino turns ON LED.
-
Arduino activates buzzer.
-
-
When no motion is detected:
-
LED and buzzer remain OFF.
-
Learning Outcomes
Students will learn:
-
Motion detection using PIR sensor
-
Digital input and output control
-
Basic security system design
-
Real-world embedded system applications
Real-World Applications
-
Home security system
-
Office intrusion detection
-
Restricted area monitoring
-
Smart IoT security projects
-
Automatic light activation systems
Troubleshooting Tips
-
Wait 30–60 seconds after powering PIR (calibration time).
-
Adjust sensitivity using onboard potentiometer.
-
Ensure correct wiring of OUT pin.
Circuit diagram:
This project simulates a theft detection and alert system using a PIR motion sensor connected to an Arduino UNO. The system detects unauthorized movement using the PIR sensor. When motion is detected (such as a person entering a restricted area), the Arduino triggers a buzzer and LED to alert the user, simulating a real-world theft alert scenario.The PIR sensor constantly monitors for infrared radiation (body heat).When it detects motion (a person moving), it sends a HIGH signal to the Arduino.The Arduino then turns ON the buzzer for an audible alarm and turns ON the LED for a visual alert.If no motion is detected, both the buzzer and LED remain OFF.
Code:
Try this in Tinker cad :
PIR based theft alert system using tinker cad
BEGINNER PROJECTS (Foundation Skills)
- Ultrasonic Distance Measurement
- Traffic Light Simulation with 7-Segment Display
- 7-Segment Display Counter
- Kids Piano Circuit (8-Key Version)
- 16×2 LCD Display with Text Output
- LCD I2C to Arduino UNO
- Temperature Measurement using Arduino UNO
- LDR Controlled Street Light
INTERMEDIATE PROJECTS (Build Your Skills)
- Servo Motor Control Using Potentiometer
- DC Motor Speed Control
- Temperature Controlled Fan
- PIR Based Theft Alert System
- LPG Gas Leakage Detection System
- Automatic Door Locking System
- Soil Moisture Based Automatic Watering System
- Simple Digital Clock using Arduino UNO
- Automatic Voting Machine (EVM)
- Joystick Control using Arduino Uno
- RGB Lamp Control using Arduino Uno
ADVANCED PROJECTS (Master Level)
- Home Automation Using Arduino UNO
- Bluetooth RC Car using Arduino Uno
- Obstacle Avoiding Robot
- Line Follower Robot
- Radar System Using Arduino UNO
- Automatic Parking System
- Bi-Directional People Counter using Arduino Uno
- Automatic Plant Watering System
- NeoPixel LED Ring Control using Arduino Uno
- Smart Gloves for Bedridden People

Comments
Post a Comment