user-img

Dharani Creations

+ Follow

Arduino‑based Smart Home Automation System

This project uses an Arduino Uno to integrate smoke, flame, light (LDR), rain sensors, an LCD display, and a buzzer to monitor environmental conditions. Alerts are triggered via the buzzer and real‑time statuses are displayed on the screen.

Arduino‑based Smart Home Automation System
 
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
 

Hardware Components

  • Arduino UNO

    X 1 fenxiang
  • Crowtail- Gas Sensor(MQ3) 2.0

    X 1
  • IR Flame Detector module

    X 1
  • LDR

    X 1 fenxiang
  • 16×2 LCD Display Green Backlight

    X 1 fenxiang
  • Buzzer

    X 1
  • Jumper Wires

    X 1
  • Breadboard

    X 1
  • Power Supply SMPS 5V 12V 24V AC-DC 220V TO 12V 24V 5V 1A 1.5A 2A

    X 1 fenxiang

Tools, APP Software Used etc.

  • Arduino IDE

    Arduino IDE

    Arduino
  • Fritzing

Story

 

 

Project Title:

Smart Environmental Monitoring & Alert System Using Arduino


Detailed Project Description

Objective:

The goal of this project is to design and build a smart monitoring system using an Arduino Uno that can detect smoke, fire, ambient light, and rainfall, while displaying real-time status on an LCD and triggering a buzzer for immediate alerts. This system enhances safety and environmental awareness for homes, greenhouses, or remote installations.


Components Used:

Component Description
Arduino Uno The main microcontroller to process sensor data.
MQ-2 Gas Sensor Detects smoke, LPG, methane, and other gases.
Flame Sensor Detects presence of a flame using infrared light.
LDR (Photoresistor) Measures ambient light intensity.
Rain Sensor Module Detects presence and amount of rainfall.
16x2 LCD Display Displays real-time sensor status and messages.
Buzzer Sounds alerts when danger is detected.
Jumper wires & breadboard For connecting and testing components.
Power source USB or 9V/5V power supply for Arduino.

⚙️ System Working Principle:

 1. Smoke Detection (MQ-2 Sensor):

  • Continuously measures air quality for combustible gases and smoke.

  • When concentration exceeds a set threshold, the system:

    • Displays “Smoke Detected” on the LCD.

    • Triggers the buzzer.

 2. Flame Detection:

  • Detects IR radiation emitted by flames.

  • If a flame is detected:

    • The LCD shows “Flame Detected”.

    • The buzzer is activated as a warning.

 3. Rain Detection:

  • The rain sensor becomes conductive when wet.

  • On detecting rain:

    • Displays “Rain Detected” on the LCD.

    • Can be used to trigger a roof cover system or disable irrigation.

4. Light Detection (LDR):

  • Measures ambient light levels.

  • Displays light conditions such as “Bright”, “Dim”, or “Dark” based on calibrated analog readings.

5. Output Interface (LCD & Buzzer):

  • LCD (16x2): Continuously displays the status of all sensors.

  • Buzzer: Beeps when danger (flame or smoke) is detected.


Workflow Logic:

  1. Initialize all sensors and LCD in the Arduino setup() function.

  2. In the loop():

    • Read analog/digital values from all sensors.

    • Compare values with predefined thresholds.

    • Update LCD display based on sensor conditions.

    • Trigger buzzer if smoke or flame is detected.

    • Delay for readability and repeat the process.


Applications:

  • Fire & Smoke Alarm System

  • Automatic Weather Sensing for Smart Homes

  • Smart Irrigation Control (disable when raining)

  • General Home Safety & Monitoring

  • Outdoor Weather Stations or Greenhouse Automation


Advantages:

  • Low cost, open-source, and customizable.

  • Real-time visual and auditory alerts.

  • Modular – more sensors (like temperature, humidity) can be added.

  • Ideal for home safety, early fire detection, and environmental monitoring.


Limitations:

  • Rain sensor may be sensitive to humidity and needs waterproofing.

  • Flame sensor only detects open flames, not high temperature.

  • Calibration of MQ-2 may require real gas sources and proper tuning.


Future Enhancements:

  • Add Wi-Fi (ESP8266) or Bluetooth for wireless alerts.

  • Interface with IoT platforms (like Blynk, Thingspeak).

  • Include DHT11/DHT22 for temperature and humidity.

  • Integrate servo motors for automated window/roof control.

  • Add battery backup or solar power for remote use.


Conclusion:

This Arduino-based project offers a compact, efficient, and beginner-friendly implementation of a multi-sensor environmental safety system. It serves as a great starting point for students, hobbyists, and engineers interested in home automation, fire detection, and real-time monitoring.

Code
  • CODE

    SMART_HOME_AUTOMATION_1863699606889c156f3422.zip
    Download(0)
Schematic and Layout
  • GITHUB

    https://github.com/DharaniCreations/Arduino-based-Smart-Home-Automation-System.git
    View

Arduino‑based Smart Home Automation System

This project uses an Arduino Uno to integrate smoke, flame, light (LDR), rain sensors, an LCD display, and a buzzer to monitor environmental conditions. Alerts are triggered via the buzzer and real‑time statuses are displayed on the screen.

65
 
4
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 4 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Country: Shipping Way:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
Certified Product | Supported Purchase: Full After-sales Protection