0% found this document useful (0 votes)
153 views8 pages

Home Automation Using Google Assistant Ijariie8241 PDF

This document describes a home automation system that uses an Arduino, ESP8266 Wi-Fi module, and relays to control electrical appliances in a home. The system allows appliances to be controlled remotely over the internet through a web server connected to the Wi-Fi module. The goal is to make the system artificially intelligent by connecting it to a database and allowing it to be controlled using voice commands through the Google Assistant. The system is designed to be scalable and support a wide range of home automation devices to help reduce electricity waste.

Uploaded by

Tasmiya Anjum
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
153 views8 pages

Home Automation Using Google Assistant Ijariie8241 PDF

This document describes a home automation system that uses an Arduino, ESP8266 Wi-Fi module, and relays to control electrical appliances in a home. The system allows appliances to be controlled remotely over the internet through a web server connected to the Wi-Fi module. The goal is to make the system artificially intelligent by connecting it to a database and allowing it to be controlled using voice commands through the Google Assistant. The system is designed to be scalable and support a wide range of home automation devices to help reduce electricity waste.

Uploaded by

Tasmiya Anjum
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Vol-4 Issue-2 2018 IJARIIE-ISSN(O)-2395-4396

UJALA- Home Automation System Using Google


Assistant
Aayush Agarwal1, Anshul Sharma2, Asim Saket Samad3, S Babeetha4
1
Student, Dept. of Information Technology, SRM IST Ramapuram, Chennai, Tamil Nadu, India
2
Student, Dept. of Information Technology, SRM IST Ramapuram, Chennai, Tamil Nadu, India
3
Student, Dept. of Information Technology, SRM IST Ramapuram, Chennai, Tamil Nadu, India
4
Asst. Professor, Dept. of Information Technology, SRM IST Ramapuram, Chennai, Tamil Nadu, India

ABSTRACT
World’s demand for electricity had grown 85% between 2010 and 2017 this increase is more than today’s total use of
electricity in India, USA, Japan, Australia combined. We can’t decrease the electricity growth rate but we can lessen the
amount of electricity wasted each year by turning off our home appliances when not in use. This project presents a design
and prototype of Home Automation system that will use ESP8266 Wi-Fi module as a network provider in connecting with
other appliances. The proposed system has two main components. The first main part is Arduino, which controls and
manages input of Wi-Fi module. The other main component is Wi-Fi module through Wi-Fi module a web server can be
added to the module which will help in controlling of devices over Internet. One server can manage many hardware
interface modules as long as it exists on Wi-Fi network coverage. It supports a wide range of home automation devices like
power management components, and security components. We want to make this automation system centralized and
artificially intelligent. Further we will connect the specific home to our database and it can be accessed from anywhere
through a specific IP address or website. Also, an app would be developed which will allow the user to control their
devices using the Google Assistant.

Keywords: Automation, Arduino, ESP, Relay, Google Assistant.

1. INTRODUCTION
Home automation is also named as domestics or Smart home .It involves the control and automation of lighting,
heating, ventilation, air conditioning and security, as well as home appliances. Wi-Fi is often used for remote
monitoring and control. Home devices, when remotely monitored and controlled via Internet is a part of Internet of
things. Modern systems generally consists of switches and sensors connected to a central hub called a gateway from
which the system is controlled with a user interface that is interacted either with a mobile phone software ,tablet,
computers or a web interface ,often but not always via internet cloud services. World’s demand for electricity had
grown 85% between 2010 and 2017.

Figure 1.1 : Home Automation

This increase is more than today’s total use of electricity in India, USA, Japan , Australia combined. We can’t
decrease the electricity gross electricity wasted each year by turning off our home appliances when not in use. World’s
demand for electricity had grown 85% between 2010 and 2017 this increase is more than today’s total use of
electricity in India, USA, Japan, Australia combined. We can’t decrease the electricity growth rate but we can lessen
the amount of electricity wasted each year by turning off our home appliances when not in use. Unlike most of
available home automation system in the market the proposed system is scalable that one server can manage many
8241 www.ijariie.com 4009
Vol-4 Issue-2 2018 IJARIIE-ISSN(O)-2395-4396

hardware interface modules as long as it exists on Wi-Fi network coverage. System supports a wide range of home
automation devices like power management components, and security components.

2. SYSTEM ARCHITETURE
The flowchart explains the home automation system. The controlling device will be connected with the Wi-Fi module
through hotspot created by the module (fig 1.2). The module will be connected with the microcontroller .The
controller will give the required command to the relay board and the relay board acts as switch between the circuit.
The appliances will be connected with the relay board. Now, the appliances can be controlled using internet of things.

Figure 2.1: Block diagram of Home Automation System

3. LITERATURE SURVEY

3.1 Review of Related Literature

When people think about home automation, most of them may imagine living in a smart home: One remote controller
for every household appliance, cooking the rice automatically, starting air conditioner automatically, heating water for
bath automatically and shading the window automatically during night. 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. Self-contained electric or gas powered home appliance became viable in
the 1900s with the introduction of electric power distribution led to the introduction of washing machine (1904), water
heater (1889),refrigerator, sewing machines, dishwashers and clothes dryers. As per our survey currently there exists
system neither at cheaper rates nor easy to handle. Various systems are hard to install, difficult to use and maintain.
Current systems are generally proprietary, closed and not very user friendly Based on Arduino or GSM or low cost
home security system and home automation system.

3.2 Review of Foreign Study

In their paper, Tan, Lee and Soh (2002) proposed the development of an Internet-based system to allow monitoring of
important process variables from a distributed control system (DCS). This paper proposes hardware and software design
considerations which enable the user to access the process variables on the DCS, remotely and effectively rent
designations.

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.

8241 www.ijariie.com 4010


Vol-4 Issue-2 2018 IJARIIE-ISSN(O)-2395-4396

Jawarkar, Ahmed, Ladhake, and Thakare (2008) propose remote monitoring through mobile phone involving the use of
spoken commands. The spoken commands are generated and sent in the form of text SMS to the control system and
then the microcontroller on the basis of SMS takes a decision of a particular task.

Prof. Era Johri Dept. Of Information and Technology K.J.Somaiya College of Engineering VIDYAVIHAR, MUMBAI
in (2001) have successfully completed the project on “Remote Controlled Home Automation”.

4. HARDWARE
4.1 ARDUINO
Arduino is an open source computer hardware and software company, project and user community that designs and
manufactures single board microcontroller’s kits for building digital devices and interactive objects that can sense
control object in world. Arduino board design use a variety of microprocessor and controller .The board are equipped
with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards and other
circuits. The board features serial communication interface, including universal serial bus (USB) on some models,
which are also used for loading program from personal computers. The microcontroller are typically programmed using
a dialect feature from the programming language C &C++.

Figure 3.1: Arduino Board


