Design and Implementation of Domotics Applications Using Voice Assistant and Smart Phone
Design and Implementation of Domotics Applications Using Voice Assistant and Smart Phone
---------------------------------------------------------------------------------------------------------------------------------------
Submitted: 15-07-2021 Revised: 29-07-2021 Accepted: 31-07-2021
-------------------------------------------------------------------------------------------------------------------------------------------------
ABSTRACT required. As we look around most of the active
Considering how everything is being available to members of every family are either busy working
us on our fingertips through our smartphones or they leave their houses for various
nowadays, and the major contributor to this is the personal/professional purpose and there is their
home automation industry which is growing parents/grandparents who are left alone at their
rapidly; this is fuelled by the need to provide own, it is difficult for them to manage all inhouse
supporting systems for the elderly and the disabled, duties by themselves specially when that person is
especially those who live alone and along with that sick or have any kind of disability, the bare
because of its ability to ensure security and safety. minimum activities start bothering them and only
This paper details the overall design of a home old aged these automated technology has helped
automation system using voice assistant and smart every age group in managing their time, increased
phone.The automation centres on recognition of productivity and provided different security
voice commands which are given to the Google measures for all.
Assistant app and the givencommands are decoded The future scope of the project is actually
and then sent to the microcontroller with the help boundless. We have only created an automation on
of the IFTTT App(If This Then That) and the a basic ground level with every day appliances like
BLYNK app.The home automation system is bulb, fan and chargers. What can be done in the
intended to control all lights and electrical future lies entirely on the ability to connect various
appliances in a home or office adding with the other devices. Use of CCTV cameras, body alarm,
protection from the risks like gas/smoke leakage, water alarm, fire alarm, IoT locks for doors, and
theft (main entrance security).The system has been also heat and CO2 detection for sensing presence.
tested and verified, connection has been made The future of the project is as mentioned is
using Node MCU, Arduino, Relays, Ultrasonic boundless and in fact, if we take the rate of
sensors, Gas sensor, Flame sensor, GSM module. advancement of Technological Process into
Keywords:Arduino, Node MCU, GSM module, consideration, we can easily assume that.
IFTTT, Blynk App. The system setup can be categorized as follows:
1. The hardware system-It acts as a control unit
I. INTRODUCTION which can be used to switch ON/OFF the
Every day modern people expect a new appliances in the home. The hardware system and
device and new technology to simplify their day-to- the router can be connected.
day life.From the 2000s Internet connectivity 2. The Software System-Blynk App, IFTTT App
become a part for many applications to provide and the Google Assistant App constitute the design
access to information and this has only increased of software system and these applications can be
with time, the human interaction and monitoring controlled by using the Android device.
through apps and interface is still developing The control unit consists of the ESp8266
frequently over years. In this era where everyone (NodeMCU) and the board of 4 Channel Relay.
shows how gadgets (smart phones) work, soit is Using ULN 2803 IC, the relay board controls the
easy to use for our household need and security. relays. On a Smartphone, Blynk App
Due to the increasing popularity of smart devices communicates with the NodeMCU and sends the
and internet connectivity designing of home signal through the internet. The digital output pins
automation are going to become simple and more of NodeMCU and Relay board pins are connected.
popular.This project is based to minimise the work Finally, each channel of Relay is connected to each
load and risk through minimising the effort device used for controlling.
DOI: 10.35629/5252-030737793785 Impact Factor value 7.429 | ISO 9001: 2008 Certified Journal Page 3779
International Journal of Advances in Engineering and Management (IJAEM)
Volume 3, Issue 7 July 2021, pp: 3565-3568 www.ijaem.net ISSN: 2395-5252
DOI: 10.35629/5252-030735653568 Impact Factor value 7.429 | ISO 9001: 2008 Certified Journal Page 3780
International Journal of Advances in Engineering and Management (IJAEM)
Volume 3, Issue 7 July 2021, pp: 3779-3785 www.ijaem.net ISSN: 2395-5252
shown in Figure 2 below. The number of devices can be changed depending on the need of the user.
Fig:Ultrasonic sensor
DOI: 10.35629/5252-030737793785 Impact Factor value 7.429 | ISO 9001: 2008 Certified Journal Page 3781
International Journal of Advances in Engineering and Management (IJAEM)
Volume 3, Issue 7 July 2021, pp: 3565-3568 www.ijaem.net ISSN: 2395-5252
Gas Sensor:
A Typical human nose has 400 types of scent receptors enabling us to smell about 1 trillion different
odours. But still, many of us do not have the capacity to identify the type or concentration of gas present in our
atmosphere. This is where Sensors comes in, there are many types of sensors to measure different parameters
and a Gas sensor is one which comes handy in applications where we have to detect the variation in the
concentration of toxic gases in order to maintain the system safe and avoid/caution any unexpected threats.
There are various gas sensors to detect gases like oxygen, Carbon Dioxide, Nitrogen, methane etc. They can also
be commonly found in devices that are used to detect the leakage of the harmful gases, monitor the air quality in
industries and offices etc.
Blynk Application:
Blynk application is an important platform that is incorporated with the iOS and other automation apps
in order to adjust the Arduino, Raspberry Pi and therefore the advantages over the web keep on increasing.
Blynk App is used as a platform for controlling various controllers like Arduino, Raspberry Pi, NodeMCU and
also other internet modules with iOS and Android applications. Blynk application is mainly designed for IoT
based applications. It can control hardware, display sensed data, store data, view the stored data, and perform
many other operations. Primary setup is required for Blynk Application; set it up according to project
requirements. First create a project, and then select the microcontroller that was used in the project. After that
the toggle buttons are created for each relay which is associated with the microcontroller's digital pins used.
Once done, Blynk application sends a token of authentication for the particular project to the registered email Id.
DOI: 10.35629/5252-030735653568 Impact Factor value 7.429 | ISO 9001: 2008 Certified Journal Page 3782
International Journal of Advances in Engineering and Management (IJAEM)
Volume 3, Issue 7 July 2021, pp: 3779-3785 www.ijaem.net ISSN: 2395-5252
The authentication token is noted down. When coding NodeMCU and setting up IFTTT server, the auth-token
must be used.
Ifttt Application:
IFTTT is derived from the conditional programming statement "if this then that." IFTTT is used for
both a website application and a mobile application. The IFTTT provides a common software platform which
connects various applications, services and devices to provide one or more automations involving those
applications, services and devices. The IFTTT app is used to build a bridge between Google Assistant and Blynk
app. First, we have to log in into account before entering the IFTTT application, then the applet should be
created, click "This" option from the menu, select the Google Assistant which is used in this project and type
down the commands that the Google Assistant should respond to. It should control the appliances according to
the user's command. Goggle Assistant's response command can also be typed. To set up the application's "That"
after configuring the trigger. Click the "That" button and select the webhooks option and click the link.
Webhooks will help the users to send commands to server of Blynk App. Then enter the Blynk App server's IP
address in the URL, now enter the Auth- token from Blynk App and then enter the pin number of the
microcontroller to which the device is connected. Then click GET option and choose ‗Putin the method option
and select the content type as Application / JSON'[8] and write [―0''] to turn ON & [―1''] to turn OFF. Now,
the Trigger actions are created. The actions are simply done by sending a command to either switch ON/OFF the
connected device. Once, the signal from the Blynk App is received, the microcontroller is coded with the
operations as commands which it needs to be performed. Blynk App and the microcontroller are interfaced and
the communication should be made through the desired network once it is plugged in. The C language is used
for programming the microcontroller using Arduino IDE.
DOI: 10.35629/5252-030737793785 Impact Factor value 7.429 | ISO 9001: 2008 Certified Journal Page 3783
International Journal of Advances in Engineering and Management (IJAEM)
Volume 3, Issue 7 July 2021, pp: 3565-3568 www.ijaem.net ISSN: 2395-5252
DOI: 10.35629/5252-030735653568 Impact Factor value 7.429 | ISO 9001: 2008 Certified Journal Page 3784
International Journal of Advances in Engineering and Management (IJAEM)
Volume 3, Issue 7 July 2021, pp: 3779-3785 www.ijaem.net ISSN: 2395-5252
DOI: 10.35629/5252-030737793785 Impact Factor value 7.429 | ISO 9001: 2008 Certified Journal Page 3785