You are on page 1of 5

2018 Fourth International Conference on Research in Computational Intelligence and Communication Networks (ICRCICN)

Voice Over Appliance Management System


Arijit Ghosh Suvojit Sinha Suhankar Pal Priyankshu Kumar Sarkar
Dept. of AEIE, RCCIIT Dept. of AEIE, RCCIIT Dept. of AEIE, RCCIIT Dept. of AEIE, RCCIIT
Kolkata, India Kolkata, India Kolkata, India Kolkata, India
arijitghosh@yahoo.com suvojitsinha12@gmail.com suhankar.pal01@gmail.com priyankshurcciitian2017@gmail.com

Abstract—This paper represents a unique home appliance which results in either switching on the appliance or switching
control system based on voice commands over the internet. it off.
Through this proposed system, any appliance can be
controlled efficiently from any location irrespective of II. LITERATURE REVIEW
their distance from the appliance through the help of The smart homes were ideas, not actual structures until a few
Artificial Intelligent (AI) voice assistant over internet using years ago. The concept of home automation is not only a
cloud server technology. Primarily, voice is captured by theoretical aspect now it has already gained momentum in
the AI assistant and is sent to IFTTT (If This Then That) practical applications. This section highlights on substantial
open cloud server which then connects to another open inventions leading towards smart homes and what else can be
cloud server named Webhooks. It then sends information done in future. This field of study began to increase popularity
to the Blynk application (app) which in turn transmits to with the emergence of affordable yet consumer friendly
ESP8266 based microcontroller unit and finally passes on technologies. Nowadays smart homes are also sustainable,
the information to the relay connection module to switch secured from invaders, cost-effective and instead of using
on the appliances. Almost 100% accuracy has been conventional energy they use green technologies. Current
obtained by the proposed system with a delay time of 0.99 trend in home automation includes remote based control
seconds, considering the fact that internet connection utilizing mobile applications, automated device monitoring
strength remains healthy. The proposed system has and control, appliance scheduling, transmitting various types
already been successfully tested from a distance of 10 of notification, and also surveillance from remote video. The
metres. notion of home automation which was imaginary even some
time ago has seen the daylight, predominantly due to the
Keywords—Internet of Things; Wireless Sensor Network; development of IoT. Presently, it is very much possible to
Microcontroller; Wi-Fi, Blynk, IFTTT, Webhooks. build an automated house using this technology. The three
most significant constituents of an IoT based smart home are:
I. INTRODUCTION hardware, software and networking as well as communication
Voice automation system with the help of IOT (Internet of standards. To cope up with technological modifications, the
Things) is gaining popularity in this intelligent electronics IoT network should be equipped with proper hardware which
world. This revolutionary technology lends us to work in a ensures successful prototype development. Earlier due to the
more sophisticated way, which previously no one has ever advancement of wireless technology several type of
thought of. IOT can be implemented in many application connections such as GSM, Wi-Fi, ZigBee and Bluetooth were
domains e.g. fields related to high altitudes where people used where each of them had their unique feature [1-2].
cannot reach easily, but voice automated robots can and Though some of the studies on home automation system done
complete the required tasks. It mainly makes use of wireless by the preceding technocrats were based on wireless network
technology such as internet, or bluetooth for communicating [3-5], most of them used wired network systems. The studies
with the microcontrollers and trans-receivers. Users are able to in [2, 6-7] used Programmable Interface Controller (PIC),
send commands using voice assistant applications such as where a complicated circuit was required to be designed by
Google Voice Assistant, Alexa to name a few. The aim of this the developers for use. The system which uses Radio
paper is to discuss about the design and real-time Frequency (RF) module for transferring data are lower in cost
implementation of an effective voice automated system that in comparison [3-5] to low powered short range wireless
can execute any task flawlessly considering minute details of bluetooth module using frequency hopping spread spectrum
voice commands. Here, the voice commands are first being (FHSS) modulation technique [8]. To make the Arduino based
captured by Google voice assistant, the acquired data is sent to home automation system compact a bluetooth module is
IFTTT cloud server and then to Webhooks both of which is to connected and the system is made functional. But we know
be configured separately using common cloud domain IP that bluetooth uses a short distance radio technology to allow
address by inserting the Blynk’s unique identification address wireless access whereas Wi-Fi is reasonably a faster method
along with GPIO connection pin configuration number, which of information transmission. Here, we have used ESP8266
in turn sends the data to Blynk app and transfers the same to based microcontroller module which has an inbuilt Wi-Fi unit
ESP8266 microcontroller module and connects to the relay thus making it more compact and easy to use. Also
transferring data via bluetooth is less secured in comparison to

