An open API service indexing awesome lists of open source software.

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

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! 🎉🤖