Report Prototype

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 103

104452

SMART HOME USING IoT- UDP


By

Sr. No. Name of Student Enrollment No.

1 Dhruvish Bhachech 170950107003


2 Neel Dharsandiya 170950107009
3 Jay Joshi 170950107019
4 Apeksha Shah 170950107082

Prof. Divyanshu Atre


Assistant Professor
Department of Computer Science and Engineering

Prof. Kushal Patel


Assistant Professor
Department of Electronics and Communications

Project report submitted


in partial fulfillment of the requirement for the degree of

Bachelor of Engineering
In
Computer Science and Engineering
October, 2020

Department of Computer Science and Engineering


Institute of Technology and Management Universe
Paldi Village, Vadodara - 391510

ITMBU – CSE 1
104452

CERTIFICATE

This is to certify that the report submitted along with the project entitled “Smart Home Using
IoT” has been carried out by “Dhruvish Bhachech, Neel Dharsandiya, Jay Joshi and Apeksha
Shah” under my guidance in partial fulfillment for the degree of Bachelor of Engineering in
Computer Science and Engineering – VII th Semester of Gujarat Technological University,
Ahmedabad during the academic year 2020-21. These students have successfully completed
the project activity under my guidance.

SIGNATURE (INTERNAL GUIDE) HEAD OF DEPARTMENT

Month, 2020-21 Month, 2020-21

ITMBU – CSE 2
104452

DECLARATION
We, Dhruvish Bhachech, Neel Dharsandiya, Jay Joshi and Apeksha Shah the student of
Computer Science and Engineering, having enrolment number 170950107003,
170950107009, 170950107019, 170950107082 enrolled at ITM Universe, Vadodara hereby
certify and declare the following:

1. We have defined our project based on inputs at Smart Home and each of us will make
significant efforts to make attempt to solve the challenges. We will attempt the project work at
my college or at any location under the direct and consistent monitoring of Asst Prof. Divyanshu
Atre and Asst. Prof. Kushal Patel. We will adopt all ethical practices to share credit amongst
all the contributors based on their contributions during the project work.

2. I/We have not purchased the solutions developed by any 3 rd party directly and the efforts are
made by me/we under the guidance of guides.

3. The project work is not copied from any previously done projects directly.

4. The Automation Industry to the best of my knowledge is a genuine industry engaged in the
professional service/social organizations.

5. We understand and accept that the above declaration if found to be untrue, it can result in
punishment/cancellation of project definition to me/we including failure in the subject of project
work.

Name(s): Dhruvish Bhachech Signature


Neel Dharsandiya
Jay Joshi
Apeksha Shah

Contact Number(s): +919664857773, +919409118117,


+918980460790, +917016132521

Date: 24 th October, 2020

Place: Vadodara, Gujarat

ITMBU – CSE 3
104452

ACKNOWLEDGEMENT

We would like to express our gratitude and appreciation to all those who supported us to
complete this report. A special thanks to our project coordinator, whose help, stimulating
suggestions and encouragement, helped us to coordinate our project work – Smart Home Using
IoT as part of Bachelor of Engineering in the Department of Computer Science and
Engineering.

We would also like to acknowledge with much appreciation the crucial role of the Head and
staff of Computer Science Department for their contribution in our project work.

We would like to thank our Internal Guide Asst. Prof. Divyanshu Atre and Asst. Prof. Kushal
Patel, who has given their full effort in guiding the team in achieving the goal as well as
encouragement to maintain our progress in track. We would like to express our gratitude for
the guidance given by other supervisors as well as the panels especially in our project
presentation that has improved our presentation skills by their comments and tips.

Lastly, we are deeply indebted to the College for providing us immense support in all aspects
especially in our project work.

ITMBU – CSE 4
104452

ABSTRACT

Home automation system achieved great popularity in the last decades and it increases the
comfort and quality of life. As technology is advancing and homes are getting smarter,
Modern house are gradually shifting from conventional switches to centralized control
systems. A smart phone application is used to control and monitor the home appliances using
different type of communication techniques. While it also displays other home environment
factors such as temperature and humidity.

Security is becoming a major issue everywhere. Home Security is becoming necessary


nowadays as the possibilities of intrusion is increasing day by day. Today, safety and security
are just a click of the appropriate technology away, and with such advancements happening,
the security of one’s home must also not be left behind. This project is an example of the use
of digital systems design to accomplish that goal, where the security and comfort of a home is
the issue at hand. In this we have applied parking access system in which user can access
parking of their home with registered number plate and vehicle.

ITMBU – CSE 5
104452

Table of Contents

