Professional Documents
Culture Documents
PROJECT 2019-2020
Of
In
By
Archana Bomnale
(Deemed-to-be University)
2019-20
CERTIFICATE
This is to certify that the project entitled “Mobile and Voice Controlled Home
Automation”, has been done by Anmol Astana (J005), Arash Daruwala (J007),
Yash Dasgupta (J009) under my guidance and supervision & has been submitted in
partial fulfillment of degree of Bachelor of Technology in Electronics and
Telecommunication of MPSTME, SVKM’s NMIMS (Deemed-to-be University),
Mumbai, India.
Moble and Voice Controlled Home Automation System Project 2019-2020
_______________
______________
(Intenal Guide)
Date ______________
(HOD EXTC)
Moble and Voice Controlled Home Automation System Project 2019-2020
ACKNOWLEDGEMENT
First and foremost, we would like to take this opportunity to thank our lecturer Prof.
Archana Bomnale for her guidance and advice on this project. We are truly grateful
for the great feedback that she has given us through the process of development of the
project.
Last but not least, I am very grateful to our College, lecture sand friends where they
gave us enough of time to complete this project and at the same time I would like to
thank my friends and classmates who helps me a lot to complete this project.
Thank you to all those who have made valuable contributions to our project.
ABSTRACT
The main objective of this project is to develop a home automation system using an
Arduino board with Bluetooth being remotely controlled by any Android OS smart
phone. 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.
In order to achieve this, a Wi-Fi module is interfaced to the Arduino board at the
receiver end while on the transmitter end, a GUI application on the cell phone sends
ON/OFF commands to the receiver where loads are connected. By touching the
specified location on the GUI, the loads can be turned ON/OFF remotely through this
technology. The loads are operated by Arduino board through opto-isolators and
thyristors using triacs.
The project further works to allow Voice Enabled Technology so that the disabled and
the visually impared may also use this technology and seek maximum use of the
technology.
Moble and Voice Controlled Home Automation System Project 2019-2020
Contents
CERTIFICATE.......................................................................................................3
2. Literature survey...............................................................................................10
3. Problem Statement............................................................................................13
4. Methodology.....................................................................................................14
5. System Analysis................................................................................................15
6. Software Description.........................................................................................18
1. Introduction
1.1 Background of the project topic:
The advancement in technology has led to advancing the automation in various fields.
Day by day, the effort for doing daily work is reducing and for people who are busy in
their everyday routine are looking for cost effective ways to reduce the daily manual
efforts. For example, washing machine has made the everyday life simple for an
individual. Instead of washing the clothes by using hands, one can now simply put the
clothes in the washing machine and can also dry it using a dryer function thus saving
the human effort and also saving time.
People who are physically handicapped or elderly people find it very difficult to reach
for the switch board for switching various appliances, closing doors, opening/closing
curtains etc. In our everyday lives, there are many situations where we tend to lock
the door and go outside only to realise that either the fan has remained switched on or
even worse the gas station is kept on. Also, it is of concern that small children tend to
put their fingers in the energy socket for fun purposes. However, this is very
dangerous as the child can be electrocuted. Housekeepers also tend to switch on/off
the fan using wet fingers which may again be a case of electrocution. In order to
prevent such mishaps and also to save the wastage of electricity and money, we can
resolve these problems. By introducing a Mobile and Voice Controlled Home
Automation System, every function of the home whether it is switching on a specific
light or switching on various lights, switching on/off the geyser for bath purposes,
controlling the speed of the fan and also to control the temperature of the AC
switched on, switching on the AC before hand so that when you enter the room, the
room will be chilled as per your liking or whether it is to switch off the gas station,
every function can be controlled with a flick of a finger on your smartphone. To make
matters even more simple, all of the above functions can be controlled via voice
control.
9
Moble and Voice Controlled Home Automation System Project 2019-2020
b) Integrating the components, and coding work was done by Arash Daruwala. This
included establishing connection from the microprocessor to Wi-Fi, Mobile
device and Voice Control module. The other task is to perform coding to
integrate all applications of device on the computer as well as on Mobile.
c) The task of circuit designing and testing for the best feasible circuit was done by
Anmol Asthana. The main objective was to check for the best feasibility of the
circuit with minimum and simple wiring.
10
Moble and Voice Controlled Home Automation System Project 2019-2020
2. Literature survey
2.1Introduction to overall topic
While there are many competing vendors, there are very few worldwide accepted
industry standards and the smart home space is heavily fragmented.[3] Manufacturers
often prevent independent implementations by withholding documentation and by
litigation.[4]
The home automation market was worth US$5.77 billion in 2013, predicted to reach a
market value of US$12.81 billion by the year 2020.[5]
People who are physically handicapped may find it very difficult to reach for the
switch board for switching various appliances, closing doors, opening/closing curtains
etc. In our everyday lives, there are many situations where we tend to lock the door
and go outside only to realise that either the fan has remained switched on or even
worse the gas station is kept on. It is also of concern that small children tend to put
their fingers in the energy socket for fun purposes. However this is very dangerous as
the child can be electrocuted. Housekeepers also tend to switch on/off the fan using
wet fingers which may again be a case of electrocution. In order to prevent such
mishaps and also to save the wastage of electricity and money, we can resolve these
problems. By introducing a Mobile and Voice Controlled Home Automation System,
11
Moble and Voice Controlled Home Automation System Project 2019-2020
every function of the home can be controlled with a flick of a finger on your
smartphone. To make matters even more simple, all of the above functions can be
controlled via voice control.
In 1975, the first general purpose home automation network technology, X10, was
developed. It is a communication protocol for electronic devices. It primarily
uses electric power transmission wiring for signalling and control, where the signals
involve brief radio frequency bursts of digital data, and remains the most widely
available.[7] By 1978, X10 products included a 16 channel command console, a lamp
module, and an appliance module. Soon after came the wall switch module and the
first X10 timer.
By 2012, in the United States, according to ABI Research, 1.5 million home
automation systems were installed.[8] As per research firm Statista[9] more than 45
million smart home devices will be installed in U.S. homes by the end of the year
2018.[10]
The word "domotics" (and "domotica" when used as a verb) is a contraction of the
Latin word for a home (domus) and the word robotics.[1]
In order to enable voice control in HA systems, we can either use the existing online
voice recognition engines, or focus on the ones that can be used offline. Depending on
the chosen voice recognition technology, we design the system architecture.
12
Moble and Voice Controlled Home Automation System Project 2019-2020
The other variation of the architecture using cloud voice recognition is depicted in
Figure 2. In this case, the HA gateway records the user message, sends it to the cloud
voice recognition service using the provided API, and then processes the results. All
of the message processing is done by the gateway.
Finally, if offline voice recognition tools are used, the home automation gateway can
be fully enabled to process the voice commands, and react to them. The architecture
of the system in this case is represented in Figure 3. This approach provides the full
autonomy of the HA system, which does not need to be connected to the Internet in
order for voice commands to function properly. However, real-time processing of
13
Moble and Voice Controlled Home Automation System Project 2019-2020
14
Moble and Voice Controlled Home Automation System Project 2019-2020
Google Speech API Google Cloud Speech can be used to connect to the online
service, which provides conversion of audio to text. The advantages of using this
speech API are its vast database, multi-language support (it supports more than 80
languages), and the possibility of easily integrating with the embedded devices. The
disadvantages are the price, and the limited number of requests per day. Also, as this
is the online voice recognition service, using it requires Internet connection.
Alexa Voice Service Alexa voice service is the heart of Alexa, an intelligent personal
assistant powering Amazon Echo. Alexa voice services provide the API that can be
used to enable Alexa assistant on the device. However, the service does not provide
arbitrary text as output. Rather, it triggers the Home Automation functionality, which
must be implemented as the cloud service. This service is not free. Also, the Internet
connection is required, for the system to work properly.
Bing Speech API Bing speech API also provides online speech to text conversion.
Although the service is easily integrated with various platforms by the REST API, our
experiments have shown that the error rate is higher for this engine, then for. Also, the
number of supported languages is significantly smaller. Table I sums up several
important characteristics of voice recognition engines. The large number of languages
supported as well as the possibility to integrate it with both Home Automation cloud
and Home Automation gateway, suggest that the future effort should be made to
integrate this voice recognition engine into our Home Automation solution.
15
Moble and Voice Controlled Home Automation System Project 2019-2020
3. Problem Statement
The main objective of this project is to develop a home automation system using an
Arduino board with Bluetooth being remotely controlled by any Android OS smart
phone. 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.
In order to achieve this, a Wi-Fi module is interfaced to the Arduino board at the
receiver end while on the transmitter end, a GUI application on the cell phone sends
ON/OFF commands to the receiver where loads are connected. By touching the
specified location on the GUI, the loads can be turned ON/OFF remotely through this
technology. The loads are operated by Arduino board through opto-isolators and
thyristors using triacs.
The project further works to allow Voice Enabled Technology so that the disabled and
the visually impared may also use this technology and seek maximum use of the
technology
16
Moble and Voice Controlled Home Automation System Project 2019-2020
4. Methodology
This project is one of the important Arduino Projects.
Arduino based home automation using Wi-Fi project
helps the user to control any electronic device using
Blynk app on their Android Smartphone. The Android
app Blynk sends commands to the controller – Arduino,
through wireless communication, namely, Wi-Fi. The
Arduino is connected to the main PCB which has four
relays as shown in the block diagram.
18
Moble and Voice Controlled Home Automation System Project 2019-2020
5. System Analysis
Arduino Nano
The Arduino Nano is a microcontroller board based on the ATmega328P. It has 14
digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a
16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a
reset button. It contains everything needed to support the microcontroller; simply
connect it to a computer with a USB cable or power it with a AC-to-DC adapter or
battery to get started.
The Uno differs from all preceding boards in that it does not use the FTDI USB-to-
serial driver chip. Instead, it features the Atmega8U2 programmed as a USB-to-serial
converter.
19
Moble and Voice Controlled Home Automation System Project 2019-2020
ESP8266
20
Moble and Voice Controlled Home Automation System Project 2019-2020
Figure 6 ESP8266
Relay
21
Moble and Voice Controlled Home Automation System Project 2019-2020
Figure 7 Relay
22
Moble and Voice Controlled Home Automation System Project 2019-2020
6. Software Description
Arduino IDE
Blynk
Blynk was designed for the Internet of Things. It can control hardware remotely, it
can display sensor data, it can store data, vizualize it and do many other things.
There are three major components in the platform:
Blynk App - allows to you create amazing interfaces for your projects using
various widgets we provide.
Blynk Server - responsible for all the communications between the smartphone and
hardware. You can use our Blynk Cloud or run your private Blynk server locally.
It’s open-source, could easily handle thousands of devices and can even be
launched on a Raspberry Pi.
Blynk Libraries - for all the popular hardware platforms - enable communication
with the server and process all the incoming and outcoming commands.
23
Moble and Voice Controlled Home Automation System Project 2019-2020
For voice controlled system, we tried to implement Alexa module but it was not
compatible with our Arduino microcontroller.
Further testing for implementing voice module and syncing it with mobile control
function will be done in the later stage.
Figure 8: Coding
24
Moble and Voice Controlled Home Automation System Project 2019-2020
1. Security
The locks can be controlled by the Mobile And Voice Controlled Home
Automation System. So after stepping out of the house, one can lock the doors
with this and can safeguard their personal belongings. Also, if you have
forgotten to switch off the gas stove or something which can cause harm, you
can do it via your smartphone
2. Energy Efficiency
Increase your home’s energy efficiency by remotely powering off systems and
appliances when they aren’t in use. In addition to the standard home
automation products that give you active control, some products actively
monitor systems and arm the homeowner with knowledge, insight and
guidance to achieve greater control and energy efficiency. Unwanted usage of
electricity is thus saved
3. Savings
Home automation literally pays off. When you are able to use home systems
and appliances only when needed, the savings will be apparent in the first
utility bill. No more wasting money on lights left on when you aren’t home, or
spending money on gas to drive home because you forgot to lock the door.
Monetary savings are apparent, but you’ll also be saving time. No wasted trips
home, no running through the house turning everything off, no time spent
worrying about what was or wasn’t turned off.
25
Moble and Voice Controlled Home Automation System Project 2019-2020
4. Convenience
5. Comfort
Ever leave for work in the morning when it was a comfortable 68° outside
only to come home to a sweltering house because the temperature shot up to
90°? Connected home products lets you conveniently adjust your home
temperature from the mobile app so your family is always comfortable and
also when you come back home tired from work, your home will be chilled so
that you can relax in peace.
DISADVANTAGES
1. Cost of Intelligence
Installing state-of-the-art features inside a home results in a higher price
tag for the property. The cost of an intelligent home that makes our lives
convenient is high because some of the technology is relatively new. The
cost of living expenses such as utilities, maintenance and repair of the
technology can be expensive as well.
2. Technology Learning Curve
Owning a smart home means having to learn how to use your home.
Unlike traditional homes, smart home technology requires you to adapt to
the innovations within your living area such as security systems, air units
and a remote that controls your entire house. For the technology-savvy
family, the smart home will help achieve convenience faster, but for
others, it will take reading manuals and learning how-to before the benefits
of convenience pay off.
26
Moble and Voice Controlled Home Automation System Project 2019-2020
3. Video Surveillance
Video surveillance can be a wonderful tool in heightening security and
deterring crime, but when the technology falls into the wrong hands, issues
of privacy can occur. Security sensors within the doors and walls of a
smart home use wireless technology to transfer signals to a central control
unit that notifies emergency officials of any foreign activity.
APPLICATIONS
27
Moble and Voice Controlled Home Automation System Project 2019-2020
28
Moble and Voice Controlled Home Automation System Project 2019-2020
NodeMCU
5 V Relay X 2
Prototyping board (Bread board)
Connecting wires
9 V Power supply
Smartphone or tablet (Wi-Fi enabled)
Wi-Fi Connectivity
29
Moble and Voice Controlled Home Automation System Project 2019-2020
Appendix B: References
1. Hill, Jim (12 September 2015). "The smart home: a glossary guide for the
perplexed". T3. Retrieved 27 March 2017.
2. "Best Home Automation System - Consumer
Reports". www.consumerreports.org. Retrieved 2016-02-14.
3. "5 Open Source Home Automation Projects We Love". Fast Company.
2014-12-01. Retrieved 2016-11-22.
4. Fahmy, Hossam Mahmoud Ahmad (2016). Wireless Sensor Networks:
Concepts, Applications, Experimentation and Analysis. p. 108. ISBN 978-
9811004124. The use of standardized, with open standards over proprietary
protocols provides the industry with the freedom to choose between suppliers
with guaranteed interoperability. Standardized solutions usually have a much
longer lifespan than proprietary solutions.
5. "Research and Markets: Global Home Automation and Control Market 2014-
2020 - Lighting Control, Security & Access Control, HVAC Control Analysis
of the $5.77 Billion Industry". Reuters. 2015-01-19. Archived from the
original on 2016-05-05.
6. Home Automation & Wiring (1 ed.). New York: McGraw-Hill/TAB
Electronics. 1999-03-31. ISBN 9780070246744.
7. Rye, Dave (October 1999). "My Life at X10". AV and Automation Industry
eMagazine. AV and Automation Industry eMagazine. Archived from the
original on September 30, 2014. Retrieved October 8, 2014.
8. "1.5 Million Home Automation Systems Installed in the US This
Year". www.abiresearch.com. Retrieved 2016-11-22.
9. "Smart Home - United States | Statista Market Forecast". Statista.
Retrieved 2019-11-07.
10. Caccavale, Michael. "The Impact Of The Digital Revolution On The Smart
Home Industry". Forbes. Retrieved 2019-11-07.
11. Norahafizah bt Aripin, “Voice Control of Home Appliances using Android,”
Electrical Power, Electronics, Communications, Controls, and Informatics
Seminar (EECCIS), 2014
30
Moble and Voice Controlled Home Automation System Project 2019-2020
12. Chan Zhen Yue and Shum Ping, “Voice Activated Smart Home Design and
Implementation,” Internantional Conference on Frontiers of Sensors
Technologies,2017
13. Sushant Kumar and S.S Solanki, “Voice and Touch Control Home
Automation,” 3rd Int’1 Conf. on Recent Advances in Information Technology
RAIT-2016
31