PROJECT REPORT ON To Build and Implement A Flexible and Cost Effective IOE Based Smart Home Monitoring & Controlling System Using Cisco Packet Tracer
PROJECT REPORT ON To Build and Implement A Flexible and Cost Effective IOE Based Smart Home Monitoring & Controlling System Using Cisco Packet Tracer
ON
To build and implement a flexible and cost effective IOE based smart
home monitoring & controlling system using Cisco packet tracer
Submitted in partial fulfilment for the award of degree
Of
Of
JAMSHEDPUR
By
JAMSHEDPUR-831014
2018
i
NATIONAL INSTITUTE OF TECHNOLOGY
JAMSHEDPUR-831014
(DEEMED UNIVERSITY)
CERTIFICATE
This is to certify that the dissertation entitled “TO BUILD AND IMPLEMENT A
FLEXIBLE AND COST EFFECTIVE IOE/IOT BASED SMART HOME MONITORING &
CONTROLLING SYSTEM USING CISCO PACKET TRACER SIMULATOR” is carried out by
No part of this project has been submitted for the award of any previous degree to
the best of my knowledge.
________________ ____________________
Prof. DILIP KUMAR Mrs. RASHMI SINHA
supervisor HOD
Dept. Of Electronics & communication Dept. Of Electronics &communication
Engg. N.I.T. Jamshedpur-831014 Engg. N.I.T. Jamshedpur-831014
ii
ACKNOWLEDGEMENT
iii
May 2018
JAMSHEDPUR-831014
Declaration
iv
Abstract:-
v
CONTENTS
Title Page i
Certificate by the Supervisor ii
Acknowledgement iii
Declaration iv
Abstract v
Contents vi
Chapter 1 Introduction and Literature Review 1
1.1 introduction 1
1.2 what is IOT 2
1.3How does it works 3
1.4 Architechture of IOT 3
1.5 enabling technology for IOT 9
1.6 IOT solutions 12
1.7 IOT adoption barrier 16
1.8 Motivation 18
1.9 Literature survey 18
vi
vii
Chapter-1
1.1 Introduction :-
Smart home is a living home that include smartobject to improve home activities
in advance, that can be automating activities of home without users involvement
such monitoring home environment condition by various sensor (Temperature,
Humidity, smoke, wind, sound) then ventilate the environment based on sensor
information. Smart home can provide different function rather than providing
safety that is security by providing more automate security using different alarm
system such siren sound, LCD display and sending email to legitimate user if
security issue is detected by sensor. Home automation states managing and
controlling home objects by using micro-controller or computer technology.
Automation is popular because it provides ease, efficiency and secure
environment. In this paper all smart appliance is registered to home gateway and
controlled by legitimate person. Smart Home reduces user's involvement in
monitoring home settings and controlling home appliances by including different
sensor in home automation. This paper presents if smoke is detected the fire
sprinkler automatically on to ventilate the environment and window is open.
While the term “Internet of Things” (IoT) was first announced, the primary
question might be what is considered as “Things”. Till current years, groups of
scholars and organizations tried to make clear the definition of Io T. Haller et al.
proposed a definition of IoT with “A world where physical objects are seamlessly
integrated into the information network, and where the physical objects can
become active participants in business process.”IOT is an abbreviation of
Internet of Things which refers to uniquely identifiable objects (things) and their
virtual representations in an Internet-like structure. Internet of Things (IoT) is
currently released technology to automate communication by connecting
different objects around us as part of internet. IoT objects integrated with
networking technology to control from remote and local. This paper deals about
implementing smart home using new released Cisco packet tracer because this
feature include different sensor ,actuator and different smart device used for
home automation . Some of the devices are smart window, smart light, smart
door, smart fan with different detector and sensor. To implement smart home I
used new released Cisco packet tracer simulation software to design and
configure IOE device with classically networking device.
1
Fig:-drawing representing the internet of things
These powerful IoT platforms can pinpoint exactly what information is useful
and what can safely be ignored. This information can be used to detect patterns,
make recommendations, and detect possible problems before they occur.
For example, if I own a car manufacturing business, I might want to know which
optional components (leather seats or alloy wheels, for example) are the most
popular. Using Internet of Things technology,
I can:
Use sensors to detect which areas in a showroom are the most popular,
and where customers linger longest;
Drill down into the available sales data to identify which components are
selling fastest;
Automatically align sales data with supply, so that popular items don’t go
out of stock.
3
With the insight provided by advanced analytics comes the power to make
processes more efficient. Smart objects and systems mean you can automate
certain tasks, particularly when these are repetitive, mundane, time-consuming
or even dangerous. Let’s look at some examples to see what this looks like in real
life.
(i)The perception layer is the physical layer, which has sensors for sensing and
gathering information about the environment. It senses some physical
parameters or identifies other smart objects in the environment.
The three-layer architecture defines the main idea of the Internet of Things, but
it is not sufficient for research on IoT because research often focuses on finer
aspects of the Internet of Things. That is why, we have many more layered
architectures proposed in the literature. One is the five-layer architecture, which
additionally includes the processing and business layers. The five layers are
perception, transport, processing, application, and business layers . The role of
the perception and application layers is the same as the architecture with three
layers. We outline the function of the remaining three layers.
(i)The transport layer transfers the sensor data from the perception layer to the
processing layer and vice versa through networks such as wireless, 3G, LAN,
Bluetooth, RFID, and NFC.
4
(iii)The business layer manages the whole IoT system, including applications,
business and profit models, and users’ privacy. The business layer is out of the
scope of this paper. Hence, we do not discuss it further.
5
1.4.2. Cloud and Fog Based Architectures
Let us now discuss two kinds of systems architectures: cloud and fog computing.
Note that this classification is different from the classification in
Section 1.4.1which was done on the basis of protocols.
In particular, we have been slightly vague about the nature of data generated by
IoT devices, and the nature of data processing. In some system architectures the
data processing is done in a large centralized fashion by cloud computers. Such a
cloud centric architecture keeps the cloud at the center, applications above it,
and the network of smart things below it. Cloud computing is given primacy
because it provides great flexibility and scalability. It offers services such as the
core infrastructure, platform, software, and storage. Developers can provide
their storage tools, software tools, data mining, and machine learning tools, and
visualization tools through the cloud.
6
Fig:-fog architecture of a smart IOT gateway
Often the terms “fog computing” and “edge computing” are used
interchangeably. The latter term predates the former and is construed to be more
generic. Fog computing originally termed by Cisco refers to smart gateways and
smart sensors, whereas edge computing is slightly more penetrative in nature.
This paradigm envisions adding smart data preprocessing capabilities to physical
devices such as motors, pumps, or lights. The aim is to do as much of
preprocessing of data as possible in these devices, which are termed to be at
the edge of the network. In terms of the system architecture, the architectural
diagram is not appreciably different from Figure. As a result, we do not describe
edge computing separately.
7
Let us now discuss a new paradigm: social IoT (SIoT). Here, we consider social
relationships between objects the same way as humans form social relationships .
Here are the three main facets of an SIoT system:
(i)The SIoT is navigable. We can start with one device and navigate through all
the devices that are connected to it. It is easy to discover new devices and services
using such a social network of IoT devices.
(iii)We can use models similar to studying human social networks to also study
the social networks of IoT devices.
(2) Metainformation: along with an ID, we need some metainformation about the
device that describes its form and operation. This is required to establish
appropriate relationships with the device and also appropriately place it in the
universe of IoT devices.
(4) Service discovery: such kind of a system is like a service cloud, where we need
to have dedicated directories that store details of devices providing certain kinds
of services. It becomes very important to keep these directories up to date such
that devices can learn about other devices.
8
(6) Service composition: this module takes the social IoT model to a new level.
The ultimate goal of having such a system is to provide better integrated services
to users. For example, if a person has a power sensor with her air conditioner
and this device establishes a relationship with an analytics engine, then it is
possible for the ensemble to yield a lot of data about the usage patterns of the air
conditioner. If the social model is more expansive, and there are many more
devices, then it is possible to compare the data with the usage patterns of other
users and come up with even more meaningful data. For example, users can be
told that they are the largest energy consumers in their community or among
their Facebook friends.
The server side architecture typically has three layers. The first is the base layer
that contains a database that stores details of all the devices, their attributes,
metainformation, and their relationships. The second layer (Component layer)
contains code to interact with the devices, query their status, and use a subset of
them to effect a service. The topmost layer is the application layer, which
provides services to the users.
On the device (object) side, we broadly have two layers. The first is
the object layer, which allows a device to connect to other devices, talk to them
(via standardized protocols), and exchange information. The object layer passes
information to the social layer. The social layer manages the execution of users’
applications, executes queries, and interacts with the application layer on the
server
9
Fig:- Technology roadmap: Internet of things.
1.5.1-Addressability
The original idea of the Auto-ID Center is based on RFID-tags and unique
identification through the Electronic Product Code, however, this has evolved
into objects having an IP address or URI. An alternative view, from the world of
the Semantic Web focuses instead on making all things (not just those electronic,
smart, or RFID-enabled) addressable by the existing naming protocols, such
as URI. The objects themselves do not converse, but they may now be referred to
by other agents, such as powerful centralized servers acting for their human
owners. Integration with the Internet implies that devices will use an IP
address as a unique identifier. Due to the limited address space of IPv4 (which
allows for 4.3 billion unique addresses), objects in the IoT will have to use the
next generation of the Internet protocol (IPv6) to scale to the extremely large
address space required. Internet-of-things devices additionally will benefit from
the stateless address auto-configuration present in IPv6,as it reduces the
configuration overhead on the hosts, and the IETF 6LoWPAN header
compression. To a large extent, the future of the Internet of things will not be
possible without the support of IPv6; and consequently, the global adoption of
10
IPv6 in the coming years will be critical for the successful development of the IoT
in the future.
1.5.3-Medium-range wireless
11
HaLow – Variant of the Wi-Fi standard providing extended range for
low-power communication at a lower data rate.
1.5.4-Long-range wireless
Low-power wide-area networking (LPWAN) – Wireless networks
designed to allow long-range communication at a low data rate, reducing
power and cost for transmission. Available LPWAN technologies and
protocols: LoRaWan, Sigfox, NB-IoT, Weightless.
1.5.5-Wired
Ethernet – General purpose networking standard using twisted
pair and fiber optic links in conjunction with hubs or switches.
Imagine you wake up at 7am every day to go to work. Your alarm clock does the
job of waking you just fine. That is, until something goes wrong. Your train’s
cancelled and you have to drive to work instead. The only problem is that it takes
longer to drive, and you would have needed to get up at 6.45am to avoid being
late. Oh, and it’s pouring with rain, so you’ll need to drive slower than usual. A
connected or IoT-enabled alarm clock would reset itself based on all these
factors, to ensure you got to work on time. It could recognize that your usual
train is cancelled, calculate the driving distance and travel time for your
alternative route to work, check the weather and factor in slower travelling speed
because of heavy rain, and calculate when it needs to wake you up so you’re not
late. If it’s super-smart, if might even sync with your IoT-enabled coffee maker,
to ensure your morning caffeine’s ready to go when you get up.
13
1.6.2- IoT in transport
Having been woken by your smart alarm, you’re now driving to work. On comes
the engine light. You’d rather not head straight to the garage, but what if it’s
something urgent? In a connected car, the sensor that triggered the check engine
light would communicate with others in the car. A component called the
diagnostic bus collects data from these sensors and passes it to a gateway in the
car, which sends the most relevant information to the manufacturer’s platform.
The manufacturer can use data from the car to offer you an appointment to get
the part fixed, send you directions to the nearest dealer, and make sure the
correct replacement part is ordered so it’s ready for you when you show up
14
1.6.3-Health
Due to smart gadgets, IoT in healthcare can completely monitor your whole
body. The software will record your every action and it will be able to calculate
the probability of disease before the first symptoms appear.
Today Apple Watch, Fitbit, Jawbone, and their wearables have already occupied
this niche and are engaged in IoT development for healthcare devices. And it is
just the tip of the iceberg.
15
1.6.4-IoT in part lifecycle, tracking and maintenance
Whether as a cog in a machine or a component of an end product, individual
objects (or parts) can provide critical information as to the state of the product
they form. Connected sensors and sophisticated analytics within individual
components could track part provenance right from the manufacturing process
to the end of their useful life – sharing data on how the component should be
maintained and how it has responded to frequent use.
1.6.7-Building management
Connected sensors build up a wealth of useful data as to the function of
particular systems within a building. Lights, for instance, or air conditioning, or
security alarms. This data forms a log of how the building is accessed and used,
which can be shared with its owner, tenants and building management teams.
1.6.8-Energy consumption
For those who want to offset their carbon footprint on the carbon credit
exchange, IoT provides a way of accurately tracking and trading carbon credits
and energy consumption.
16
1.7 IoT adoption barriers:-
Despite a shared belief in the potential of IoT, industry leaders and consumers
are facing barriers to adopt IoT technology more widely. Mike Farley argued
in Forbes that many IoT solutions either lack interoperability or a clear use case
for end-users.Within an IoT-enabled environment, there may be technical
incompatibilities related to IoT standards and interfaces. This is due to IoT data
generated in multiple sources that needs to be integrated into analytical and
decision-making systems for further analysis.
“Instead of convincing consumers that they need complex systems to serve needs
they don’t have, we should fix real problems people struggle with every day.”
Many gadgets in the consumer IoT space have appealed to early adopters, yet
failed to demonstrate relevance to ordinary people’s lives.
“In order to boost sales and drive demand beyond the early adopter set, we need
to stop making toys no one cares about and instead work on building simple
solutions to real, everyday problems for real people.”
17
lies in order to capture it, otherwise non-action is the consequence. This indicates
that a major roadblock to IoT adoption is not technical but analytical in nature.
18
management practices. A lack of digital leadership in the age of digital
transformation has also stifled innovation and IoT adoption to a degree that
many companies, in the face of uncertainty, "were waiting for the market
dynamics to play out", or further action in regards to IoT "was pending
competitor moves, customer pull, or regulatory requirements." Some of these
companies risk being 'kodaked' – "Kodak was a market leader until digital
disruption eclipsed film photography with digital photos"– failing to "see the
disruptive forces affecting their industry"and "to truly embrace the new business
models the disruptive change opens up."Scott Anthony has written in Harvard
Business Review that Kodak "created a digital camera, invested in the
technology, and even understood that photos would be shared online" but
ultimately failed to realize that "online photo sharing was the new business, not
just a way to expand the printing business."
1.8 Motivation:-
Currently Cisco released new version of packet tracer that include IOE device
with classically networking device. Boards is also added to this version those are
microcontrollers (MCU-PT), single boarded computers (SBC-PT)that provide
programming environment to control connected object.
19
1.9 Literature survey:-
We went through various IEEE standard papers where we found a paper
regarding smart home monitor and control.
Industrialization has been going on for a long time so security monitor, control
and automation in industries and home has attracted the interest of research
community during the last decade.
Every year some new thesis comes in this area.
The main idea was taken from IEEE standard paper. Further reference were
taken from reference 2, 3, 4
Later we went through another IEEE standard paper published on 5 feb 2015-
The Internet of Things: An overview and new perspectives in systems design.
20
Chapter-2
Fig-proposed system
21
Sensors and components:-
No Devices Function
01 Router(1941) Used to interconnect home to cellular network.
02 Cable modem Used to connect home to the internet
03 Home gateway Used to register smart object and give IP
address to smart object
04 IOE Server To control smart thing registered on it
and provide difference server
functionalities
05 Central Used to connect cellular system to the
office server router
06 MCU Used to interconnect different smart thing
07 pc Connect to home getaway to access
smart object
08 Fan Used to ventilate the home environment
based on some condition
09 Webcam For live visuals
1. HOME GATEWAY:-
Home Gateway have 4 Ethernet ports in addition to a wireless access point
configured with the "Home Gateway" SSID. To secure wireless connection WEP
/ WPA-PSK / WPA2enterprise can be configured on home gateway. The figure 2
shows seven internet of Things device connected to a Home Gateway by using
Ethernet cable and wireless. To connect the Home Gateway to the Internet its
Internet WAN Ethernet port available on home getaway. The IoE device can be
remotely managed through a web interface hosted by the Home Gateway. The
Home Gateway internal (LAN) IP address is 192.168.25.1 but it can also be
accessed through its Internet facing IP address
23
Fig. home gateway Ethernet and internet port.
24
Fig. Home gateway with seven smartthings connected to Home
Gateway
The above figure shows the smart object is connected to the home Gateway using
Ethernet cable and wireless medium to manage smart device local and remotely.
Home gateway also works as DHCP server by assigning IP address to each smart
device that connected to it.
2. smart phone:-
Through this device we can control and monitor the smart devices of the home
remotely by logging into IOE server. We can set the algorithm or conditions in
the IOE server through smart phone. Smartphone is connected through cell
tower.
25
26
Fig.-monitoring /status of IOE devices on smart phone
27
3. IOE server:- This server provide IOT services to the users present at remote.
All the IoT devices are registered and connected to the the IoT server. to get the
service and to control the devices, user need to login the IOT server by entering
username and password. Ip address (10.0.0.253) and its URL(www.ioe.org) of
IOT server is entered in the DNS server(having ip address 10.0.0.254) of
network.
28
Chapter-3
1.-get all the required devices and make the connection according to
given figure.
2.-configure the ISP router by using following code .
a>>Assigning hostname and Ip address for ISP router
Router>
Router>enable
Router#conf terminal
Router(config)#hostname ISP
ISP(config)#intgigabitEthernet 0/2
ISP(config-if)#ip address 10.10.220.1
255.255.255.0
ISP(config-if)#no shutdown
ISP(config)#intgigabitEthernet 0/0
ISP(config-if)#ip address 209.165.200.225
255.255.255.224
ISP(config-if)#no shutdown
ISP(config)#intgigabitEthernet 0/1
ISP(config-if)#ip address 209.165.201.225
255.255.255.224
ISP(config-if)#no shutdown
ISP(config)#ipdhcp excluded-address
209.165.201.225 209.165.201.230
ISP(config)#ipdhcp pool cell
ISP(dhcp-config)#network 209.165.201.225
255.255.255.224
ISP(dhcp-config)#default-router 209.165.201.225
ISP(dhcp-config)#dns-server 10.10.220.10
ISP(config)#ipdhcp excluded-address
209.165.200.225 209.165.200.230
ISP(config)#ipdhcp pool ioe
ISP(dhcp-config)#network 209.165.200.224255.255.255.224
ISP(dhcp-config)#default-router 209.165.200.225
ISP(dhcp-config)#dns-server 10.10.220.10
29
3.-connect all IOT devices one by one to the home gateway through wire or
wirelessly.
30
4:-register all IOT devices in IOT server .
31
6:-assign IP addresses to DNS and IOE server statically.
32
7:-now control and monitor the IOE devices after logging into the IOE server
from smart phone or PC.
33
Chapter-4
Result :-
1>
2>
34
The figure shows the window and fan is opened when the carbon dioxide and
carbon monoxide is detected. To detect carbon dioxide and carbon monoxide I
used carbon dioxide and monoxide detector. To simulate the scenario old car is
used because old car is a lot of problem by increasing the co and co2.
3>
35
4>using motion detector:-
Using motion detector we can save home from thieves when motion detector
detect something moving, server will turn on the alarm, close the doors and
window, open the webcam and on the light. in this way you can identify the
person enter your home remotely.
36
5>temperature measurement:-
We can set the condition in such a way that when the temperature exceeds a
particular level, server will start the AC and close the windows
37
Chapter-5
5.1 Conclusion:-
In this paper, we implemented smart home using new released Cisco packet,
because this version included different IOE device used for home automation. we
used IOE server to register smart device on it. Whole process will run smoothly
when devices are connected to the home gateway and get uninterrupted power
supply. Once device is disconnected from the home gateway or disconnected from
power supply then it will not start work if we supply power .to make it work first
we will have to register the device to the IOE server manually.
5.2Future development:-
Cisco packet tracer also includes microcontroller, that can be used to make
communication between devices. We can use python or java script language to
program the microcontroller. in this way if a microcontroller is used in the IOE
system then work will be more faster and reliable.
38
5.3 REFERENCE
[1] Chattoraj, Subhankar. "Smart Home Automation based ondifferent sensors
and Arduino as the mastercontroller." International Journal of Scientific
andResearch Publications5.10 (2015): 1-4.
[2] Soliman, Moataz, et al. "Smart home: Integrating internet
of things with web services and cloud computing." CloudComputing Technology
and Science (CloudCom), 2013 IEEE 5thInternational Conference on. Vol. 2.
IEEE, 2013.
[3] S. Haller S. Karnouskos and C. Schroth "The Internet of
Things in an Enterprise Context " in Future Internet-FIS2008 Lecture Notes in
Computer Science Vol. 5468 2009
pp 14-28.
[4] Jie, Yin, et al. "Smart home system based on iot
technologies." Computational and Information Sciences
(ICCIS), 2013 Fifth International Conference on. IEEE,
2013
[5] http://www.packettracernetwork.com/
[6] Qin, X. U. E. "Simulation Experimental Teaching of
Computer Network Based on Packet Tracer [J]." Research
and Exploration in Laboratory 2 (2010): 57-59.
[7] http://www.packettracernetwork.com/internet-ofthings/
pt7-iot-devicesconfiguration.htm
[8] Sun, Liangxu, et al. "Comparison between physical
devices and simulator software for Cisco network
technology teaching." Computer Science & Education
(ICCSE), 2013 8th International Conference on. IEEE,
2013.
[9] https://ieeexplore.ieee.org/document/7029576/ The Internet of Things: An
overview and new perspectives in systems design
[10] journal of electrical and computer engineering.
https://www.hindawi.com/journals/jece/2017/9324035/ Internet of Things:
Architectures, Protocols, and Applications
Pallavi Sethi and Smruti R. Sarangi
Department of Computer Science, IIT Delhi, New Delhi, India
39