TITLE PAGE........................................................................................................i
CERTIFICATE.....................................................................................................ii
DECLARATION..................................................................................................iii
ACKNOWLEDGEMENT....................................................................................iv
ABSTRACT..........................................................................................................v
ACKNOWLEDGEMENTS..................................................................................vi
TABLE OF CONTENTS......................................................................................vii
LIST OF TABLES............................................................................................. ...viii
LIST OF FIGURES...............................................................................................ix
LIST OF ABBREVIATIONS................................................................................x
1. INTRODUCTION............................................................................................1
1.1 Project Summary........................................................................................1
1.2 Aim and Objective of the Project.............................................................. .2
1.3 Problem Specifications.............................................................................. .2
1.4 Literature Review.......................................................................................3
1.5 Plan of Work.............................................................................................. .3
2. SYSTEM REQUIREMENT STUDY ..............................................................4
2.1 User Characteristics................................................................................... .4
2.2 Hardware and Software Requirements..................................................... ..4
2.3 Constraints................................................................................................. .4
2.4 Timeline Chart........................................................................................... .5
3. SYSTEM ANALYSIS......................................................................................6
3.1 Study of Current System............................................................................ .6
3.2 Problems and Weaknesses of Current System...........................................7

ITMBU – CSE 6
104452

3.3 Requirements of New System.................................................................... ......8


3.4 Feasibility Study.........................................................................................9
3.5 Requirements Validation............................................................................10
3.6 Functions of System
3.6.1 Use Cases, Event Trance or Scenario................................................11
3.7 Data Modelling
3.7.1 Class Diagram and E-R Diagram.......................................................12
3.7.2 System Activity or Object Interaction Diagram.................................13
3.7.3 Data Dictionary................................................................................ ..14
3.8 Functional and Behavioural Modelling...................................................... .15
3.8.1 Context Diagram................................................................................16
3.8.2 Data Flow Diagram (1-2 Level) ........................................................17
3.9 Main Modules of New System................................................................ ....18
3.10 Selection of Hardware and Software and Justification....................... ......19
4. SYSTEM DESIGN......................................................................................... ..20
4.1 Database Design ........................................................................................23
4.2 System Procedural Design.........................................................................24
4.3 Input/output and Interface Design.............................................................27
4.3.1 Access Control and Security............................................................28
4.3.2 State Transition Diagram.................................................................29
Conclusion............................................................................................................30
References............................................................................................................31
Appendix..............................................................................................................32
Periodic Progress Report (PPR)
Patent Search and Analysis Report (PSAR)
Design Engineering Canvases
AEIOU Summary
Empathy
Ideation
Product Development Canvas

ITMBU – CSE 7
104452

LIST OF FIGURES

Sr. No Canvas Snap-shorts Page No.

1 AEIOU Canvas Sheet 11


2 Mind Mapping 11
3 Empathy Canvas 12
4 Ideation Canvas 14
5 LNM Canvas 16
6 PDC Canvas 17
7 Prototype 20

LIST OF ABBREVIATIONS

Sr. No Abbreviations

1 A.E.I.O.U – Activities, Environment, Interactions, Objects, Users


2 LNM – Learning Need Matrix
3 PDC – Product Development Canvas

ITMBU – CSE 8
104452 INTRODUCTION

1. INTRODUCTION
1.1. Project Summary

To give a gist the project is basically a smart home system which will make life easier
and more comfortable for the users. And also, it will make home smarter and more efficient
which can save electricity. The unique feature of our project is that we can monitor the power
supply of home so the user can know that the supply is active or not. If there will be no power
supply user will be not able to know if they have turned on or turned off the particular device
or home appliance and we can operate the system from any corner of the world using WAN
configuration that’s a plus point in our project.

1.2. Aim and Objective of The Project


The aim of the project is to make user’s home smarter and secure which makes their life
easier and more comfortable. And to make aware the society about this technology and its
usefulness. The objective of the project is comfort, smart technology, energy efficient, 24x7
access to home appliances.

1.3. Problem Specifications


.
Here the project is all about finding out the faults in the automation system which
includes the problem with power supply is that we cannot monitor the power supply of home
so the user cannot know that the supply is active or not. If there will be no power supply user
will be not able to know if they have turned on or turned off the particular device or home
appliance. And the problem with the WAN connectivity is that not all the products in market
is providing this feature and if they provide it then the cost is the issue with that particular
feature and also with the whole system.

ITMBU – CSE 9
104452 INTRODUCTION

1.4. Literature Review


1. Internet Home Automation System
Publication Number:us2012/0096120a1
Abstract: A home automation housing includes: a first interface for connecting
the home automation housing to the Internet network; a second interface for at least one
home device for exchanging information between the home automation housing and the
at least one home device; the first interface and the second interface being capable of
exchanging information by way of a data transfer link. The home automation housing
of the invention is further configured to enable the operation of the home devices using
a remote server via the connection to the Internet network. Also described is a home
automation system, including: a home automation housing; and a remote server on
which a remote user interface, accessible by the user of the home automation housing
via a communication element and the Internet network, is installed.
2. Wireless Internet of Things, Climate Control and Smart Home System
20190268177a1
Abstract: Systems and methods for an Internet of Things (IoT), smart home
climate control and communication system are provided. The IoT, smart home climate
control and communication system includes a first smart home device that receives
signal sources from a wide area network, transmits signals, data and commands to one
or more smart home devices in a home or building in an IoT LAN. The first smart home
device also receives signals, data and commands from the one or more smart home
devices in the home or building on the IoT LAN, and transmits signals, data and/or
commands to the wide area network. The IoT LAN is distinct from a residential
wireless LAN.

3. Home Gateway System for Home Automation and Security


7912447b2
Abstract: A home gateway system for home automation and security is
described. An example home gateway system includes a wireless local loop transceiver
to establish a wireless local loop point to point link to a geographically separated base
station coupled to a public switched telephone network; a home automation controller

ITMBU – CSE 10
104452 INTRODUCTION

to communicate with the wireless local loop transceiver; a home security controller,
integrated with the home automation controller, to communicate with the wireless local
loop transceiver; and a security signal to be monitored by the home security controller,
wherein a status of the security signal causes the home gateway system to send a
message over the wireless local loop.

1.5. Plan of Work


The main objective of the project is to operate with an android application or
website/webpage which helps us to operate the home appliances and we can also
monitor temperature and humidity through that so that it can be user friendly and easy
to operate.
The Project Plan which was developed at the initial stage is always required to
be updated as and when the project shapes up. Also, the critical areas and milestones
decided earlier can be verified whether they are being achieved or not.

The plan was made on the basis of:


• Establish Project Scope
• Determine Feasibility
• Analyze Risks
• Define required resources
• Determine Human Resources required
• Define reusable software resources
• Identify environmental resources
• Estimate cost and effort
• Decompose the problem
• Develop two or more estimates using size, function points, process tasks, or
Use- Cases
• Reconcile the estimates
• Develop a project schedule
• Establish a meaningful task set
• Define a task network
• Define schedule tracking mechanisms

ITMBU – CSE 11
104452 SYSTEM REQUIREMENTS

2. SYSTEM REQUIREMENTS
2.1. User Characteristics

We have identified three potential classifications of users of our system:

1. ADMIN: The major function of the admin is to accept or reject the requests for
accessing the specific information and providing the respective information necessary
for them.
2. Members: The functionality of members are that they have the permission to operate
devices so that they can operate according to the requirements.

2.2. Hardware and Software Requirements

Software Requirements:
Arduino IDE
Blynk App
Visual Studio code
Hardware Requirements
ESP8266
Relay Module
DHT11
Current Sensor
Load (100 watt) / Devices
Socket
Router

2.3. Constraints
1. The current system doesn’t provide the facility of Wan connectivity in the whole
system.
2. In the current system there is no facility of power supply detection that there is an active
power supply or not so that we cannot figure out the current Realtime status of device

ITMBU – CSE 12
104452 SYSTEM REQUIREMENTS

3. The system which is available in market is very much costlier according to the features
they are offering.

2.4. Timing chart

Task Estimated Date

Project Selection 15 th August 2020 – 30 th August 2017

Requirement and Specification 1 st September 2020 – 15 th September 2020

Designing Canvas 15 th September 2020 – 6 th October 2020

Assembling Hardware 20 th September 2020 – 10 st October 2020

GUI Design 11 th October 2020 – 24 th October 2020

ITMBU – CSE 13
104452 SYSTEM ANALYSIS

3. SYSTEM ANALYSIS
3.1. Study of Current System
The main objective of the project is to operate with an android application or
website/webpage which helps us to operate the home appliances and we can also monitor
temperature and humidity through that so that it can be user friendly and easy to operate.

Here the project is all about finding out the faults in the automation system which includes
the problem with power supply is that we cannot monitor the power supply of home so the
user cannot know that the supply is active or not. If there will be no power supply user will
be not able to know if they have turned on or turned off the particular device or home
appliance. And the problem with the WAN connectivity is that not all the products in market
is providing this feature and if they provide it then the cost is the issue with that particular
feature and also with the whole system.

The unique feature of our project is that we can monitor the power supply of home so the
user can know that the supply is active or not. If there will be no power supply user w ill be
not able to know if they have turned on or turned off the particular device or home appliance
and we can operate the system from any corner of the world using WAN configuration
that’s a plus point in our project.

3.2. Problems and Weaknesses of Current System


During designing of the project idea, we came up with a problem in our project which is it
needs an active internet connection with router but it can be solved by using mobile hotspot.
And a weakness our project have is that it needs 24x7 power supply.

3.3. Requirements of New System


• The proposed system had its focus mainly on the automation of the system, which will also
suffice the expectations and eliminate the problems with the existing manual system.
• Secured Usage: System can only be accessed by those users who are assigned a login and
password. No other user can access the system.
• Enhancing System: The real-time monitoring of temperature, humidity and power supply
will enhance existing System.
• Remotely Operated: The System can be operated remotely which will avoid manual
operating & monitoring of System.

ITMBU – CSE 14
104452 SYSTEM ANALYSIS

3.4. Feasibility Study


• Network Issues:
There can be issues as there is internet connection required to fetch the details of
temperature monitoring system and also to control the devices.
• Power Supply Issue:
Power supply is required for the working of the system. So, if source of power
supply is not provided to them then the system would not be able to work.
• Device Control / Operation:
There may be large number of users trying to access the application at the same time
due to which any device can be operated by anyone and there are no restrictions on
that.

3.5. Requirements Validation


The new user needs to install the ‘BLYNK’ application on the mobile in order to
operate the system. Secondly, he has to register/sign up on the app in order to operate
the system. User must also have electricity and internet as a basic requirement for
this.
3.6. Functions of System
3.6.1. Use Cases, Event Trance or Scenario
USE Case Diagram

ITMBU – CSE 15
104452 SYSTEM ANALYSIS

3.7. Data Modelling


3.7.1. Class Diagram And E-R Diagram

Class diagram

ITMBU – CSE 16
104452 SYSTEM ANALYSIS

ER diagram

3.7.2. System Activity or Object Interaction Diagram

ITMBU – CSE 17
104452 SYSTEM ANALYSIS

3.7.3. Data Dictionary

Field Name Type Description


SSID & Password It will help us to connect to
int
Wi-Fi
It will help us to access
Login Id & Password int
the application
This is required to connect to
URL url
the server
It will specify the port
PORT int number on which server is
communicating

3.8. Functional and Behavioral Modelling


3.8.1.Context Diagram

ITMBU – CSE 18
104452 SYSTEM ANALYSIS

3.8.2.Data Flow Diagram (1-2 Level)

3.9. Main Modules of New System

The Main Module of new system is WAN connectivity and current. The current
sensor detects the real time status of the current that it is present or not.

3.10. Selection of Hardware and Software and Justification


As a selection of hardware and software we have selected hardware which has more
features, easy to use (User Friendly) and not much costlier and which shows more
information compared to others as example ESP8266 instead of Arduino and rest are DHT
11, relay module & Current Sensor. At software side we have selected Visual Studio Code
for our own website design, Arduino IDE for editing and implementing Arduino codes
and in app designing/selection we have selected BLYNK app which has more features and
easy to use and it is secure also.

ITMBU – CSE 19
104452 SYSTEM DESIGN

4. SYSTEM DESIGN
4.1 Database Design

4.2 System Procedural Design

4.3 Input/Output and Interface Design


4.3.1 Access Control and Security
Admin will have access to each and every appliance and to accept or reject the requests for
accessing the specific information and providing the respective information necessary for
them.

ITMBU – CSE 20
104452 SYSTEM DESIGN

Members will have access to operate devices so that they can operate according to the
requirements.

4.3.2 State Transition Diagram

ITMBU – CSE 21
104452

Conclusion

The project has proposed the idea of smart homes that can support a lot of home automation systems.
A smart home contains a connection between wireless communication, sensors, monitoring and
tracking. Smart homes are a huge system that includes multiple technologies and applications that
can be used to provide security and control of the home easily. This project discussed the designed
modules like sensors' circuits, monitoring and tracking of the home through IP camera, mobile
notifications and home navigator.

References

• https://www.de.gtu.ac.in/

• https://www.google.co.in/search?source=hp&ei=5Ti6W_aMGZOm9QPQqZiwDQ&q=rol
es+of+ efficient+team&oq=roles+of+efficient+team&gs_l=psy-
ab.3..0i22i30k1.1821.8548.0.8898.24.23.0.0.0.0.213.2910.0j22j1.23.0..2..0 .. 1.1.64.psy-
• ab..1.23.2908.0..0j35i39k1j0i131k1j0i20i263k1j0i10k1j33i22i29i30k1.0.PJ5tl02PADw
• http://smarthomes-technology.blog
• https://patents.google.com/
• https://www.freepatentsonline.com/

ITMBU – CSE 22
104452

APPENDIX
Periodic Progress Report (PPR)
1. Name: Neel Dharsandiya
PPR 1

ITMBU – CSE 23
104452

PPR 2

ITMBU – CSE 24
104452

PPR 3

ITMBU – CSE 25
104452

PPR 4

ITMBU – CSE 26
104452

2. Name: Dhruvish Bhachech


PPR 1

ITMBU – CSE 27
104452

PPR 2

ITMBU – CSE 28
104452

PPR 3

ITMBU – CSE 29
104452

PPR 4

ITMBU – CSE 30
104452

3. Name: Jay Joshi


PPR 1

ITMBU – CSE 31
104452

PPR 2

ITMBU – CSE 32
104452

PPR 3

ITMBU – CSE 33
104452

PPR 4

ITMBU – CSE 34
104452

4. Name: Apeksha Shah


PPR 1

ITMBU – CSE 35
104452

PPR 2

ITMBU – CSE 36
104452

PPR 3

ITMBU – CSE 37
104452

PPR 4

ITMBU – CSE 38
104452

Patent Search and Analysis Report (PSAR)


1. Name: Neel Dharsandiya
PSAR 1

ITMBU – CSE 39
104452

ITMBU – CSE 40
104452

ITMBU – CSE 41
104452

PSAR 2

ITMBU – CSE 42
104452

ITMBU – CSE 43
104452

ITMBU – CSE 44
104452

PSAR 3

ITMBU – CSE 45
104452

ITMBU – CSE 46
104452

ITMBU – CSE 47
104452

PSAR 4

ITMBU – CSE 48
104452

ITMBU – CSE 49
104452

ITMBU – CSE 50
104452

PSAR 5

ITMBU – CSE 51
104452

ITMBU – CSE 52
104452

ITMBU – CSE 53
104452

2. Name: Dhruvish Bhachech


PSAR 1

ITMBU – CSE 54
104452

ITMBU – CSE 55
104452

ITMBU – CSE 56
104452

PSAR 2

ITMBU – CSE 57
104452

ITMBU – CSE 58
104452

ITMBU – CSE 59
104452

ITMBU – CSE 60
104452

PSAR 3

ITMBU – CSE 61
104452

ITMBU – CSE 62
104452

ITMBU – CSE 63
104452

PSAR 4

ITMBU – CSE 64
104452

ITMBU – CSE 65
104452

ITMBU – CSE 66
104452

ITMBU – CSE 67
104452

PSAR 5

ITMBU – CSE 68
104452

ITMBU – CSE 69
104452

ITMBU – CSE 70
104452

ITMBU – CSE 71
104452

3. Name: Jay Joshi


PSAR 1

ITMBU – CSE 72
104452

ITMBU – CSE 73
104452

ITMBU – CSE 74
104452

PSAR 2

ITMBU – CSE 75
104452

ITMBU – CSE 76
104452

ITMBU – CSE 77
104452

PSAR 3

ITMBU – CSE 78
104452

ITMBU – CSE 79
104452

ITMBU – CSE 80
104452

PSAR 4

ITMBU – CSE 81
104452

ITMBU – CSE 82
104452

ITMBU – CSE 83
104452

PSAR 5

ITMBU – CSE 84
104452

ITMBU – CSE 85
104452

ITMBU – CSE 86
104452

1. Name: Apeksha Shah


PSAR 1

ITMBU – CSE 87
104452

ITMBU – CSE 88
104452

ITMBU – CSE 89
104452

PSAR 2

ITMBU – CSE 90
104452

ITMBU – CSE 91
104452

ITMBU – CSE 92
104452

PSAR 3

ITMBU – CSE 93
104452

ITMBU – CSE 94
104452

ITMBU – CSE 95
104452

PSAR 4

ITMBU – CSE 96
104452

ITMBU – CSE 97
104452

ITMBU – CSE 98
104452

PSAR 5

ITMBU – CSE 99
104452

ITMBU – CSE 100


104452

ITMBU – CSE 101


104452

Design Engineering Canvases


AEIOU Summary

Empathy

ITMBU – CSE 102


104452

Ideation

Product Development Canvas

ITMBU – CSE 103

You might also like