978-1-5386-7638-7/18/$31.00 ©2018 IEEE

188
Wi-Fi, which is a major reason why ESP8266 based helps the relay to get switched on and turn on the desired
microcontroller based home automation system is preferred application. In between this whole process, the Blynk app plays
over a bluetooth based system. Also the speed of data transfer a crucial role in connecting the devices with cloud server and
from sensors to the cloud network will be more in case of Wi-Fi module. The Blynk app has a unique ID which helps to
using a Wi-Fi module. Last but not the least, a bluetooth identify the specific user and it’s applications to work with.
module requires external controller, whereas ESP8266 In this paper, the main component used is ESP8266
microcontroller module can be programmed and used in stand- microcontroller module which receives the information given
alone (12 usable GPIO) mode and hence it is more preferable. by the user as voice command input. Here, Google assistant is
taken into account for performing wireless voice automation
III. OBJECTIVE system. Further, a relay board has been used to switch on/off
The objective of our work is to establish a wireless voice based the appliances, which is able to procure information from the
system which can work automatically without human ESP8266 microcontroller module. Now, IFTTT server is to be
intervention. The system works on the principle that voice is configured by logging into the IFTTT web portal with the
taken as an input command from the user which gets executed user’s Google account, and the user has to configure the
through IFTTT server with the help of a Blynk app unique Google assistant by entering the commands the user want to
authentication ID, and then it sends the data to Webhooks say and receive on the other side. After configuring the Google
which checks the relay pin configuration to switch on a assistant; Webhooks is to be configured, as Google assistant
particular appliance as requested by the user. While would pass information to Webhooks and then it would interact
configuring the IFTTT server, one must remember to put on with the physical components and other software, as directly
the equivalent GPIO pin number of the ESP8266 module, Google assistant cannot be linked with other external software
because when Blynk app sends data to the Wi-Fi Board, it as well as physical hardware components. To do that, the
thinks that it is sending data to any of the microcontroller external components are to be connected with Webhooks
modules. The block diagram of our proposed system is server to receive and transmit information simultaneously. For
described in subsequent section of this paper followed by configuration of the Webhooks server one must enter the
system description and the required components to develop the Blynk’s unique ID, a host server where the connection is to be
prototype. The next part gives the connection diagram of established, e.g. 188.166.206.43 and the GPIO pin number
controller block followed by a flow chart and practical (which is equivalent to the Arduino Uno R3 module and
snapshots of the developed hardware as well as software ESP8266 module). This is how the whole setup is integrated.
network configuration modules. This real-time developed Now, configuration of Blynk is to be done so that information
system can be taken into consideration for operating any type from Webhooks can be received. To do that in Arduino IDE
of home appliance. The paper ends with a conclusion. one must install CP2102 driver software in the form of .zip file
and one should select “Sketch” option and then “Include
IV. BLOCK DIAGRAM AND SYSTEM DESCRIPTION Library” option, where “Blynk” can be found and after
selecting it the user has to specify the Wi-Fi connection details
for establishing network connection for executing the data. The
user has to enter SSID and password of the Wi-Fi network and
then the program is to be uploaded to the ESP8266
microcontroller module. Now the system can be used from any
corner of the world, that means any appliance which is
previously been configured over the internet in open source
cloud server can be operated remotely from anywhere, which
would be more time efficient and cost effective as well.
V. CONNECTIONS WITH THE COMPONENTS
The circuit diagram of our designed system is shown in Fig. 2.
ESP8266 Wi-Fi based microcontroller module is to be directly
connected to the external power supply module and with the
Blynk app at the same time. The relay board is connected with
ESP8266 Wi-Fi enabled microcontroller module and with a 5
volt power supply module. Now, one connection wire will be
connected with the appliances and the other one with the AC
Fig. 1. Block Diagram of the designed system. power supply. The code has to be uploaded henceforth to the
ESP8266 microcontroller module by entering the Blynk’s
The block diagram of our designed system is shown in Fig. 1.
unique ID and Network SSID and Password to get recognized
The command receiver section receives the voice command,
to the Wi-Fi network. This is how the entire setup will get
executes its job by sending the information to cloud server and
completed.
turns on the relay module after proper determination, which in
return send the data to the microcontroller for execution and

