Skip to content

soham-88/Smart-Home-Automation-ESP32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏠 Smart Home Automation using ESP32

πŸ“– Project Overview

This project is a Smart Home Automation system developed using ESP32. It integrates multiple automation features including automatic door control, gas leakage detection, and automatic water tank management.

The system improves safety, convenience, and efficient water usage.


βš™οΈ Features

πŸš— 1. Automatic Door System

  • Uses Ultrasonic Sensor to detect object/person
  • If distance ≀ 10cm β†’ Door opens
  • If distance > 15cm β†’ Door closes
  • Controlled using Servo Motor

πŸ”₯ 2. Gas Leakage Detection

  • Uses MQ-2 Gas Sensor
  • If gas level exceeds threshold (800):
    • Buzzer turns ON
  • If safe:
    • Buzzer turns OFF

πŸ’§ 3. Automatic Water Tank Control

  • Uses Water Level Sensor
  • If tank FULL:
    • Pump turns OFF
  • If tank NOT full:
    • Pump turns ON
  • Controlled using Relay Module

πŸ›  Hardware Components

  • ESP32
  • Ultrasonic Sensor (HC-SR04)
  • Servo Motor
  • MQ-2 Gas Sensor
  • Water Level Sensor
  • Relay Module
  • Buzzer
  • Connecting Wires

🧠 Working Logic

The ESP32 continuously monitors:

  • Distance from Ultrasonic sensor
  • Gas levels from MQ-2 sensor
  • Water level status

Based on sensor readings, it automatically controls:

  • Servo Motor (Door)
  • Buzzer (Gas Alert)
  • Water Pump (Relay)

πŸ’» Programming

  • Language: Embedded C (Arduino IDE)
  • Library Used: ESP32Servo.h

πŸ“· Project Images

(Add your circuit diagram and project images here)


πŸ“š Learning Outcomes

  • ESP32 Programming
  • Sensor Integration
  • Embedded Systems Logic
  • Real-time Monitoring
  • Hardware & Software Integration

πŸš€ Future Improvements

  • Mobile App Control
  • IoT Cloud Monitoring
  • SMS/Notification Alerts

About

A Smart Home Automation system using ESP32 that includes automatic door control, gas leakage detection, and water tank level management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages