Design and Implementation of Smart Home Network Using Cisco Packet Tracer

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

ITM Web of Conferences 44, 01008 (2022)

https://doi.org/10.1051/itmconf/20224401008
ICACC-2022

Design and Implementation of Smart Home Network using


Cisco Packet Tracer
Ananya Mishra1, Jay Ghayar2, Ritika Pendam3, Shilpa Shinde4
1,2,3,4
Ramrao Adik Institute of Technology, D Y Patil Deemed to be University, Navi Mumbai, India

Abstract: Technology has become a critical part of our daily activities and routine life in the present day
scenario. The need of the hour is to devise a smart home that will be able to control the operation of electronic
devices via a smartphone. This concept, while absurd to imagine, can be easily implemented efficiently using a
package tracking software which includes IoT functions for control and simulation of a smart home network.
IoT technology has had a huge boom in the tech industry in the recent past. IoT, better known as Internet of
Things, can be applied to several real time scenarios, such as home automation, treatment, campus, office, etc.
In this paper, we will be focusing on a safe home automation system that will be including modules such as:
smoke detection, humiture monitoring, motion detection, temperature monitoring and solar panel controlling
using smart battery. The aim of our research is to devise a simulation network of smart devices which will be in
control of the end-user remotely and implement the concept of smart home automation. This project will make
use of the Cisco Packet Tracer to monitor the IoT devices in the smart home network. Simulation results have
shown that these smart devices can be connected in a network to the home portal and objects can be successfully
monitored which proves that such a model can be used for real life implementation in the user’s home.

Keywords—Smart Home, Automation, Internet of Things, Cisco Packet Tracer.

conditions and controlling the electric network


accordingly, switching off appliances when not in use.ent
1. INTRODUCTION data.
The Internet of Things (IoT), which is made up of two
components- web and things, is a system devised to 2. MOTIVATION AND SCOPE
interface everything to the web using remote sensor
networks. This new and upcoming field has made ground The simulation in our project is demonstrated through the
breaking changes in the technical industry in the recent use of Cisco Packet Tracer (Version 8.0.1), through which
past. With the use of this technology in which billions of we have created a framework for a Smart Home
entities have sensors for measuring and determining their automation system. The Cisco Packet Tracer is a system
status, all linked by common or proprietary protocols over devised by the Cisco Academy to model networks without
public or private networks, we are able to create a smart physical limitations. The interface of this application
home network using the Cisco Packet Tracer software proves to be highly efficient as it provides the drag and
which has all inbuilt functions to provide the necessities drop function while configuring complex networks. It also
needed to build the system. This Smart Home includes operates as a hybrid network to combine real and virtual
objects with specific functions designed to improve networks. The advantages of using the Cisco Packet
comfort, increase security and automate day-to-day Tracer application for the development of the project are
activities, helping the user in monitoring the home –
environment with great ease. The most crucial advantage
• Practical IoT machine simulations and visualizations
of devising a smart home network is to relieve users of the
provided
stress of having to individually operate components of
their household. Through the IoT concept, the devices • Planning, creation and customization of smart homes
operate together by sharing consumer usage data with allowed
each other and follow an algorithm of automated actions
as per the preference of the users of the system. Along • Supply of array of smart objects for use during smart
with providing this comfort, these smart home networks home creation
aim to provide increased security through use of motion • Board for control of intelligent objects provided
detectors and web cameras. This enables the users to
monitor their homes without having the need to be • Exploration of concepts of IoT made easy for the user
physically present. The smart home system also aims to • Sensor detectors provided
improve the consumption of energy by analyzing the

© The Authors, published by EDP Sciences. This is an open access article distributed under the terms of the Creative Commons Attribution
License 4.0 (http://creativecommons.org/licenses/by/4.0/).
ITM Web of Conferences 44, 01008 (2022) https://doi.org/10.1051/itmconf/20224401008
ICACC-2022

• Energy meter provided to keep track of user’s energy [2]“Enabling Alexandria In this paper the
consumption communication Olaisi author states
between the relationship
• User given access to data in the form of readings through
wireless sensor between IoT
mobile application
networks and and wireless
The scope of the system would be to provide users with the Internet of sensor networks
the opportunity to access, control and monitor their homes Things - from ACOAP
with just a few button clicks, making use of smart ACOAP transport
technology. Interfaces of sensors can be created in the Communication network is
homes using sensors to monitor motion, lighting, Stacks”, 2014. described,
temperature and humidity among a few things and also proving that
enable toggling automation in the devices as per there is
conditions provided by the user. Energy conservation, compatibility
comfort of living, enhanced lifestyle and heightened between
security are some of the features that the network aims to network of
provide. Integration of the system with these fields of things and
home automation give us the opportunity to be able to remote sensing
extend its impact on a much larger scale by devising systems over
automation of offices and factories, too. This automation protocols as
network sets a global standard for linking smart devices studied. The
to the web through cloud technology. It enables the user work done made
to control appliances of the smart home among which are use of
lighting, irrigation sprinklers, fire detection systems, solar communication
energy panels and web cameras to name a few. The constrained
expandability of these smart devices to connect with other protocol
networks enables for ease of energy management and (COAP) for the
security solutions. implementation
of a smart
campus
3. LITERATURE SURVEY
This section describes the methodology adopted for the
literature review. These papers represent an exploration of [3]"Design and Miluzzo In this research,
the contributions that have already been made in the home Implementation Chodhury and the work was
automation field. of a WiFi based A. T. Campbell primarily done
Home on the
Title and Year Author Survey Automation smartphone
[1]“Designing Ahmed Abdi In this paper, System", 2010. sensor which is
Smart Campus research was considered to be
using Internet of conducted for the most
Things”, 2018. the creation of a important
smart university sensor today.
to utilize This sensor
technology to consisted of
design a campus various modules
where such as
components measurement of
were to be temperature,
replaced with pressure,
smart devices to humidity etc.
provide They worked on
automation in making the
the workplace smartphone
with the help of interface for
cloud creation of
technology. The smart devices
smart office was linked to
designed using sensors which
IoT gateways to can be
provide a link controlled
between devices through the
in the office and smartphone.
internet, making
use of the cloud.

2
ITM Web of Conferences 44, 01008 (2022) https://doi.org/10.1051/itmconf/20224401008
ICACC-2022

4. EXISTING SYSTEM that are registered and regulated by the gateway can be
accessed and controlled.
The existing systems studied demonstrate the use of smart The Algorithm of the Smart Home Automation System
networking for applications in campus and offices. Our can be explained as follows
project aims to demonstrate smart networking Step 1: The project is started on the Cisco Packet Tracer
applications in a home system. We will be making use of
tool.
the Cisco Packet Tracer which provides several built-in
Step 2: Files with the extension .pkt can be opened and
features of smart home automation networks as opposed
to Raspberry Pi and Arduino incorporated with NRF saved.
modules that were used by researchers previously. With Step 3: Required components are added in the workspace,
the help of Cisco tools, authentication and validation of chosen from an array of inbuilt components provided by
wireless connections are attained with ease and interactive the Packet Tracer.
environments are made use of for creation of virtual Step 4: Devices in the workspace are connected with the
network worlds to understand concepts and protocols for use of cables.
explanation, experimentation and exploration of Step 5: Internet Service Router is set up and the devices
technologies of Network Engineering. While the previous are configured.
systems have been more hardware focused, making use of Step 6: The Home Gateway is added to the network.
microcontrollers, our system focuses majorly on software Step 7: Smart Devices are connected to the wireless
networking, making use of wireless network connections network.
to automate the control of smart home devices. Step 8: An end user device like the smartphone is added
to the network.
5. PROPOSED SYSTEM METHODOLOGY Step 9: An application is developed to keep track and
provide control of the smart devices.
Various smart objects are connected to the Home Step 10: The project is completed and can be modified to
Gateway with the use of sensors. The Packet Tracer meet the end user’s needs.
provides us with a programming environment to control
these smart devices. The control mechanisms are enabled As depicted, all the smart devices are connected to the
through registration of the objects on the Home Gateway. Home Gateway with either wireless connections or
The components of the IoT are able to directly register through Ethernet Cables. The Home Gateway is
with the IoT service on the Home Gateway or the network connected to the Switch which allows it to set an IP
database. address on the interface level. The IP addresses of the
smart devices can be assigned through the Home
Gateway. The Switch in turn is connected to the IoT
Server which allows for linking of the smart devices in the
LAN network which can be accessed by the user.
Furthermore, the list of the connected devices can be
linked with the smartphone to provide access to control
the devices remotely through the smartphone by the end-
user through the medium of the internet.

Fig. 1. System Design


HOME GATEWAY: The home gateway is equipped with
Fig. 2. Depicts the list of devices on the IoT Server that are
4 ethernet ports. It also has a wireless contact point on its connected to the network.
channel 6 to enable us to make wireless links and
connections through the SSID. The home gateway
connects to the internet by making use of the WAN
Ethernet port. This proves to be the interface which helps
in the management of the automation network. Wireless
connections and Ethernet cables aid in the control of
devices both locally and remotely. Home gateway can be
reached via its internal IP address as well as that on the
internet. It also serves to be a DHCP server, thus assigning
IP addresses to its connected devices. The list of devices

3
ITM Web of Conferences 44, 01008 (2022) https://doi.org/10.1051/itmconf/20224401008
ICACC-2022

Fig. 3. Depicts the connection of the devices with the Home


Gateway

FIRE DETECTOR: In the event of a fire, as the smoke


level will rise, the siren will ring, the fire sprinkler will get
switched on to sprinkle water and the window of the
garage will open. the conditions upon which the fire
detector will operate are as follows -
• If the level (L) detected by the fire detector is greater
than 0.1 then the garage fire is set to be ON.
• When garage fire is ON, the Sprinkler will turn ON,
Siren will turn ON, Window will OPEN and door lock
will UNLOCK.
• If the level detected by the fire detector is lesser than 0.1
then the garage fire is set to be OFF.
• When garage fire is OFF, the Sprinkler will be OFF,
Siren will be OFF, and Window will be CLOSED. Fig. 5. Above shows the connection for the humiture monitor

If L > = 0.1 ; Status = True (1)


HUMITURE MONITOR: This sensor detects the outdoor
If L < 0.1 ; Status = False (2)
temperature and humidity of the environment and turns
the lawn sprinkler on and off accordingly. The conditions
upon which the humiture monitor will operate are as
follows -
• If the outdoor temperature (t) is equal to or above 50
degrees, the lawn sprinkler will be turned ON.
• If the outdoor temperature is lesser than 50 degrees, the
lawn sprinkler will be switched OFF.

If t > = 50 ; Status = True (3)


If t < 50 ; Status = False (4)

Fig. 4. Above shows the connection for the motion detector

MOTION DETECTOR: This sensor detects motion as


soon as a person enters the room and the lights and fans
switch on and off accordingly, thus promoting energy
conservation when not in use. The conditions upon which
the motion sensors will operate are as follows -
• Motion detector set to ON.
• If motion detector shows TRUE, fan status set to HIGH,
and light status set to ON. Fig. 6. Above shows the connection for the solar panel
• If motion detector shows FALSE, fan status set to OFF,
and light status set to OFF. SOLAR PANEL: This solar panel sensor detects the
battery present in the solar panel and turns the coffee
machine on and off accordingly. The conditions upon
which the solar panel sensor will operate are as follows -
• If the available battery power ( in the solar panel is
greater than 60% then the coffee machine will be turned
ON.

If  > = 60 % ; Status = True (5)

If  < 60 % ; Status = False (6)

4
ITM Web of Conferences 44, 01008 (2022) https://doi.org/10.1051/itmconf/20224401008
ICACC-2022

6. RESULT ANALYSIS The sensors will detect the change in environment and
record the readings. These readings will be available
Dataset taken from sensors is displayed through an through the interface of the app to the user. The user is
Android application interface. The data is recorded able to generate a monthly report of the readings that are
through the use of Arduino connected to the sensors and fetched from the database. Through this report
the readings from the sensors are stored in the SQL generation module, the user is able to keep track of
database. These readings are reflected back to the user. his/her energy consumption as well as observe the trends
in the readings and therefore be informed.

A certain threshold value for each of the sensors is


determined by the user. If the sensors detect a value
above the threshold, alert mechanism is activated. The
alert setting module on the application is equipped to
send out a notification to the user as soon as the
threshold value is crossed and keep sending out
notifications until the readings go back to normal range.
This ensures that the user is able to keep track and stay
alert in case of any mishaps.

7. CONCLUSION
The idea behind this project is to explore the concept of
Fig. 7. Interface of the Android Application home automation using the principle field of Internet of
Things which enables us to interconnect gadgets with the
assistance of web association. IoT has the power to enable
32 detection of the smart objects remotely which not only
provide the user with enhanced comfort but also assist in
natural resources conservation and a save in energy
consumption. The question of increased security has also
been covered by this Smart Home Network which
provides security solutions with remote access. This gives
rise to the future scope of this project which can be
expanded to a large scale to cover multiple homes, office
spaces and even entire industries as a whole.

Through integrating the Cisco Packet Tracer, we are able


to provide a simulation which furthers the understanding
and accuracy while developing a network for the Smart
Home. The mobile application allows the user to have full
Fig. 8. Readings from the sensors are displayed to the user access and control of the happenings in their environment
and personalize the settings to tailor-suit their needs.
Furthermore, the energy consumption module plays a
vital role in promoting the need of the hour to use
resources carefully and sparingly and cut costs that come
along with wastage. The alert module of the mobile
Fig. 9. Readings from the sensors is stored in the SQL database application will also prove to be successful in helping
users avoid at-risk situations and thus enhance the quality
of solutions for safety concerns regarding smart home
automation.

8. ACKNOWLEDGEMENT
We take this opportunity to express our profound gratitude and
deep regards to our professors, our institute and it’s
management for providing all necessary resources and helping
us in all the possible ways. We also thank readers of this paper
and all those who have directly or indirectly helped us in
completion of this thesis.
Fig. 10. Hardware model using Arduino connected to the
sensors

5
ITM Web of Conferences 44, 01008 (2022) https://doi.org/10.1051/itmconf/20224401008
ICACC-2022

9. REFERENCES [6] Ahmed Abdi (2018), "Designing Smart Campus Using


Internet of Things.” International Journal of Computer Science Trends
[1] "The Internet of Things in an Enterprise Context " in Future and Technology (IJCST), Vol.6 PP 119-126.
Internet-FIS 2008 Lecture Notes in Computer Science Vol. 5462 2008. [7] Miluzzo Chodhury and A. T. Campbell (2010), “Design and
[2] "Smart Home System using IoT technologies" Implementation of a WiFi Based Home Automation System”, pages
Computational and Information Sciences (CIS), 2010 Fifth Int. 2177-2180.
Conference on IEEE. [8] Arunvivek, J., Srinath, S., and Balamurugan, M. S. (2015).
[3] Sri Reddy, P. Salim Akram, M. Adarsh Sharma, P. Aditya Framework development in home automation to provide control and
Sai Ram, R. Prithvi Raj, “Study and Analysis of Routing Protocols”, security for home automated devices. Indian J. Sci. Technol. 8, 1–10.
International Journal of Emerging Trends in Engineering Research, Vol [9] Berlo, A. V., and Allen, B. (1999). Design Guidelines on
8, No11, PP 454 – 460, 2021. Smart Homes: A COST 219bis Guidebook. Brussels: COST,
[4] K. Xu, Performance analysis of differentiated Quality of Commission of European Communities.
Service MAC in wireless local area networks (WLANs), Submitted to [10] Y. Upadhyay, A. Borole, and D. Dileepan, “MQTT based
the Department of Electrical and Computer Engineering, Queen’s secured home automation system,” in Proceedings of the 2016
University, Canada. September, 2003. Symposium on Colossal Data Analysis and Networking (CDAN), pp. 1–
[5] Alexandria, Al-oisi (2014), "Enabling communication 4, IEEE, Indore, India, March 2016.
between wireless sensor networks and the internet of things- ACOAP [11] S. Chattoraj, “Smart home automation based on different
communication stacks.” International journal of Science and sensors and arduino as the master controller,” International Journal of
Engineering, 7-8 Vol.6. Scientific and Research Publications, vol. 5, no. 10, pp. 1–4, 2015.

You might also like