The Arduino Mega is a microcontroller board based on the ATmega1280 (datasheet). It has 54 digital input/output
pins (of which 14 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal
oscillator, a USB connection, a power jack, an ICSP header, and a reset button fig(3.3). 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 Mega is compatible with most shields designed for the Arduino Duemilanove or
Diecimila.

Figure 3.2: Pin explanation of Arduino


8241 www.ijariie.com 4011
Vol-4 Issue-2 2018 IJARIIE-ISSN(O)-2395-4396

Arduino UNO is a microcontroller board based on the ATmega328P (datasheet). It has 14 digital input/output pins (of
which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, 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... You can tinker with your
UNO without worrying too much about doing something wrong, worst case scenario you can replace the chip for a
few dollars and start over again.

"Uno" means one in Italian and was chosen to mark the release of Arduino Software (IDE) 1.0. The Uno board and
version 1.0 of Arduino Software ( IDE) were the reference versions of Arduino, now evolved to newer releases. The
Uno board is the first in a series of USB Arduino boards, and the reference model for the Arduino platform; for an
extensive list of current, past or outdated boards see the Arduino index of boards .

4.2 ESP8266 WIFI MODULE

The ESP8266 is a low cost Wi-Fi chip with full TCP/IP stack and microcontroller unit. This small module allows
microcontroller to connect to a Wi-Fi network and make simple TCP/IP connection using Hayes style commands, The
ESP8266 with 1MiB of built in flash, allowing for single chip device capable of connecting to Wi-Fi. Fig 3.4 shows
theESP8266 module structure.

Figure 4.2: - ESP8266 WIFI MODULE

Figure 4.3: - PIN Diagram explanation of ESP8266

The various Features of ESP8266 WIFI MODULE are as follows: -

• Processor : L106 32-bit Reduced instruction set computer processor core based on Tensilica Xtensa Diamond
Standard 106 micro running at 80 MHZ*

8241 www.ijariie.com 4012


Vol-4 Issue-2 2018 IJARIIE-ISSN(O)-2395-4396

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


• External QSPI flash: 512 KiB to 4MiB
• WPA/WPA2 authentication, or open networks
• 16 General purpose input/output pins
• Serial Peripheral Interface Bus
• Inter- Integrated circuit
• Inter-IC sound interface with sharing pins with general purpose input output pins
• 10 bits Analog to digital converter

Figure 4.4: PIN Diagram explanation of ESP8266

4.3 RELAY BOARD


A relay is an electrically operated switch. Many relay use an electromagnet to, mechanically operates a switch, but other
operating principles are also used, such as solid state relay. Relay are used where it is necessary to control a circuit by a
separate low power signal, or where several circuits must be controlled by one signal. Relay were used extensively in
telephone exchange and early computers to perform logical operation.

Figure 4.5: - Relay Board

A type of relay that can handle the high power required to directly control an electronic motor or other loads is called a
contactor. Solid state relay controls power circuit with no moving parts, instead using a semiconductor device to
perform switching. Relay calibrated operating characteristics and sometimes multiple operating coil are used to protect
electrical circuits from overload or faults; in modern electric power system these functions are performed by digital
instruments still called “ protective relay” . Fig 3.6 shows the 8-channel relay board.

8241 www.ijariie.com 4013


Vol-4 Issue-2 2018 IJARIIE-ISSN(O)-2395-4396

Figure 4.5: PIN description of Relay Board

4.4 CHANNEL RELAY BOARD


Description

8 Channel Relay Board is a simple and convenient way to interface 8 relays for switching application in your project.
Input voltage level support TTL as well as CMOS. Easy interface with Microcontrollers based projects and analog
circuits.

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. Header connector for connecting power and trigger voltage
6. LED on each channel indicates relay status
7. Screw terminal connector for easy relay output and aux power connection
8. Four mounting holes of 3.2 mm each
9. PCB dimensions 152 mm x 60 mm

5. SOFTWRARE

5.1 ARDUINO IDE


A minimal Arduino C/C++ sketch, as seen by the Arduino IDE programmer, consist of only two functions.

• Setup (): This function is called once when a sketch starts after power-up or reset. It is used to initialize variables,
input and output pin modes, and other libraries needed in the sketch.

• Loop (): After setup () has been called, function loop () is executed repeatedly in the main program. It controls the
board until the board is powered off or is reset.

Most Arduino boards contain a light-emitting diode (LED) and a load resistor connected between pin 13 and ground,
which is a convenient feature for many tests and program functions. A typical program for a beginning Arduino
programmer blinks a LED repeatedly.

This program uses the functions pin Mode (), digital Write (), and delay (), which are provided by the internal libraries
included in the IDE environment. The program is usually loaded in the Arduino by the manufacturer. Arduino IDE
and C language allow the programming of the low level registers in the atmega328P. Instructions like
DDRB=0b00000001 for changing PORTB input/output pins are allowed. Fig 4.1 shows the basic program of Arduino
IDE.

8241 www.ijariie.com 4014


Vol-4 Issue-2 2018 IJARIIE-ISSN(O)-2395-4396

Figure 5.1: - ARDUINO IDE

5.2 WEB SERVER

A web server (sometimes called an HTTP server or application server) is a program that serves content using the HTTP
protocol. This content is frequently in the form of HTML documents, images, and other web resources, but can include any
type of file. The content served by the web server can be pre-existing (static content) or generated on the fly (dynamic
content).

In order to be considered a web server, an application must implement the HTTP protocol. Applications built on top of web
servers (such as blogging software, forums, or wikis) belong in the separate web software category. A user agent,
commonly a web browser or web crawler, initiates communication by making a request for a specific resource using HTTP
and the server responds with the content of that resource or an error message if unable to do so. The resource is typically a
real file on the server's secondary storage, but this is not necessarily the case and depends on how the web server is
implemented. While the primary function is to serve content, a full implementation of HTTP also includes ways of
receiving content from clients. This feature is used for submitting web forms, including uploading of files. Web servers are
not only used for serving the World Wide Web. They can also be found embedded in devices such as printers, routers,
webcams and serving only a local network. The web server may then be used as a part of a system for monitoring or
administering the device in question. This usually means that no additional software has to be installed on the client
computer, since only a web browser is required (which now is included with most operating systems).

5.3 ESP8266 FRAMEWORK

ESP modules are available from a variety of sources, and the firmware contained in the ESP8266 chips on the modules
is almost always outdated and often of questionable origin. The firmware "updates" and tools that are available from
these same sources are also sometimes suspect. Consequently, it is the aim of this article to document a procedure for
downloading the latest available firmware directly from Espresso if and installing it on an ESP8266 using the flash tool
provided by Espresso. In order to update the firmware on any ESP8266, it is necessary to have it properly powered and
connected to a PC. In addition, a means of resetting the IC and putting it in the download mode must be provided. The
schematic diagram and photograph below show the recommended setup; note that the wire colors in the schematic
correspond to the wire colors.

5.4 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.

6. FUTURE ENHANCEMENT
Android app will also develop for easily use. In Android app there will be direct buttons for ON or OFF the system or to
receive the OTP. For more security purpose camera module can also be implemented on the system. If any person
attempt to enter in home with more than three time wrong password then at that time camera module will be activate.
And camera module will capture the image of person who trying to attack on system. It can use antivirus so that hacking
of the system can be difficult.
8241 www.ijariie.com 4015
Vol-4 Issue-2 2018 IJARIIE-ISSN(O)-2395-4396

7. PROBLEMS FACED
In this system Wi-Fi module is a very important part for communication between mobile phone and microcontroller. Wi-
Fi module requires only 3.3v power whereas the Relay board needs more power. Thus separate power will be given to
both the relay and microcontroller. Connection between the microcontroller and Wi-Fi module and relay should not be
loose if it is loose the system will not work properly.

8. CONCLUSIONS
In this paper, a novel architecture for low cost and flexible home Automation system using Arduino microcontroller is
proposed and implemented. Overall Arduino is easy to understand & its coding is easy. By implementing this type of
system we can ensure that the energy conservation can be done. By help of this system we can increase the efficiency of
the appliances .we can have the complete control over the home appliances from a long distance. This will Increase the
comfortability of human being and it will reduce the Human efforts.

9.REFERENCES

1) Raj Sharma, Chirag, Pranjalkatara, Vishnu Shankar “Proceedings of IEEE TechSym 2014 Satellite Conference
VIT University, Paper on Advanced Low-Cost Security system using sensors, Arduino and GSM communication
module”.
2) DeepaliJavale, Mohd. Mohsen, Shreerang Nandewar, MayurShingate, “Home Automation and Security using
Android ADK”, March, 2013.
3) E. Yavuz, B. Hasan, I. Serkan and K. Duygu. "Safe and Secure PIC Based Remote Control Application for
Intelligent Home”, a. Volume 7, No. 5, May-2007
4) N. Sriskanthan and Tan Karand. "Bluetooth Based Home Automation System". Journal of Microprocessors and
Microsystems, Vol. a. 26, pp.281-289, 2002.
5) Kusuma S M, Assistant Professor, Department of telecommunication, MSRIT, Bangalore, India. “Home
Automation Using Internet of Things” July 1999
6) NiharikaShrotriya, Anjali Kulkarni, PritiGadhave, International Journal of Science, Engineering and Technology
Research (IJSETR), “SMART HOME USING WI-FI” December 1996

8241 www.ijariie.com 4016

You might also like