0% found this document useful (0 votes)
10 views48 pages

Go Home

The project report outlines the development of a home automation system called 'Go Home' that allows users to control home appliances via Wi-Fi/Bluetooth through a smartphone application. The system aims to provide a user-friendly solution for elderly and disabled individuals, eliminating the need for manual operation of devices. The report includes sections on project management, system requirements, analysis, design, implementation, and testing, highlighting the advantages of the proposed system over existing home automation solutions.

Uploaded by

diyanamya
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)
10 views48 pages

Go Home

The project report outlines the development of a home automation system called 'Go Home' that allows users to control home appliances via Wi-Fi/Bluetooth through a smartphone application. The system aims to provide a user-friendly solution for elderly and disabled individuals, eliminating the need for manual operation of devices. The report includes sections on project management, system requirements, analysis, design, implementation, and testing, highlighting the advantages of the proposed system over existing home automation solutions.

Uploaded by

diyanamya
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/ 48

A

PROJECT REPORT
ON

Go Home

Submitted by
Desai Krisha P(196150316008)
Modi Hetvi M(196150316034)

In partial fulfilment for the award of the degree

of

DIPLOMA IN ENGINEERING
in
Information Technology

Government Polytechnic for Girls, Surat

Gujarat Technological University, Ahmedabad

March 2022
Government Polytechnic for Girls, Surat
Athwagate, Surat-395001

CERTIFICATE

This is to certify that the project report, submitted along with the project entitled Go Home
has been carried out by Desai Krisha P(196150316008), Modi Hetvi M(196150316034)
under my guidance in partial fulfilment for the degree of Diploma in Information
Technology 6th Semester of Gujarat Technological University, Ahmedabad during the
academic year 2021-22. These studentshave successfully completed project activity under
my guidance.

External Examiner:

Mr. Pragnesh Patel Ms. Jigna J. Desai


Guide, Lecturer Head
IT Department IT Department
GPG, Surat GPG, Surat
ACKNOWLEDGEMENT

We are greatly thankful to Government Polytechnic for Girls Surat for allowing us to develop this project.
Then our humble thanks to all professors and staff members of our college for co-operating and keeping
interested extended by them throughout our diploma engineering course. This is the base that they have
built, which sustains such a good job.

We deploy our gratitude for project guidance to MRS. JIGNA DESAI (H.O.D), MR. PRAGNESH
PATEL and other faculty members for their kind help throughout this project which ensures no words to
express our gratitude to our guides and other faculties without their moral support and encouragement.

We take this opportunity to thank all lecturers who have directly or indirectly helped in our project. We
pay our respect and love to our parents and all other family members and friends for their love and
encouragement throughout our careers. Last but not least we express our thanks to our friends for their
co-operation and support.

Krisha Desai(196150316008)

Hetvi Modi(196150316034)

I
ABSTRACT

This work demonstrates a simple home automation system that allows the user to control home appliances
through Wi-Fi/Bluetooth. Lights and fans are the appliances that can be used in this system. In this system,
the appliances' controlling and monitoring can be performed by using a smartphone-based Android
Application. The concept behind this is to manage home devices with voice. There are several devices
accessible to try and do that on the market. Build your assistant which will do the work for you. The idea
behind this can be to control home devices with voice. There is a unit several devices out there on the
market to try and do that. However, creating your own is awful. Build an assistant that may do the work
for you. Simply your assistant needs voice commands. Consistent with voice command home appliances
can switch ON/OFF.

II
Table of Contents

Table of Contents ............................................................................................III


Chapter 1: Introduction .................................................................................... 1
1.1 Project Summary ........................................................................................................ 1
1.2 Purpose ....................................................................................................................... 1
1.3 Scope .......................................................................................................................... 1
1.4 Report Outline ............................................................................................................ 2
Chapter 2: Literature Review........................................................................... 4
2.1 Existing System .......................................................................................................... 4
2.2 Problems in existing system ....................................................................................... 4
2.3 Problem Solution:....................................................................................................... 4
Chapter 3: Project Management ...................................................................... 5
3.1 Project Planning and scheduling ................................................................................ 5
3.1.1 Project Development Approach........................................................................... 5
3.1.2 Project Plan .......................................................................................................... 7
3.1.3 Schedule Representation...................................................................................... 8
Chapter 4: System Requirements Specification .............................................. 9
4.1 functional Requirement .............................................................................................. 9
4.2 Non-functional requirements.................................................................................... 10
4.3 Hardware and Software Requirement ...................................................................... 10
Chapter 5: System Analysis ............................................................................11
5.1 Feasibility Study ....................................................................................................... 11
5.1.1 Technical Feasibility........................................................................................ 11
5.1.2 Economical Feasibility .................................................................................... 11
5.1.3 Operational Feasibility .................................................................................. 11
5.2 Function of System................................................................................................... 12
5.2.1 Use Case Diagram ............................................................................................. 12
5.3 Data Modeling .......................................................................................................... 13
5.3.1 Class Diagram.................................................................................................... 13

5.3.2 E-R Diagram ...................................................................................................... 14

III
Table of Contents

5.3.3 Activity Diagram…............................................................................................15

5.4 Functional and Behavioral Modeling ........................................................................16


5.3.4 Data Flow Diagram ........................................................................................... 16
Chapter 6: System Design.............................................................................. 18
6.1 Database Schema Design ......................................................................................... 18
Chapter 7: Implementation …….………………………………………….. 19
Chapter 8: Testing ….…………….......…………………………………… 36
Chapter 9: Conclusion and Future Work …………………………………... 38

IV
List of Figures

Figure 1: Prototype Model .................................................................................................. 6


Figure 2 : Use Case Diagram ............................................................................................. 12
Figure 3 : Class diagram .................................................................................................... 13
Figure 4 : E-R Diagram ...................................................................................................... 14
Figure 5: Activity Diagram ................................................................................................ 15
Figure 6 : DFD level 0 ....................................................................................................... 16
Figure 7 : DFD level 1 ………………………………………………………………….. 17
Figure 8 : LED connection ………………………….……………………………….….. 19
Figure 9 : LCD connection ………………………….……………………………….….. 19
Figure 10 : Shouldering ………………………….………….……………………….….. 20
Figure 11 : Bulb holder with bulb ………………………..….……………………....….. 20
Figure 12 : Switch Connection on breadboard …..………….……………………….….. 21
Figure 13 : Node MCU ………………………….………….……………………….….. 21
Figure 14 : One Channel Relay Circuit …………..…………………...………………… 22
Figure 15 : Circuit ………………………………..…………………...………………… 22
Figure 16 : Circuit(Manually turning on light via switch) ……………………………… 23
Figure 17 : Circuit(Both bulb high) ……………………………………...……………… 23
Figure 18 : Creating Applet ……………………………………………………………… 24
Figure 19 : Creating a Trigger …………………………………………………………… 24
Figure 20 : Creating a simple phrase to turn on light ……………………………………. 25
Figure 21 : If this, then that ……………………………………………………………… 25
Figure 22 : We need to select webhooks service to make web request …………………. 26
Figure 23 : Creating a web request to turn on light ……………………………………… 26
Figure 24 : If this, then that ……………………………………………………………… 27
Figure 25 : Creating a simple phrase to turn off light …………………………………… 27
Figure 26 : Creating a web request to turn off light ……………………………………... 28
Figure 27 : Creating a simple phrase to turn on fan ……………………………………... 28
Figure 28 : Creating a web request to turn on fan ……………………………………….. 29
Figure 29 : Creating a simple phrase to turn off fan ……………………………………... 29
Figure 30 : Creating a web request to turn off fan ……………………………………….. 30
Figure 31 : Google Assistant (turning on light) ………………………………………….. 30
Figure 32 : Google Assistant (turning off light) …………………………………………. 31
Figure 33 : Google Assistant (turning on fan) …………………………………………… 31
Figure 34 : Google Assistant (turning off fan) …………………………………………… 32
Figure 35 : Light ON via Blynk IoT application …………………………………………. 32
Figure 36 : Light ON/OFF via Blynk IoT application ……………………………………. 33
Figure 37 : Arduino UNO ………………………………………………………………… 33
V
Figure 38 : Voltage Sensor ……………………………………………………………….. 34
Figure 39 : Battery ……………………………………………………………………….. 34
Figure 40 : Circuit ………………………………………………………………………… 35
Figure 41 : Voltage Circuit output ………………………………………………………... 35

