https://github.com/sai-srivardhan-reddy-lingala/-motion-detector-system
Motion Detector System using Arduino
https://github.com/sai-srivardhan-reddy-lingala/-motion-detector-system
Last synced: 29 days ago
JSON representation
Motion Detector System using Arduino
- Host: GitHub
- URL: https://github.com/sai-srivardhan-reddy-lingala/-motion-detector-system
- Owner: SAI-SRIVARDHAN-REDDY-LINGALA
- Created: 2025-03-26T05:16:23.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-03-26T05:18:04.000Z (about 1 month ago)
- Last Synced: 2025-03-26T06:24:04.879Z (about 1 month ago)
- Language: C++
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎯 Motion Detector System using Arduino UNO 🚀
## 🔹 Introduction
A motion detector system is designed to detect movement using a **PIR (Passive Infrared) sensor**. This project utilizes an **HC-SR501 PIR Motion Sensor** interfaced with an **Arduino UNO** to trigger an LED 💡 and a buzzer 🔊 when motion is detected. Additionally, an **LCD display with I2C 📟** is used to display the detection status in real-time.## 🔧 Components Required
- 🏷 **PIR Motion Sensor (HC-SR501)**
- 🖥 **Arduino UNO**
- 📟 **16x2 LCD Display with I2C Module**
- 💡 **LEDs**
- 🔩 **220Ω Resistor**
- 🔩 **100Ω Resistor**
- 🔊 **Buzzer**
- 🔌 **Jumper Wires**
- 🔳 **Breadboard**## ⚙️ Working Principle
The **HC-SR501 PIR sensor** detects infrared radiation changes caused by movement. When a person moves within its sensing range, it outputs a **HIGH** signal to the Arduino, which then:1️⃣ **Turns on** the LED 💡
2️⃣ **Activates** the buzzer 🔊
3️⃣ **Displays "Motion Detected!"** on the LCD screen 📟If no motion is detected, it **turns off** the LED 💡, **deactivates** the buzzer 🔊, and updates the LCD accordingly.
## 🔌 Circuit Connections
### 📟 LCD Display Connection (I2C)
| LCD Pin | Arduino Pin |
|---------|------------|
| 🟢 SDA | A4 |
| 🔵 SCL | A5 |
| 🔴 VCC | 5V |
| ⚫ GND | GND |### 🔍 PIR Motion Sensor (HC-SR501) Connection
| PIR Pin | Arduino Pin |
|---------|------------|
| 📤 OUT | Digital 2 |
| 🔴 VCC | 5V |
| ⚫ GND | GND |### 💡 LED Connection
| LED Terminal | Arduino Pin |
|-------------|------------|
| ⚫ Cathode (-) | GND |
| 🔴 Anode (+) | Digital 8 (through a 220Ω resistor) |### 🔊 Buzzer Connection
| Buzzer Terminal | Arduino Pin |
|----------------|------------|
| 🔴 Positive (+) | Digital 7 |
| ⚫ Negative (-) | GND |## 📌 Explanation of the System
✅ **Sensor Detection**: The PIR sensor detects motion and sends a signal to the Arduino.
✅ **LED & Buzzer Activation**: If motion is detected, the LED 💡 and buzzer 🔊 are turned on.
✅ **LCD Status Update**: The LCD 📟 displays real-time motion detection status.
✅ **System Stability**: A small delay ensures smooth operation.## 🏁 Conclusion
This project successfully detects motion using the **HC-SR501 PIR sensor** and provides both visual (LED 💡, LCD 📟) and audio (buzzer 🔊) alerts. The integration with an **LCD display** ensures real-time status monitoring, making it useful for security applications 🔐.## 🌟 Future Enhancements
🚀 Adding a **relay module** to control external lights or alarms.
📡 Implementing **wireless notification** using an **ESP8266 Wi-Fi module**.
📸 Using a **camera module** to capture images when motion is detected.This project is a **fun & effective** way to learn about motion detection systems using Arduino! 🎉🤖