Key to PDF
Key to PDF
Submitted by
1.SANSKRUTI NILE
ACKNOWLEDGEMENT
This project aims to design and implement a Home Automation System using Arduino to
allow users to control their lights and fans remotely through a smartphone. The system will
be simple yet efficient, focusing on enabling users to turn on and off lights and fans from
anywhere, as long as they have access to a mobile phone and an internet connection.
REQUIREMENTS
HARDWARE REQUIREMENTS
1.ESP32 DEVKIT V1
Microcontroller with built-in Wi-Fi used to control appliances and connect to Arduino IoT Cloud
3.DHT11 Sensor
Temperature and humidity sensor for environmental monitoring
5.Jumper Wires
For connecting components on the breadboard
3.Arduino Libraries
Includes libraries like WiFi.h, DHT.h, and thingProperties.h
4.Web/Mobile Browser
Used to access the IoT dashboard (Arduino Cloud Dashboard)
CIRCUIT DIAGRAM
●
WORKING
1. Power Supply
The ESP32 is powered via USB or an external 5V supply. It also powers the relay module and sensors. The ESP32 board has built-in Wi-Fi which is
essential for cloud connectivity.
Each appliance (like a bulb or fan) is connected to one channel of the 4-channel relay module. The latched switches are connected to GPIO pins on the
ESP32. When any switch is pressed:
• It toggles the corresponding relay ON or OFF based on the state of the switch.
The ESP32 is connected to Wi-Fi and linked with the Arduino IoT Cloud Dashboard. Each relay is mapped to a Boolean variable (ON/OFF switch) on
the cloud.
• When the user toggles a switch from the dashboard (on phone or PC), the corresponding variable changes.
• The ESP32 detects this variable change and activates or deactivates the respective relay.
4. Environmental Monitoring
The DHT11 sensor is connected to one of the digital pins on the ESP32.
5. Relay Working
Each relay acts like a switch that isolates the low-voltage control circuit (ESP32) from the high-voltage AC appliance.
• When the ESP32 sends a HIGH signal to the relay pin, the relay gets deactivated.
• When the signal goes LOW, the relay turns oN the appliance.
If an appliance is turned ON manually using a switch, it re ects immediately in the ESP32’s logic. Similarly, if turned ON via cloud, the
ESP32 handles the state and updates the relay, keeping both control methods synchronized.
fl
OUTPUT
•
CONCLUSION
The development of a home control automation system using Arduino highlights a
significant step toward integrating smart technology into everyday life in a cost-effective
and practical way. By addressing common issues such as manual operation, energy
inefficiency, and the inaccessibility of expensive commercial systems, this project
demonstrates the power of affordable innovation. This solution not only enhances
convenience and reduces power consumption but also lays a strong foundation for
future innovations.
FUTURE SCOPE
The future scope of home control automation using Arduino is vast, with numerous
opportunities for expansion and innovation. As technology advances, integrating
the system with IoT (Internet of Things) platforms can enable real-time monitoring
and control of devices from anywhere in the world. Adding AI (Artificial
Intelligence) and machine learning capabilities could allow the system to learn
user habits and preferences, enabling predictive automation for enhanced
convenience and energy savings. Additionally, expanding the system to include
advanced sensors, such as air quality or water leakage detectors, can enhance
safety and environmental monitoring.