VI
List of Tables

Table 1: Project plan …………………………………………………………………….. 7


Table 2: Gantt Chart ……………………………………………………………………...8
Table 3 : User module ........................................................................................................ 9
Table 4 : User Data dictionary ........................................................................................... 18
Table 5: Appliance Data dictionary ................................................................................... 18
Table 6: Mobile Data dictionary ........................................................................................ 18
Table 7 : Test Case ……………………………………………………………………… 36

VII
196150316008
196150316034
Go Home

Chapter 1: Introduction

1.1 Project Summary


The main intention of this project is to design a home automation system using an Arduino board with
Bluetooth/Wi-Fi technology and to control it remotely by an android application on a smartphone. The proposed
system uses a Bluetooth/Wi-Fi Module, which is interfaced with the Arduino board at the end of the receiver.
At the transmitter end, there will be a google assistant which uses voice commands to control appliances. Also,
there will be a built-in button to control the appliance. When the user provides the voice command “Turn On
Light”, the light2 will be turned On.

1.2 Purpose

Previously, it was a tedious job for old age people to turn on-off lights, fans, or any other electrical appliances.
Also, it was costly to buy a switchboard, to repair the switch. So, we are here with a solution by making an
android application name “GO Home”.

Use “GO HOME” to make your home a more comfortable, livable space. The proposed system eliminates the
complication of wiring in the case of wired automation. The operating range is more than the Bluetooth. The
existing system does not allow remote monitoring and controlling of appliances. But wherein the proposed
system uses the Wi-Fi-based home automation system it allows monitoring and controlling the appliances. The
home automation of the existing system in the 1990s, the people in every home has electronic devices which
are controlled manually but in our proposed system we are controlling electronic appliances through remotely.
The IoT application has become this popular in this 21st century is due to the dominant use of the internet, the
evolution of smartphone technology, and raised standard of mobile communication.

The purpose of the system is to stimulate smart, understandable, and accessible solutions and services for the
personal environment. Make it suitable for disabled and elderly people.

1.3 Scope

Home automation is the wireless and remote control of different aspects of a living space like lighting,
temperature, security, entertainment, etc. It performs with the help of connected smart devices and appliances
that use communication technology like WIFI, Node MCU, Arduino, and Ethernet, to share data and facilitate
the efficient management of power consumption. It has advantages like:

Voice Over: We can provide a Voice command to On/Off the appliance.

Low Cost: We are providing a low-cost application as compared to the devices available in the market like
Alexa, Google home.

GPG (IT) Page : 1


196150316008
196150316034
Go Home

1.4 Report Outline

The next chapters will cover the following contents:

Chapter 2: Literature view

It shows the contrast between the existing system and the system we have made. It shows us why we need to
bring the same system which is already on the market. It shows us the drawbacks of the existing system and
how will we overcome that drawback OR the advantages of our system.

Chapter 3: Project Management

Project Management includes Project planning, project scheduling, Project Development approach, Project
plan, and Schedule representation. The Project Development approach tells us about which development model
we are using in our system. The project plan represents the time duration in which different tasks of the project
have been accomplished. Schedule representation shows the graphical representation of the project plan.

Chapter 4: System Requirement Specification

In this chapter, we will discuss Functional and Non-Functional Requirements. Also, we will discuss the
Hardware and Software requirements of our project.

Chapter 5: System Analysis

In this chapter, we will discuss feasibility study(i.e, Technical feasibility, Economical feasibility, Operational
feasibility). Also, we will discuss the Function of our system and Data modeling.

Chapter 6: System Design

In System design, we will discuss the Database schema design that shows the table of data dictionaries of our
system.

Chapter 7 : Implementation

In Implementation, we will add screenshots of hardware and software with their outputs.

Chapter 8 : Testing

In testing, we will add test case based on different input and outputs.

GPG (IT) Page : 2


196150316008
196150316034
Go Home

Chapter 9 : Conclusion and future work

In this, we will write a small note of our project conclusion which will include what we have done, how we
have done it, etc. Also, we will give references for our future work.

GPG (IT) Page : 3


196150316008
196150316034
Go Home

Chapter 2: Literature Review

2.1 Existing System

Presently, we find problems in the existing system. It is too difficult for older people to get up and power on
the lights and fans, as they are having many physical problems. In the market there are many homes automation
systems like Echo Dot, Google Home, and Qubo, the only problem is they occupy space. The other reason is
they can’t operate this device when they are outside of the home. Like if they want to turn on the light while
reaching the home so they don’t need to worry about what’s hiding in the shadow and they can’t control the
temperature of their home. There is also an application available in the market but there are some drawbacks
regarding them.

2.2 Problems in the existing system

Today, it has never been easier or more affordable to purchase and install smart devices and home automation
systems. In echo dot, it is not able to understand our commands 70-80%. Secondly, it has to plug in all the time
and the same for google home also which consumes lots of energy. In addition, there is base sound is also low.
In applications like Smart Things, Mi control, and Philipps Hue they have some or the other problem. In Mi
control there is no option for ceiling light which is an important part of our home, coming to Smart Things it
only connects to Samsung products, so only for that no one is going to purchase that company appliance, and
in Philipps Hue, we can’t even login in their application without control box which costlier and everyone can
afford it.

2.3 Problem Solution:

While people are pursuing the ever-growing high quality of their lives today. This leads to more and more
facilities and home appliances being poured into their buildings. How to control and manage these versatile
facilities and appliances in a house?

Usually, conventional wall switches are located in different corners of a house and, thus necessitate the need
for manual operations like pressing to turn the loads on or off. It becomes very difficult for the elderly or
physically handicapped people to operate them. So, we provide a feature of voice-over so they can conveniently
operate it by their phone. We use an android application for the voice-over, so it doesn’t occupy space and also
saves lots of money and middle-class people can also afford it. We also provide all company appliances to
connect easily.

GPG (IT) Page : 4


196150316008
196150316034
Go Home

Chapter 3: Project Management

3.1 Project Planning and scheduling


3.1.1 Project Development Approach

Prototype Model
The prototype model requires that before carrying out the development of actual software, a working prototype
of the system should be built. A prototype is a toy implementation of the system. A prototype usually turns out
to be a very crude version of the actual system, possibly exhibiting limited functional capabilities, low reliability,
and inefficient performance as compared to the actual software. In many instances, the client only has a general
view of what is expected from the software product. In such a scenario where there is an absence of detailed
information regarding the input to the system, the processing needs, and the output requirement, the prototyping
model may be employed.

In this process model, the system is partially implemented before or during the analysis phase thereby allowing
the customers to see the product early in the life cycle. The process starts by interviewing the customers and
developing the incomplete high-level paper model. This document is used to build the initial prototype
supporting only the basic functionality as desired by the customer. Once the customer figures out the problems,
the prototype is further refined to eliminate them. The process continues until the user approves the prototype
and finds the working model to be satisfactory.

GPG (IT) Page : 5


196150316008
196150316034
Go Home

Figure 1: Prototype model

The Prototyping Model should be used when the requirements of the product are not clearly understood or are
unstable. It can also be used if requirements are changing quickly. This model can be successfully used for
developing user interfaces, high technology software-intensive systems, and systems with complex algorithms
and interfaces. It is also a very good choice to demonstrate the technical feasibility of the product.

Why do we use this model for our system?

➢ The customers get to see the partial product early in the life cycle. This ensures a greater level of
customer satisfaction and comfort.

➢ Missing functionalities can be easily figured out.

➢ Errors can be detected much earlier thereby saving a lot of effort and cost, besides enhancing the
quality of the software.

GPG (IT) Page : 6


196150316008
196150316034
Go Home

3.1.2 Project Plan

Date Action Month

15/06/21 to 20/06/21 Find definition, Analyze the June


definition

21/06/21 to 29/06/21 Abstract Generation, Analysis June


of system

02/07/21 to 16/07/21 Development approach July

17/07/21 to 20/07/21 Work Division July

22/07/21 to 05/08/21 Functionalities & July/August


characteristics of the system

10/08/21 to 20/08/21 Diagrams August

21/08/21 to 24/08/21 Design August

25/08/21 to 30/09/21 Documentation August/September

2/10/21 to 15/3/22 Implementation October/March

15/3/22 to 30/3/22 Testing March

Table 1: project plan

GPG (IT) Page : 7


196150316008
196150316034
Go Home

3.1.1 Schedule Representation

Work Task Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar
Find definition,
analyse the
definition
Abstract
generation,
analysis of the
system.
Development
approach
Work Division
Functionalities
and
characteristics
of the system
Diagrams

Design

Documentation

Implementation

Testing

Table 2 : Gantt Chart

GPG (IT) Page : 8


196150316008
196150316034
Go Home

Chapter 4: System Requirements Specification


4.1 Functional Requirement

Functional requirement denotes the function that a developer must build into the software to achieve use-
case. It describes the relationship between input and output. The functional requirement for Go Home is
thus, according to the use-case described below:

➢ User Module

FR1: Add/Remove/Update Input: Users has to give appliance name


and its ID to add, they can remove the
appliance.
Process: System add/ remove/ update the
appliance done by the user.
Output: Display the added, removed, and
updated in their phone.
FR2: Light ON-OFF Input: Users have to give voice command
or manual switch or else using blynk IOT
application according to their needs.
Process: It will Modify the value as the
user has given.
Output: Display the command performed
on the appliance.
FR3: Voltage Measurement Input : User have to give appliance
connection.
Process : It will calculate the voltage as per
user input.
Output : Display the calculated output.

Table 3 : User module

GPG (IT) Page : 9


196150316008
196150316034
Go Home

4.2 Non-functional requirements

Efficiency: The standard home automation products that give you active control, some products actively
monitor the system and the homeowner with knowledge, insight, and guidance to achieve greater control and
energy efficiency. In addition to this, there is a voltage and current measurement control function so, the owner
can save energy by letting himself know which appliance uses more electricity.

Security: Tap your finger to turn on the lights when you get home so, no need to worry about what’s hiding in
the shadows, or your pathways. Or automate to turn on light when you aren’t home to look like you are to ward
off potential robbers.

4.3 Hardware and Software Requirement

Hardware Requirement(minimum requirement):


• Arduino Uno
• Relay circuit
• Connecting wires
• LED
• Fan
• NodeMCU
• Voltage Sensor
• System requirement
o Processor: 10th Gen i5
o Installed Memory : 6 GB RAM, 512 GB SSD
o System type: 64-bit operating system

Software Requirement(minimum requirement)


• Arduino 1.6.9 Compiler
• Blynk IoT
• Google Assistant
• Operating System: Microsoft Windows 10

GPG (IT) Page : 10


196150316008
196150316034
Go Home

Chapter 5: System Analysis

5.1 Feasibility Study


A feasibility study is one of stage among important four stages of the Software Project Management Process.
As the name suggests feasibility study is the feasibility analysis or it is a measure of the software product in
terms of how beneficial product development will be for the organization from a practical point of view. A
feasibility study is carried out based on many purposes to analyze whether software products will be right in
terms of development, implantation, the contribution of the project to the organization, etc.

5.1.1 Technical Feasibility

In Technical Feasibility current resources both hardware software along required technology are
analyzed/assessed to develop the project. This technical feasibility study reports whether there exists correct
required resources and technologies which will be used for project development. Along with this, the feasibility
study also analyses the technical skills and capabilities of the technical team, existing technology can be used
or not, maintenance and up-gradation is easy or not for chosen technology, etc.

5.1.2 Economical Feasibility

In the Economic Feasibility study cost and benefit of the project are analyzed. This means under this feasibility
study a detailed analysis is carried out what will be the cost of the project for development which includes all
required costs for final development like hardware and software resources required, design and development
cost and operational cost, and so on. After that, it is analyzed whether the project will be beneficial in terms of
finance for the organization or not.

5.1.3 Operational Feasibility

In Operational Feasibility degree of providing service to requirements is analyzed along with how much easy
the product will be to operate and maintain after deployment. Along with these other operational scopes are
determining the usability of the product, determining suggested solution by the software development team is
acceptable or not, etc.

GPG (IT) Page : 11


196150316008
196150316034
Go Home

5.2 Function of System


5.2.1 Use Case Diagram

A use case is initiated by the user with a particular goal in mind and completed successfully when the goal is
satisfied. It describes the sequence of interactions between the actor and the system necessary to deliver the
service that satisfies the goal.

Use cases are used to a common understanding with the systems end-users and the domain experts. The purpose
of the use case diagram is to capture the dynamic aspect of a system. The use cases do not mention any specific
algorithm to be used or the internal data representation, internal structure of the software, etc.

The utility of the use case is represented by Ellipses. They along with the associated text description serve as
the type of requirement specification of the system and from the core model to which all other models must
conform.

Figure 2: Use case diagram

GPG (IT) Page : 12


196150316008
196150316034
Go Home

5.3 Data Modeling

5.3.1 Class Diagram

Class diagrams are the main building blocks of every object-oriented method. The class diagram can be used
to show the classes, relationships, interface, association, and collaboration.

UML is standardized in class diagrams. Since classes are the building block of an application that is based on
OOPs, the class diagram has an appropriate structure to represent the classes, inheritance, relationships, and
everything that OOPs have in their context.

It describes various kinds of objects and the static relationship between them.

The main purpose to use class diagrams are:


• This is the only UML that can appropriately depict various aspects of the OOPs concept.
• Proper design and analysis of applications can be faster and more efficient.
• It is the base for deployment and component diagram.

Figure 3 : Class diagram

GPG (IT) Page : 13


196150316008
196150316034
Go Home

5.3.2 E-R Diagram

ER diagrams represent a set of real-world entities and the logical relationships among them. This diagram
depicts entities, the relationships between them, and the attributes pictorially to provide a high-level
description of conceptual data models.

Once an ER diagram is created, the information represented by it is stored in the database. The information
depicted in an ER diagram is independent of the type of database and can later be used to create a database of
any kind such as a relational database, network database, or hierarchical database.

ER diagram includes data objects and entities, data attributes, relationships, cardinality, and modality.

Figure 4 : ER Diagram

GPG (IT) Page : 14


196150316008
196150316034
Go Home

5.3.3 Activity diagram

The activity diagram is probably one modeling element that was not present in any of the predecessors of
UML.
Activity diagrams are a kind of behavior diagram. UML activity diagrams are somewhat similar to UML state
machine diagrams.
The use case is also concerned with the behavior of the system. So activity may be somewhat related to the
use case. Activity modeling means to describe sequencing and conditions of actions. Such descriptions
commonly are control
flow and object flow models.

Activity diagrams are normally employed in business process modeling. This is carried out during the initial
state of requirement analysis and specification. Activity diagrams can be very useful to understand complex
processing activities involving many components.

An activity is a state with an internal action and one or more outgoing transitions which automatically follow
the termination of the internal activity. If an activity has more than one outgoing transition, then this must be
identified through conditions.

Figure 5: Activity Diagram

GPG (IT) Page : 15


196150316008
196150316034
Go Home

5.4 Functional and Behavioral Modeling

5.4.1 Data Flow Diagram

DFD is the abbreviation for Data Flow Diagram. The flow of data of a system or a process is represented by
DFD. It also gives insight into the inputs and outputs of each entity and the process itself. DFD does not have a
control flow and no loops or decision rules are present. Specific operations depending on the type of data can
be explained by a flowchart. Data Flow diagrams can be represented in several ways. The DFD belongs to
structured-analysis modeling tools. Data Flow diagrams are very popular because they help us to visualize the
major steps and data involved in software-system processes.

➢ Level 0
It is also known as the fundamental system model, or context diagram represents the entire software
requirement as a single bubble with input and output data denoted by incoming and outgoing arrows.
Then the system is decomposed and described as a DFD with multiple bubbles. Parts of the system
represented by each of these bubbles are then decomposed and documented as more and more detailed
DFDs. This process may be repeated at as many levels as necessary until the program at hand is well
understood.

Figure 6 : DFD Level 0

GPG (IT) Page : 16


196150316008
196150316034
Go Home

➢ Level 1

In 1-level DFD, the context diagram is decomposed into multiple bubbles/processes. At this level,
we highlight the main functions of the system and break down the high-level process of 0-level
DFD into subprocesses.

Figure 7 : DFD level 1

GPG (IT) Page : 17


196150316008
196150316034
Go Home

Chapter 6: System Design

User

Column Name Data Type Constraints Description

E_ID Varchar(50) Email ID of the user.


Password Varchar(20) Password of the user.

Table 3: User Data Dictionary


Appliance

Column Name Data Type Constraints Description

Status Varchar(50) Shows the status of the


appliance.
Display Varchar(50) Shows the previous
status of the appliance.

Table 5: Appliance Data Dictionary


Mobile

Column Name Constraints Data Type Description

IMEI Primary Key Int IMEI number of mobile

Mob_Name Varchar(50) Mobile Name of the


user

Model_No Varchar(50) Model Number of the


mobile

Table 6: Mobile Data Dictionary

GPG (IT) Page : 18


196150316008
196150316034
Go Home

Chapter 7: Implementation

Figure 8: LED connection

Figure 9: LCD connection

GPG (IT) Page : 19


196150316008
196150316034
Go Home

Figure 10: Soldering

Figure 11: Bulb Holder with Bulb

GPG (IT) Page : 20


196150316008
196150316034
Go Home

Figure 12: Switch connection on breadboard

Figure 13: Node MCU

GPG (IT) Page : 21


196150316008
196150316034
Go Home

Figure 14: One Channel Relay Circuit

Figure 15: Circuit

GPG (IT) Page : 22


196150316008
196150316034
Go Home

Figure 16: Circuit(Manually turning on light via switch )

Figure 17: Circuit (Both bulb high)

GPG (IT) Page : 23


196150316008
196150316034
Go Home

Figure 18: Creating Applet

Figure 19: Creating a trigger

GPG (IT) Page : 24


196150316008
196150316034
Go Home

Figure 20: Creating a simple phrase to turn on light

Figure 21: If this, then that

GPG (IT) Page : 25


196150316008
196150316034
Go Home

Figure 22: We need to select webhooks service to make web request

Figure 23: Creating a web request to turn on light

GPG (IT) Page : 26


196150316008
196150316034
Go Home

Figure 24: If this, then that

Figure 25: Creating a simple phrase to turn off light

GPG (IT) Page : 27


196150316008
196150316034
Go Home

Figure 26: Creating a web request to turn off light

Figure 27: Creating a simple phrase to turn on fan

GPG (IT) Page : 28


196150316008
196150316034
Go Home

Figure 28: Creating a web request to turn on light

Figure 29: Creating a simple phrase to turn off fan

GPG (IT) Page : 29


196150316008
196150316034
Go Home

Figure 30: Creating a web request to turn off light

Figure 31: Google Assistant (turning on a light)

GPG (IT) Page : 30


196150316008
196150316034
Go Home

Figure 32: Google Assistant (turning off light)

Figure 33: Google Assistant (turning on the fan)

GPG (IT) Page : 31


196150316008
196150316034
Go Home

Figure 34: Google Assistant (turning off fan)

Figure 35: Light ON via Blynk IoT application

GPG (IT) Page : 32


196150316008
196150316034
Go Home

Figure 36: Light ON/OFF via Blynk IoT application

Figure 37: Arduino UNO

GPG (IT) Page : 33


196150316008
196150316034
Go Home

Figure 38: Voltage Sensor

Figure 39: Battery

GPG (IT) Page : 34


196150316008
196150316034
Go Home

Figure 40: Voltage Circuit

Figure 41: Voltage Circuit output

GPG (IT) Page : 35


196150316008
196150316034
Go Home

Chapter 8: Testing

Software Testing is a method to check whether the actual software product matches expected requirements
and to ensure that software product is Defect free. It involves execution of software/system components
using manual or automated tools to evaluate one or more properties of interest. The purpose of software
testing is to identify errors, gaps or missing requirements in contrast to actual requirements. Some prefer
saying Software testing definition as a White Box and Black Box Testing.

Test Case :

Test Components Status Description Input Expected Actual Rema


Case Values Output Output rks
ID

TC01 Light On To show an electronic Switch on Light will be Light will Fail
device is on the light turned on not be
turned on
Light On To show an electronic Turn on Light will be Light will Pass
device is on the light turned on be turned on
Light On To show an electronic Light on Light will be Light will Pass
device is on turned on be turned on
Light Off To show an electronic Switch off Light will be Light will Pass
device is off the light turned off not be
turned off
Light Off To show an electronic Turn off Light will be Light will Pass
device is off light turned off be turned
off
Light Off To show an electronic Light off Light will be Light will Pass
device is off turned off be turned
off
TC02 Fan On On To show an electronic Switch on Fan will be Fan will not Fail
device is on the fan turned on be turned on
Fan On On To show an electronic Turn on Fan will be Fan will be Pass
device is on fan turned on turned on

GPG (IT) Page : 36


196150316008
196150316034
Go Home

Fan On To show an Light on Fan will be Fan will be Pass


electronic turned on turned on
device is on

Fan Off To show an Switch off Fan will not be Fan will not Pass
electronic the light turned off be turned
device is off off
Fan Off To show an Turn off Fan will be Fan will be Pass
electronic light turned off turned off
device is off
Fan Off To show an Light off Fan will be Fan will be Pass
electronic turned off turned off
device is off
TC03 Voltage - To show the Connect Calculated Calculated Pass
Measurement voltage of an appliance voltage will be voltage will
appliance printed be printed

Table 7: Test Case

GPG (IT) Page : 37


196150316008
196150316034
Go Home

Chapter 9: Conclusion and Future work

Conclusion

The system as the name indicates, ‘Home automation makes the system more flexible and provides an attractive
user interface compared to other home automation systems. In this system, we integrate mobile devices into
home automation systems. A novel architecture for a home automation system is proposed using relatively new
communication technologies. The system consists of mainly three components is a Bluetooth/Wi-Fi module,
Arduino UNO, and relay circuits. Bluetooth/Wi-Fi module is used as the communication channel between
android phone and the Arduino UNO. We hide the complexity of the notions involved in the home automation
system by including them into a simple, but comprehensive set of related concepts. This simplification is needed
to fit as much of the functionality on the limited space offered by a mobile device’s display. Wi-Fi/Bluetooth
technology capable solution has proved to be controlled remotely, cost-effective compared to the previously
existing system. Hence, we can conclude that the required goals and objectives of the home automation system
have been achieved. The system design and architecture were discussed, and the prototype presents the basic
level of home appliance control and remote monitoring has been implemented. Finally, the proposed system is
better from the scalability and flexibility point of view than the commercially available home automation
system.

Future Work

Using this system, the system can be expanded to include various other options for home security features like
capturing the photo of a person moving around the house and storing it in the cloud. The system can be expanded
for energy monitoring or weather stations. This kind of system with respective changes can be implemented in
hospitals for disabled people or in industries where human invasion is dangerous and also for environmental
monitoring. Limitation to control only several devices can be removed by extending automation of all other
home appliances. It will be flexible to support various wired as well as wireless technologies like Bluetooth,
Zigbee, WIFI, World Wide Web. Doing this system will increase system mobility, configurable, and scalability.
Also, we will connect this circuit with LCD and a voltage sensor, to calculate how much voltage is used by a
appliance.

GPG (IT) Page : 38


196150316008
196150316034
Go Home

GPG (IT) Page


39

You might also like