189
om_index.json, and after doing so, one must go to “Board
Manager” and install “ESP8266” and “Blynk” libraries. Now,
the user has to provide its network SSID and password and the
code will be ready for getting uploaded to the Wi-Fi module.
Now, the setup is all ready to get into work. ‘1’ or ‘0’ is to be
provided to the associated pins to switch the applications
On/Off.
The flow chart of the proposed system is shown in Fig. 3.

Voice
Artificial Intelligence
command

IFTTT

Webhooks
Fig. 2. Circuit diagram of the proposed system.
VI. RESULT AND DISCUSSIONS
Automation, the word itself in present world scenario has an
everlasting impact in modern society. In this system, the user Blynk App
input is taken as a voice command through an Artificially
Intelligent (AI) assistant which sends the information to cloud
server, i.e. to the IFTTT (If This Then That) which transmits
Wi-Fi Module
information to Webhooks and then sends it to Blynk app
whose data is taken by the ESP8266 microcontroller module
and then the final information is given to the relay board to
switch on the particular application the user has notified for.
Now, for this whole process to work and become active as and
when needed, the cloud server, Blynk app and ESP8266 Wi-Fi Microcontroller
based microcontroller board have to be configured properly.
Next, to configure the IFTTT server, one must login to the
IFTTT web portal through their specific Google account. After
logging in one must setup the desired command to be accepted
by the Google assistant and received at the same time by the Relay Module Appliances
user which is to be done for both criteria, i.e. for switching on
the application as well as for switching it off. IFTTT Server
will now get configured for one application. The similar Fig. 3. Flow chart of the proposed system.
process is to be repeated for multiple applications. Further, the This proposed system has been tested several times and
Webhooks server configuration is done by entering the showed up satisfactory response, with a very minimum time
common domain IP Address, e.g., 188.166.206.43 and by delay, which even worked efficiently when tested from a
providing the unique ID provided while creating “New distance of 10 meters. This automated system is both time as
Project” in Blynk app and GPIO pin number which matches well as cost friendly and can be used to control appliances
with the pin connection of ESP8266 microcontroller module from any part of the world only by applying voice commands
and to do that successfully the format must be as follows: into a global scale making use of Google AI voice assistant.
http://188.166.206.43/Your Blynk Authentication The advantages of this proposed system are that it can work
ID/update/GPIO PIN. This is how the Webhooks will get remotely in a very efficient manner, when connected to the
configured, and it is to be done for both the cases, for specific network SSID and password given by the user during
switching on and switching off the appliances. To upload the setting up the code which is to be uploaded to the ESP8266
program on the ESP8266 microcontroller module one must Wi-Fi based microcontroller module. Moreover, it can be
switch on the Arduino IDE platform and add CP2102 driver taken into consideration when the user is not around the
library and after doing so one must go to “Preferences” and particular application. User may be present anywhere, and can
then to “Additional Board Manager” and enter the link as
follows:http://arduino.esp8266.com/stable/package_esp8266c

190
operate it remotely just by using voice commands. The
experimental observations are indicated in TABLE I.

TABLE I. EXPERIMENTAL OBSERVATIONS

Voice Digital Pin Relay Condition Product status


Command Output (On/Off) (On/Off)

Turn On High On On

Turn Off Low Off Off

Fig. 4 (d). Real-time Webhooks server configuration set-up


snapshot.

The real-time pictures of our developed system with hardware


and software are shown in Fig. 4 (a). - Fig. 4 (d). We can see
the performance of our designed system when switching it off
from the mobile application by giving the command ‘Turn
Off’. Similarly, when the command ‘Turn On’ is given from
Fig. 4 (a). Practical hardware set up with a connected appliance.
the mobile application, the system is switched on. The strength
of our proposed system is that it can control multiple
appliances simultaneously to make our task easy and to
control things from any place by a simple voice command.
VII. CONCLUSION
Using this automation system we can control any appliance
through a wireless medium from any place using cloud server
and internet. The developed voice controlled automation
system provides voice command to the microcontroller which
controls the system as per the given command. The system
suffers from the drawback that it can operate only during the
presence of internet connectivity. When the internet coverage
Fig. 4 (b). Real-time ESP8266 Wi-Fi based microcontroller with relay unit. is not present or if it is weak, the system will fail to operate
properly. To overcome this problem, some paid servers may
be used. The system is very sensitive and is susceptible to
noise. If there is some operation delay due to connectivity
error, the system may fail to give satisfactory results. Further
work is going on to eliminate the aforesaid issues. But this
system may find its application in various fields, particularly,
where people work with life risk and all the things can be
controlled using voice commands [9-10]. The system can be
further modified by incorporating artificial intelligent control
or fuzzy logic control and thus the product can be controlled
as per the requirement of operation [11-12]. These are all
possibilities that can be implemented in the near future.
REFERENCES
[1] S. Rho, G. Min, W. Chen, “Advanced issues in artificial
intelligence and pattern recognition for intelligent surveillance
Fig. 4 (c). Practical snapshot of AI assistant configuration set-up. system in smart home environment,” Journal of Engineering
Applications of Artificial Intelligence, 2012, Vol. 25, Issue 7,
pp.1299-1300.

191
[2] R. A. Ramlee, M. H. Leong, R. S. S Singh, M. M. Ismail, M. A.
Othman, H. A. Sulaiman, M. H. Misran, M. A. Meor Said,
“Bluetooth Remote Home Automation System Using Android
Application,” The International Journal Of Engineering And
Science (IJES), Volume 2, Issue 01, 2013, pp. 149-153.
[3] J. Tagore, L. Gayathri, K. Uttamambigai. S.P, “Implementation of
Wireless Automation of Home Loads Based On Microsoft SDK,”
International Journal of Science and Technology, Volume 2, No.
5, May 2013, pp. 402-404.
[4] H. A. Shu’eili, G. Sen Gupta, S. Mukhopadhyay, “Voice
Recognition based Wireless Home Automation System”, Proc.
4th IEEE International Conference on Mechatronics (ICOM),
May 2011.
[5] K. L. Su, S. H. Chia, S. V. Shiau, J. H. Guo, “Developing a
module-based security system for an intelligent home,” Journal of
Artificial Life and Robotics, 2009, Vol.14 (2), pp.242-246.
[6] F. Baig, S. Beg, M. F. Khan, “Controlling Home Appliances
Remotely Through Voice Command,” International Journal of
Computer Applications, Volume 48- No.17, June 2012.
[7] B. Li, J. Yu, “Research and Application on the Smart Home
Based on Component Technologies and Internet of Things,”
Journal of Procedia Engineering, 2011, Vol. 15, pp. 2087-2092.
[8] B. Yuksekkaya, A. A. Kayalar, M. B. Tosun, M. K. Ozcan, A. Z.
Alkar, “A GSM, Internet and Speech Controlled Wireless
Interactive Home Automation System,” IEEE Transactions on
Consumer Electronics, Vol. 52, Issue 3, Aug. 2006, pp. 837-843.
[9] A. Ghosh, R. Mitra, S. Mohalanobish, S. De, S. Bhattacharjee,
and S. Bardhan, “Wireless Irrigation System,” Proc. 2018 IEEE
International Conference on Recent Innovation In Electrical
Electronics & Communication Engineering ICRIEECE-2018,
2018. (Accepted and Presented)
[10] A. Ghosh, L.Mondal, S. Chattopadhyay, S. Samanta, and S.
Paria, “A Smart Incubation System,” Proc. 2018 IEEE
International Conference on Recent Innovation In Electrical
Electronics & Communication Engineering ICRIEECE-2018,
2018. (Accepted and Presented)
[11] A. Ghosh, S. Sen and C. Dey, “Design and implementation of a
Fuzzy PI Controller on a servo speed control application,” Proc.
IEEE International Conference on Signal Processing and
Integrated Networks SPIN-2015, pp. 384-387, 2015.
[12] A. Ghosh, S. De, and S. Mukherjee, “Performance Evaluation of
a Fuzzy Logic Controller on a Servo Speed Control System,”
Proc. of International Conference on Intelligent Control Power
and Instrumentation ICICPI 2016, Kolkata, pp. 37-41, 2016.

192

You might also like