Skip to content

About

IoT-based Smart Home Security Alarm System built using Arduino. Detects intruders and triggers a buzzer alert on unauthorized entry. Integrated fire and smoke sensors provide real-time hazard detection to enhance home safety and enable quick emergency response.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🏠 Smart Home Security Alarm System

🚀 IoT-based Home Security System using Arduino with motion and fire detection.


📌 Overview

Developed an IoT-based smart home security system using Arduino to detect intrusions and environmental hazards such as fire and smoke. The system generates real-time alerts via buzzer and LED, helping improve safety and enabling quick emergency response.


✨ Key Features

  • Real-time motion detection using PIR sensor
  • Fire and smoke detection using flame/MQ-2 sensor
  • Instant alert using buzzer and LED
  • Automatic monitoring without human intervention
  • Low-cost and energy-efficient system

⚙️ Technologies Used

  • Arduino Uno
  • C/C++ (Arduino IDE)
  • PIR Sensor
  • Flame Sensor / MQ-2 Gas Sensor
  • Buzzer & LED
  • Embedded Systems

🚀 Working Principle

The system continuously monitors the environment using PIR and flame sensors.

  • PIR sensor detects human motion
  • Flame sensor detects fire/smoke
  • If any abnormal condition is detected:
    • Arduino sends signal to buzzer (sound alert)
    • LED turns ON (visual alert)

This ensures real-time detection and quick response to potential threats.


💻 Code

The Arduino code reads sensor inputs and triggers alerts when motion or fire is detected.

📁 Code available in: code/security_system.ino


🔌 Pin Configuration

Component Arduino Pin
PIR Sensor 2
Flame Sensor 3
Buzzer 8
LED 9

🧠 System Architecture

Sensors (PIR + Flame) → Arduino → Output (Buzzer + LED)

  • Sensors detect environment
  • Arduino processes signals
  • Output devices trigger alert

▶️ How to Run

  1. Connect all components as per circuit diagram
  2. Upload the code using Arduino IDE
  3. Power the Arduino board
  4. System will start monitoring automatically

📸 Project Images

🔹 Prototype Model (External View)

Model

🔹 Internal Circuit Setup (Working Prototype)

Circuit


📄 Documentation

Detailed project report available here:
👉 Project Report


🎯 Learning Outcomes

  • Hands-on experience with Arduino and sensors
  • Understanding of embedded systems and IoT basics
  • Implementation of real-time alert systems
  • Practical exposure to hardware-software integration

🔗 Future Improvements

  • Integration with mobile application for remote monitoring
  • GSM/Wi-Fi module for real-time notifications
  • Camera integration for surveillance
  • Cloud storage for event history
  • AI-based threat detection system

👨‍💻 Author

Samarth Srivastava

About

IoT-based Smart Home Security Alarm System built using Arduino. Detects intruders and triggers a buzzer alert on unauthorized entry. Integrated fire and smoke sensors provide real-time hazard detection to enhance home safety and enable quick emergency response.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages