Professional Documents
Culture Documents
Submitted By
Batch: 8th
Session-Fall-2018
Year of Examintation-2022
Lecturer In EEE
PUB
September,2022
Department of Electrical & Electronic Engineering, Pundra University of Science &
Technology, Bogura 5800, Bangladesh
Dedicated to
i
DECLARATION
I declare that the dissertation titles “Smart Home Automation, Monitoring & Controlling
System” hereby submitted to the department of Electrical & Electronic Engineering, Pundra
University of Science & Technology, for the degree of Bachelor of Science in Engineering, has
not been submitted by me for a degree at any other University. This dissertation is a
presentation of my thesis work. Wherever contributions of others are involved, every effort is
made to indicate this clearly, with due reference to the literature, and acknowledgment of
collaborative research and discussions.
I give consent to this copy of my report paper, when deposited in the University Library, being
made available for loan and photocopying for the purpose of scholarly research. I also give
permission for the digital version of my thesis report to be made available on the web, via the
Department/University’s digital research repository, the Library Search and also through web
search engines, unless permission has been granted by the University to restrict access for a
period of time. The work was done under the guidance of Md. Shamim Hossain, Lecturer in
EEE, Department of EEE, Pundra University of Science & Technology, Bangladesh.
ii
CERTIFICATION
This is to certify that project paper on “Smart Home Automation, Monitoring & Controlling
System is the bona find record of project work done by Md. Jainuddin Pramanik for partial
fulfillment of the requirements of the degree of Bsc. in Electrical & Electronic Engineering
from Pundra University of Science & Technology.
This project paper has been carried out under my guidance and is a record of the successful
work. I wish his success in future.
Faculty Guide
iii
ABSTRACT
Home automation system is becoming popular day by day all-over the world because of making
life smoother and minimizing the work load. Considering the system’s contribution toward
making daily life easier and strengthening home safety and security, the necessity of
development and modernization of the system is apparent. Home automation refers to the
automatic and electronic control of household appliances, features and activities. The most
important device of present age is mobile phone. At present Android mobile is very common
and very important part of our life. Using this device in controlling and surveillance work
makes our life easy and comfortable. So, this project is done in such a way we can have the
control of our home through a single device. The system is composed of hardware,
communication and electronic interfaces that work to integrate electrical devices with one
another. The project will come in handy for the disabled and elderly people. This thesis is aimed
to modernize and develop a voice-controlled home automation system which allows to control
all electronic devices in an apartment by voice command, provides safety by detecting fire,
detects suspicious movement and also helps the owner with personal assistance. Moreover, it
provides security by automatic door controlled by fingerprint sensor. Performing all these tasks
with a single Android device makes everything faster. It allows a person to control appliances
from a remote location over the internet. The user can easily verify and close machines left on
in one’s absence which will help to save energy. In this project we have combined home
assistance and security system with the help of a microcontroller. So, this project serves as a
basic structure of the AI (Artificial Intelligence) system. The programming is done in windows
operating system. Sensors and serial communicating devices are incorporated and
synchronized with the personal computer.
iv
ACKNOWLEDGEMENTS
First of all, I would like to thank to the almighty Allah for giving me strength, patience and
ability to complete this project.
Then I would like to express the deepest sense of gratitude from the core of my heart to my
supervisor Md. Shamim Hossain, who gives me the opportunity to make this project under his
supervisor. I am very much thankful for his valuable and scholastic guidance, constant
encouragement and invaluable discussion throughout the research work.
I want to thank my parents, my grandfather, grandmother and all my friends and well-wishers
for their support during times of stress in project.
The Author
September,2022
v
Table of Contents
Dedication (i)
Declaration (ii)
Certification (iii)
Abstract (iv)
Acknowledgement (v)
1.2 Motivation 2
1.4 Objective 3
1.7 Application 4
2.1 Introduction 5
2.2 Equipment’s 5
vi
Table of Contents
2.2.4 DC Colling Fan 9
2.2.6 Wires 10
2.2.7 Adapter 11
4.1 Introduction 14
4.2 Circuit Diagram 14
4.3 Working Principle 14
CHAPTER 5 – Conclusion
5.1 Conclusion 15
CHAPTER 6 – Reference
Reference 16
vii
List of Figure
Figure# Figure Caption Page#
1.1 Block Diagram of Smart Home Automation 4
2.1 Node MCU 6
2.2 NodeMCU Pinout and Functions 6
2.3 Two Channel Relay 8
2.4 Lamp Holder 9
2.5 Dc Colling Fan 9
2.6 Push Button Switch 10
2.7 Wires 10
2.8 Adapter 11
2.9 Two Pin Plug 11
2.10 Blynk App 12
2.11 Ac Blub 12
3.1 Screenshot of “Arduino ide” 13
3.2 Proteus 8.0 for Circuit simulation 13
4.1 Smart Home automation circuit diagram 14
viii
CHAPTER 1
General Introduction
Chapter 1
1.1 Introduction
The 21st century is the era of smart technology. It was said that modern life is unimaginable
without electricity but it this saying has changed. Now we say daily life is unimaginable without
internet. Modern technology has advanced to another level of automatic and smart systems.
There is no need to introduce the advancement of technology in modern times. As we know,
the advancement has gone a long way and almost has reached to its peak of modernization.
Today innovation has turned into a coordinated piece of individuals' lives. It has and keeps on
affecting numerous parts of day-by-day life and has permitted better social association,
simplicity of transportation, the capacity to enjoy excitement and media and has helped in the
advancement in pharmaceutical. One of the most important devices of modern times is
Smartphone. Another important element of modern age is the internet. The key to step into the
world of automatic control system is the combination of Smartphone and the internet.
Therefore, with the help of these two and microcontrollers home automation was possible. If
we look few years back, people have been using washing machine, water heaters, hair dryer
etc. for household chores. Not in every house in Bangladesh but in western countries these
machines are used daily for household chores. We can consider these machines as the starting
of home automation. Now we are able to control TV, light, fan refrigerator etc. with Android
phones. This project is about easy and cheap home automation system and security system.
The quantity of Smartphone clients in Bangladesh has expanded by 3.1 million to 8.2 million
in 2015, as indicated by a current report distributed by Counterpoint Technology Market
Research (Dhaka Tribune). Study shows that seventy five percent of the market share is
Android and a total of one hundred and six million android Smartphone were shipped in the
second half of 2012. Android Smartphone became the top operating system in the market in
the present time worldwide and it became the most popular operating system known to man.
This is making android phone the most needed element of today’s life. Home automation was
possible with the help of this small device. The fast development of remote correspondence
inspired us to utilize cell phones to remotely control a household appliance. Apart from houses,
we have restaurants where food is served with the help of robot in Bangladesh. Android
controlled home system is not common in Bangladesh but is available in some offices to some
extent. The fast development of remote correspondence inspired us to utilize cell phones to
remotely control a household appliance. There is no actual definition of embedded system.
Computer controlled devices can be termed as embedded systems. With the presentation of
1
better equipment and better programming, cell phones have turned out to be capable gadgets
and have turned into an imperative piece of individuals' day by day lives. As per Li et al. (2016)
there are three ages of home computerization Firstly, wireless technology with proxy server.
Example: Next Zigbee automation. Artificial intelligence controls electrical devices. Example:
Amazon Echo. The latest technology is robot interacting with human. Example: Robot Rovio,
Roomba. We have good and cheap facilities to wireless networks and still developing in
Bangladesh. The 2nd and 3rd generation from above, aren’t available in Bangladesh. It doesn’t
mean that we don’t want it. The government and some organizations are trying to develop our
country in high technology. Now high technology is not bound within few features. The thing
that takes high technology to next level is automatic system. That is why the demand of
automatic electronic device is increasing. To accomplish that, home automation is necessary.
1.2 Motivation
Home Automation has been on the rise in the past few years. Now all things are controlled by
IoT ever-evolving technology, there have been smarter and more advanced solutions in the
domain of home automation. To enhance the standard of living, the appliances need to be
wholly automated without any user intervention in any form whatsoever. This enables the end
user hassle-free interaction with the appliances as the appliances learn and react as per the user's
requirements without him physically pressing a button. Wired sensor systems are more difficult
to handle and also require much amount of wiring the sensors at different locations. Thus, the
importance of wireless sensor node has been on the rise and is a critical factor for efficient
implementation of home automation. Energy saving is one of the significant advantages of
automating home appliances. Thus, the user must be kept aware of the energy consumption of
the automated appliances. In a developing country like India, where people have busy life
schedules, providing efficient energy saving and comfort at low prices and higher efficiency is
of utmost importance. Security of home is must have things because of the security breach in
many homes these days, if we have different type of security features, we can live a secured
life in home.
2
1.4 Objectives
The objectives of this research study are stated as follows:
❖ To develop and gathering knowledge on home automation and smart living.
❖ To improve inhabitant experience, made easy and convenient.
❖ To achieve cost savings by energy savings.
❖ To enhance home security with all day interconnecting.
1.6 Methodology
For designing an automatic smart home automation system, we can be used many methods
such the device of switching but all methods need of human helpful. Using electronic control
to supply the water except human interaction is designed in this project. It has designed
diligently put on to control the home appliances, finally shut down the appliances is
automatically any time by smart phone application. The methodology utilized in this work is
the measured structure access the general plan.
3
Fig 1.1: Block Diagram of Smart Home Automation
To achieve the home control using smart phone, initially the mobile unit should be connected
to any network and the WiFi module ESP8266 which is on Node MCU should be connected to
local network. By touching the specified location of widgets in the blynk app, this blynk app
sends ON/OFF commands to ESP8266 on Node MCU via Blynk server. Then the relays
connected to Node MCU performs switching operation corresponding to the input. So that the
loads connected to relays will be switched ON/OFF. Similarly, we can also control our home
appliances using manual switches. This can be obtained by connecting the relays outputs to
manual switches and manual switches to the AC loads. Whenever the relay corresponding to
manual ON or OFF is switched ON then the AC loads corresponding to that switches will
perform switching operation.
4
CHAPTER 2
Equipment’s Details
Chapter 2
2.1 Introduction
The main objective of this project is to develop a home control system using Node MCU board
with Internet being remotely controlled by any Android or IOS operating system. As
technology is advancing so houses are also getting smarter. Modern houses are gradually
shifting from conventional switches to centralized control system, involving remote controlled
switches. Presently, conventional wall switches located in different parts of the house makes it
difficult for the user to go near them to operate. Even more it becomes more difficult for the
elderly or physically handicapped people to do so. Remote controlled home automation system
provides a most modern solution with smart phones.
2.2 Equipment’s
● Node MCU
● Two Channel Relay Module
● Light Holder
● DC Colling Fan
● Push Button Switch
● Wires
● 220 V Ac Blub
● Adapter
● 2 Pin Plug
● Blynk Apps
2.2.1 Node MCU
The Node MCU (Node Micro Controller Unit) is an opensource platform for implementing the
Internet of Things. Running on System-on-a-Chip (SoC), it is an inexpensive device which is
technically named as the ESP8266-12E and helps to prototype IoT project using script lines in
Lua. Express if Systems designs and manufactures NodeMCU. Crucial elements of a computer
such as CPU, networking (Wi-Fi), RAM, operating system and SDK are all contained in
NodeMCU, thereby making it an extremely useful for all kinds of IoT projects [11]. Summing
it all up, we can say that, NodeMCU is much like an Arduino, except that it provides Wi-Fi
5
functionality which is in-built on the board. NodeMCU can be coded in Lua script and C
language on the Arduino IDE software. It contains 10 General Purpose Input/output pins for
interfacing with devices. A typical NodeMCU along with its pin numbering is shown in Fig.
2.1
6
2. GND- Ground:
It is the ground pin of the ESP8266 NodeMCU development board.
3. I2C Pins:
These are used to integrate all types of I2C sensors and parameters in the project. Both I2C
Master and I2C Slave are supported. The performance of the I2C optical connector can be
systematically detected, and the clock frequency is 100 kHz at maximum speed. It should be
noted that the frequency of the I2C clock should be greater than the frequency of the slowest
clock of the slave device.
4.GPIO Pins:
The ESP8266 NodeMCU has 17 GPIO anchors that can be assigned to various functions such
as I2C, I2S, UART, PWM, IR Remote Control, LED Light, and Button respectively. Each
GPIO digitally-enabled can be adjusted to internal drag or drop or set to high intensity. When
set as input, it can also be set to Edge-trigger or level-trigger to produce CPU interference.
5: ADC Channel:
NodeMCU is embedded 10-bit with SAR ADC accuracy. These two functions can be
performed using the ADC viz. VDD3P3 pin power supply and TOUT pin power input.
However, they cannot be used simultaneously.
6.UART:
The ESP8266 NodeMCU has 2 UART domains, namely UART0 and UART1, which offer
different connections (RS232 and RS485), and can communicate up to 4.5 Mbps. UART0 pins
(TXD0, RXD0, RST0 & CTS0) can be used for communication. Supports fluid control.
However, the UART1 (TXD1 pin) includes a data transfer signal only, so it is used to print the
log.
7.SPI Pins:
ESP8266 incorporates two SPIs (SPI and HSPI) into slave and master modes. These SPIs also
support the following SPI features:
▪ 4-time modes for SPI format transfer
▪ Up to 80 MHz with split clocks of 80 MHz
▪ Up to 64-Byte FIFO
8.SDIO Pins:
ESP8266 incorporates the Secure Digital Input / Output Interface (SDIO) which is used to
connect directly to SD cards. 4-bit 25 MHz SDIO v1.1 and 4-bit 50 MHz SDIO v2.0 are
supported.
7
9.PWM Pins:
The board has 4 Pulse Width Modulation (PWM) channels. PWM output can be programmed
and used to drive digital engines and LEDs. The frequency range of PWM ranges from 1000
𝜇s to 10000 𝜇s, e.g., between 100 Hz and 1 kHz.
10. Control Pins:
These anchors are used to control ESP8266. These anchors include Chip Enable pin (EN),
Reset pin (RST), and WAKE pin.
11. EN Pin (Enable):
The ESP8266 chip is enabled when the EN pin is pulled INSIDE. When pulled LOW the chip
works at low power.
12. RST Pin (Reset):
The RST pin is used to reset the ESP8266 chip.
13. Wake Pin:
The use of Wake pin is used to wake up the chip from a deep sleep.
8
2.2.3 Lamp Holder
Lamp holders are mechanical devices that support lamps and connect them to electrical circuits.
They hold light bulbs and make electrical contact to provide a bulb with power. Lamp holders
are used with most light sources for incandescent, fluorescent, and compact fluorescent lamps
(CFL).
9
2.2.5 Push Button Switch
A push-button (also spelled pushbutton) or simply button is a simple switch mechanism to
control some aspect of a machine or a process. Buttons are typically made out of hard material,
usually plastic or metal. The surface is usually flat or shaped to accommodate the human finger
or hand, so as to be easily depressed or pushed. Buttons are most often biased switches,
although many un-biased buttons (due to their physical nature) still require a spring to return
to their un-pushed state. Terms for the "pushing" of a button include pressing, depressing,
mashing, slapping, hitting, and punching.
2.2.6 Wires
Wire is usually framed by illustration the metal through an opening in a pass on or draw plate.
A wire is a solitary, generally tube shaped, adaptable strand or pole of metal. Wires are utilized
to endure mechanical burdens or power and media communications signals. The term wire is
additionally utilized all the more freely to allude to a heap of such strands, as in 'multi stranded
wire', which is all the more accurately named a wire rope in mechanics, or a link in power.
Wire measures come in various standard sizes, as communicated as far as a check number.
Fig:2.7: Wires.
10
2.2.7 Adapter
An electrical load received electric energy by a power supply. Which is an electronic device
and by that’s to convert one form of electrical energy to another. Then outcomes, as electric
power converters refereed are sometimes by power supplies. Whereas others are built into
larger devices along with their loads. Examples of the latter include power supplies found in
desktop computers and consumer electronics devices. The source of this power can come from
different source like the main power source AC voltage and battery or even from a renewable
power source like solar panel wind turbine or fuel cell to name just a few. The most common
source of power is usually the main AC.
11
Instead, it's supporting hardware of our choice. Whether our Arduino or Raspberry Pi is linked
to the Internet over Wi-Fi, Ethernet or this new ESP8266 chip, Blynk will get you online and
ready for the Internet of Your Things.
2.2.10 AC Blub
The electronic bulb is the simplest electrical lamp that was invented for illumination more than
a century ago. It was the small and simplest light that brightened the dark space. The electronic
bulb is also known as an incandescent lamp, incandescent light globe or incandescent light
bulb. Bulb comes in different sizes and light output and operates with a voltage range from 1.5
Volts to about 300 Volts. Now let us study the parts and structure of the bulb in detail.
12
CHAPTER 3
Software Details
Chapter 3
3.1 Introduction
In this section is discussed about Software. We can see the what kind of software are use in
this project. The information system is software. Simply put: Software is the set of instructions
that tell the hardware what to do. Software is created through the process of programming.
Without software, the hardware would not be functional.
13
CHAPTER 4
Circuit Diagram and
Working Principal.
Chapter 4
4.1 Introduction
“Smart Home automation” refers to the automatic and electronic control of household features,
activity, and appliances. In simple terms, it means you can easily control the utilities and
features of your home via the Internet to make life more convenient and secure, and even spend
less on household bills. Read on to find answers to some of the most common questions about
home automation technology, and get a few ideas for home automation solutions to incorporate
in your home.
14
CHAPTER 5
Conclusion
Chapter 5
5.1 Conclusion
The paper has been experimentally proven to work successfully. We can control the AC loads
using the Blynk app or manually using the normal switches. The designed system can be
controlled from anywhere throughout the world. This will help the user by saving the power
by switching off the home appliances in case of forgot to switch off. This will also help for
physically disabled people who might otherwise require care givers.
15
CHAPTER 6
Reference
Chapter 6
Reference
[1] Andrea Zanella, Nicola Bui, Angelo Catellani, Lorenzo Vangelista, Michle Zorzi, “Internet
of Things for Smart Cities,” in IEEE Internet of Things journal, Vol.1, No.1, February, 2014.
[2] Sean Dieter, Tebje Kelly, Nagender Kumar Suryadevara, And Subhas Chandra
mukhopadhyay, “towards the Implemtation of IOT for environmental condition and
Monitoring in home” in IEEE sensors Journal Vol.13, No.10, 2013.
[3] Internet of Things. [Online]. Available: https://en.wikipedia.org/wiki/Internet_of_Things.
[4] Gopinath Marrapan. (2015). an inexpensive IOT enabler using ESP8266. [Online].
Available: https://www.instructables.com/id/An-inexpensive-IoT. Enabler-using-ESP8266.
[5] Wikipedia
[6] Y. Kung, S. Liou, G. Qiu, B. Zu, Z. Wang and G. Jong,” Home monitoring system-based
internet of things,” 2018 IEEE International Conference on Applied System Invention (ICASI),
Chiba, 2018, pp. 325-327.
[7] Y. Sun, Y. Xia, H. Song and R. Bie,” Internet of Things Services for Small Towns,” 2014
International Conference on Identification, Information and Knowledge in the Internet of
Things, Beijing, 2014, pp. 92-95.
[8] D. Pavithra and R. Balakrishnan, “IoT based monitoring and control system for home
automation,”Global Conference on Communication Technologies (GCCT), Thuckalay, 2015,
pp. 169-173.
[9] H. V. Bhatnagar, P. Kumar, S. Rawat and T. Choudhury, “Implementation model of Wi-Fi
based Smart Home System, “International Conference on Advances in Computing and
Communication Engineering (ICACCE), Paris, 2018, pp. 23-28.
[10] P. Upadhyaya, O. Farooq and M. R. Abidi “Mel Scaled M-band Wavelet Filter Bank for
Speech Recognition,” International Journal of Speech Technology, vol. 21, no. 4, pp. 797-807,
2018.
[11] NodeMCU, [Online]. Available: http://www.nodemcu.com/
[12] IFTTT, [Online]. Available: https://ifttt.com
[13] Arduino IDE, [Online]. Available: https://www.arduino.cc
[14] Satyendra K. Vishwakarma, Prashant Upadhyaya, Babita Kumari, Arun Kumar Mishra
“Smart Energy Efficient Home Automation System Using IoT” 978-1-7281-1253-4/19/$31.00
© 2019 IEEE
16