SAMPLE
SAMPLE
Bachelor of Engineering
in
Electrical & Electronics Engineering
by
B T SHASHANK KEERTHANA D V
(4MC20EE007) (4MC20EE032)
MANJUNATH S S NANDINI K S
(4MC20EE038) (4MC20EE046)
2023
ABSTRACT
This project presents the development of a graphical user interface (GUI)-based home automation system
leveraging the Blynk platform. The system integrates various components, including an NodeMCU ESP8266,
DHT11 temperature sensor, 4-channel relay module, 1293D motor driver, 6V DC motor fan, light bulbs, and
their holders. The primary objective is to enable users to remotely control and monitor their home devices
through a smartphone application.
The Blynk app serves as the user interface, allowing users to control four light bulbs individually, monitor
real-time temperature using the DHT11 sensor, and regulate the speed of a 6V DC motor fan. Equipped with
appropriate libraries and connected to the NodeMCU, serves as the microcontroller managing the hardware
components. The system is powered by a 9V battery, providing a wireless and convenient solution for home
automation.
The step-by-step guide covers the installation of the Blynk app, creation of a Blynk project, design of the GUI
interface, setup of the Arduino IDE, coding of the Arduino script, and the physical connection of hardware
components. The project aims to offer a versatile and user-friendly home automation solution, demonstrating
the potential of IoT technologies and mobile applications in enhancing household convenience and energy
efficiency.
Malnad College of Engineering
(An Autonomous Institution under Visvesvaraya Technological University, Belgavi)
Hassan – 573202
Department of Electrical & Electronics Engineering
B T SHASHANK KEERTHANA D V
(4MC20EE007) (4MC20EE032)
MANJUNATH S S NANDINI K S
(4MC20EE038) (4MC20EE046)
during the year 2023. It is certified that all corrections/suggestions indicated for Internal Assessment have
been incorporated in the Project report deposited in the Department Library. The Project Report has been
approved, as it satisfies the academic requirements regarding Mini-Project Work prescribed for the
Bachelor of Engineering Degree.
External Viva
Name of the Examiners Signature with Date
1.
2.
ACKNOWLEDGEMENTS
We would like to express our gratitude to all those who contributed to the successful completion of
this GUI-Based Home Automation System project using Blynk.
First and foremost, we extend our appreciation to the developers of the Blynk platform, whose
innovative tools and resources enabled us to create a seamless and user-friendly interface for
controlling and monitoring home devices.
Our sincere thanks go to the Arduino and NodeMCU communities for their invaluable support and
the open-source nature of their platforms, allowing us to explore and implement diverse
functionalities in our project.
Special thanks to the creators of the DHT library, which facilitated the integration of the DHT11
temperature sensor, enhancing the capabilities of our home automation system.
We acknowledge the support and guidance received from online forums, technical documentation,
and tutorial resources that played a crucial role in troubleshooting challenges and refining our
understanding of the hardware and software components.
Lastly, we express our gratitude to our educational institution for providing us with the resources
and environment conducive to hands-on learning and experimentation. The collaborative effort of
peers and mentors contributed significantly to the success of this project.
This project would not have been possible without the collective efforts and contributions of the
aforementioned individuals and communities, and we sincerely appreciate their role in making this
endeavor a reality.
B T SHASHANK
KEERTHANA D V
MANJUNATH S S
NANDINI K S
CONTENTS
1. Introduction
1.1 Objectives
1.2 Scope of the Project
2. System Overview
2.1 Architecture
2.2 Components Used
5. Hardware Connections
5.1 Circuit
5.2 Block Diagram
6. Code Explanation
10. Conclusion
11. References
1. INTRODUCTION
Home automation has become an integral part of modern living, offering convenience, energy
efficiency, and enhanced control over household devices. This project introduces a GUI-Based
Home Automation System that utilizes the Blynk platform, NodeMCU ESP8266, and various
sensors and actuators to create a versatile and user-friendly smart home solution.
1.1 Objectives
Remote Control: Enable users to remotely control and monitor home devices through a
graphical user interface (GUI) provided by the Blynk mobile application.
Integration of Components: Integrate components such as a 4-channel relay for light control,
a DHT11 temperature sensor, a 1293D motor driver for a DC fan, and NodeMCU ESP8266
for seamless communication.
User-Friendly Interface: Develop an intuitive and user-friendly interface using Blynk widgets,
allowing users to easily interact with and manage their home automation system.
1.2 Scope of the Project
Lighting Control: Implement the control of multiple light bulbs using a 4-channel relay
module, allowing users to independently manage lighting in different rooms or zones.
DC Motor Fan Control: Utilize a 6V DC motor fan controlled by a 1293D motor driver,
enabling users to adjust the fan speed for personalized comfort.
Blynk Platform: Leverage the Blynk platform for its simplicity and versatility in creating a
customized mobile application interface for efficient home device management.
This introduction sets the stage for a comprehensive exploration of the design, implementation,
and functionality of the GUI-based home Automation System using Blynk and the specified
hardware components.
1. SYSTEM OVERVIEW
2.1 Architecture
The home automation system is designed with a modular and scalable architecture to provide
efficient control and monitoring of household devices. At its core is the NodeMCU
ESP8266, a versatile and WiFi-enabled microcontroller that serves as the central processing
unit. The architecture leverages the Blynk platform for seamless communication between the
NodeMCU and the user's mobile device.
The system incorporates a set of essential components, including a 4-channel relay for
controlling light bulbs, a DHT11 temperature sensor for environmental monitoring, an
L293D motor driver to regulate the speed of a 6V DC motor fan, and the Blynk app for
intuitive user interface and remote access.
2. BLYNK PLATFORM SETUP
1. Download Blynk App:
• Install the Blynk app on your smartphone. It is available for both iOS and
Android.
Arduino IDE configuration is a crucial step in setting up the software side of your home
automation system. Follow these steps to ensure the correct setup for your NodeMCU
ESP8266:
With these configurations, your Arduino code is ready to interface with the Blynk
platform and control the home automation system. Make sure to customize the code according
to your specific hardware connections and requirements.
4. HARDWARE CONNECTIONS