You are on page 1of 22

AISSMS COE

PUNE
Google Assistant
Controlled
Automation

Presented By,
Guide by, Jayesh Shaha ,
Prof. V.V. Kulkarni. Sampada Nikam,
Prachi Sawant.
ABSTRACT
The system is implemented using ordinary household appliances
Natural language voice commands are given to the Google Assistant and
with the help of IFTTT (If This Then That) application and the Blynk
application the commands are decoded and then sent to the
microcontroller, the microcontroller in turn controls the relays connected
to it as required, turning the device connected to the respective relay On or
OFF as per the users request to the Google Assistant.
The microcontroller used is NodeMCU (ESP8266) and the
communication between the microcontroller and the application is
established via Wi-Fi (Internet).

Key Words: Home Automation, NodeMCU (ESP8266), IFTTT (If This Than That)
Application, Blynk Application, Internet of Things (IoT), Google Assistant, Voice
Control, Smartphone.
CONTENTS
1. INTRODUCTION
1.1 LITERATURE SURVEY
2.COMPONENT LIST
2.1HARDWARE
2.1.A ARDUINO
2.1.B ESP8266
2.1.C RELAY BOARD
2.2 .SOFTWARE
3.1. IFTTT APPLICATION
3.2. BLYNK APP
3.3. GOOGLE ASSISTANT
4.FLOWCHART
5.IMPLEMENTATION AND SYSTEM DESIGN
6.FUTURE WORK
7.SUMMERY
8.REFERENCES
INTRODUCTION
Home, it is the place where one fancies or desires to be after a long tiring
day. People come home exhausted after a long hard working day. Some are
way too tired that they find it hard to move once they land on their couch,
sofa or bed. So any small device/technology that would help them switch
theirs lights on or off, or play their favorite music etc. on a go with their voice
with the aid of their smart phones would make their home more
comfortable.
To some extent home automation equals to smart home. They both bring out smart living
condition and make our life more convenient and fast. Early home
automation began with labor-saving machines.

.Potamitis, Georgila, Fakotakis, and Kokkinoss, G. (2003) suggested the use of speech to
interact remotely with the home appliances to perform a particular action on behalf of the
user. The approach is inclined for people with disability to perform real-life operations at
home by directing appliances through speech. Voice separation strategy is selected to
take appropriate decision by speech recognition.

.In the year 2006, S. M. AnamulHaque,S. M. Kamruzzaman and Md. Ashraful Islam
proposed a system entitled “A System for Smart-Home Control of Appliances Based on
Time and Speech Interaction” that controls the home appliances using the personal
computer. This system is developed by using the Visual Basic 6.0 as programming
language and Microsoft voice engine tools for speech recognition purpose. Appliances can
be either controlled by timer
or by voice command.
VOICE RECOGNITION CONCEPT
The way of this concept function is when a user speaks out some
command, then the voice is captured through microphones as a input
device.
Once the voice is captured , the usage of the decoding system that
will convert the analog (voice) to digital(binary signals).
Later the input voice is compared with the data stored in the memory
early before the testing.
The output of the comparison is the voice matched with any of the
command trained and certain signal is produced as the input for he
controlling system .
COMPONENT LIST
1. Nodemcu
2. Relay Module (depends upon the
number of devices you want to control)
3. Male-Female Jumper Wires
4. LED (for checking initial connections)
5. Prototype Board (if needed)
6. DC Power supply ( 5V source for
Nodemcu
and Relay module)
7. USB cable for Nodemcu
NodeMCU (ESP8266)

The NodeMCU (Node MicroController Unit) is an open source software and hardware
development environment that is built around a very inexpensive System-on-a-Chip
(SoC) called the ESP8266
The NodeMCU aims to simplify ESP8266 development.

• 64 KB of instruction RAM, 96 KB of data RAM


• External QSPI flash: 512 KB to 4MiB
• WPA/WPA2 authentication, or open networks
• 16 General purpose input/output
RELAY BOARD

A relay is an electromagnetic
switch. It is activated when a small
current of some microampere is
applied to it .

Specifications
1. Input supply 12 VDC @ 336 mA
2. Output eight SPDT relay
3. Relay specification 5 A @ 230 VAC
4. Trigger level 2 ~ 15 VDC
5. Screw terminal connector for easy relay
output and aux power connection
6. Four mounting holes of 3.2 mm each
7. PCB dimensions 152 mm x 60 mm.

Relay Board Wiring Diagram


INTERFACING

5V/1A Output, Mobile Chargers were used to


power the NodeMCU and the Relay Board
Hardware Assembly

to power up the NodeMCU you can use a


normal phone charger
IFTTT APPLICATION

IFTTT derives its name from the programming conditional


statement “if this, then that.”
IFTTT is both a website and a mobile app and has the slogan
"Put the Internet to work for you".
Here, IFTTT application is used to bridge the gap between the
Google Assistant commands and the Blynk app.
ULN 2803 IC
ULN 2803 IC is used as a relay driver. It is a High voltage, high current
Transistor Array IC used especially with Microcontrollers where we need to
drive high power loads.
This IC consists of eight NPN Darlington connected transistors with
common Clamp diodes for switching the loads connected to the output.
This IC is widely used to drive high loads such Lamps, relays, motors etc.

Fig -: a. ULN 2803; b. Darlington Pair


BLYNK APPLICATION

Blynk is a Platform with iOS and Android apps to control Arduino,


NodeMCU and several other boards over the Internet. Blynk was
designed for the Internet of Things.
Blynk App setup is required; we set it up as per the requirement. We
begin by creating a project and then selecting the microcontroller we are
using. After which we create the toggle buttons for each relay associated
with the digital pins of the microcontroller.
Once this is done, Blynk sends an authentication token to the
registered email id for this particular project. This token should be noted
and saved for its use while programming the NodeMCU and setting up
the IFTTT application.
IMPLEMENTATION AND
SYSTEM DESIGN
The whole system is broken down into two main categories are as follow
i. The hardware- It has the capability to connect to the router.
ii. The Software- the IFTTT app and the Google Assistant constitute the software of the
design and these  applications would be connect the Android device.
When the user sends command through google assistant it first goes to the IFTTT there
we given set 
statements that states he IF THIS THEN THAT you can understand this when you see the
architecture of the our system. From there it goes to cloud service it is like MQTT broker
which interacts with the Node 
MCU[ The Control Unit comprises of the microcontroller- NodeMCU and the 4 Channel
Relay board. 
Android device communicates with the microcontroller and sends the desired signal via
the internet.
GOOGLE ASSISTANT

The Google Assistant is a software which allows its users to


control all the apps in their device to be controlled directly
through it. It allows the users to control and command most of
the apps in their devices using voice commands. This
provides more convenience to the people as they only have to
command the google assistant thorough voice command.
FLOWCHART
FUTURE WORK

The aim of this was to propose a cost effective voice controlled


(Google Assistant) home automation controlling general appliances found
in one’s home. The approach discussed in the was successful as GACHA’s
(Google Assistant Controlled Home Automation) design was successfully
implemented. This system is highly reliable and efficient for the aged
people and differently person on a wheel chair who cannot reach the
switch for the switching ON/OFF the device and are dependent on others.
For example, controlling the speed of the fan, more number of
devices can be integrated, like a coffee machine, air conditioner etc. To
make the system respond more faster own private Blynk server can be
made. Well, no system is ever perfect. It always has a scope for
improvement. One just needs to put on a thinking cap and try and make
the system more better.
REFERENCES

[1] IFTTT: https://ifttt.com/discover


https://www.pocketlint.com/SmartHome/SmarHomenew s
[2] Blynk : https://www.blynk.cc/ https://docs.blynk.cc/
[3] NodeMCU: https://nodemcu.readthedocs.io/en/master
https://iotbytes.wordpress.com/nodemcupinout/
[4] Google Assistant: https://assistant.google.com/intl/en_in/
https://www.pocketlint.com/Apps/Appsnews/Googleapp news
[5] IoT: https://internetofthingsagenda.techtarget.com/definition /IoT-
device
[6] ULN2803 IC working: http://www.gadgetronicx.com/working-of-
uln2803-ic/

You might also like