• Methodology of the design
  • Algorithm and Flow diagram
  • Devices configuration
  • Smart home implementation




    Download 2.64 Mb.
    bet9/14
    Sana09.09.2023
    Hajmi2.64 Mb.
    #80939
    1   ...   6   7   8   9   10   11   12   13   14
    Bog'liq
    asosiyyy diplom uchun (1)
    MTA Majmua(2021), 1, 4-Karno kartadan foydalanib mantiqiy ifodalarni minimallash, Kalendar reja algoritm, Ishchi dastur(Dasturlash I) 24.11.2021, 1 -amaliyot, 4-Lab, Yurtimiz mustaqillikga erishishidan oldin milliy urf odat, 7-8-mavzuDT larni sertifikatlashtirish, Axborotlarni izlash va ajratib olish fanidan mustaqil ish Mavzu, Abdulla Oripov O\'zbekiston (qasida), 2 lab Yarashov Diyorbek, TATU NF Hemis axborot tizimi, Algo 1-299, prezentatsiya

    Smart home implementation


    The implementation of the smart home is done with the new version of packet tracer, precisely PacketTtracer 7.1.


    The Table 3.1 below shows the lists of the different devices used for the simulation and their functions.

    Figure 3.2. Smart home Application (source: allaboutarchitecture.blog)


    Table 3.1. Devices Used for the Simulation





    No

    Devices

    Function

    1

    Router (2911) / ISP

    Used to connects cellular network to home

    2

    Cable modem

    Used to home gateway to
    cloud

    3

    Home gateway

    Used for smart devices
    registration

    4

    IoT server

    Used to control smart devices
    registered on it

    5

    DNS server

    Used to access smart devices
    by domain name

    6

    Central office server

    Used to connect cell tower to
    router and vice versa



    (cont. on next page)

    Table 3. (cont.).

    7

    Cell tower

    Used to connect the
    smartphone to the internet

    8

    Smart phone

    Used to remotely access smart
    devices

    9

    Fan

    Used to ventilate home

    10

    camera

    Used to control activities at
    home

    11

    Smart light

    Used for lightning the home

    12

    Smart door

    Used in order to open and
    close the door from distance

    13

    Smart windows

    Used to control the windows
    from distance

    14

    Smart siren

    Used to make sound if
    anything happen at home

    15

    Motion detector

    Used to detect motion

    16

    Air conditioner

    Used for home cooling

    17

    Lawn sprinkler

    Used the sprinkler the garden

    18

    Old car

    Used in order to control the
    car from distance

    19

    Garage

    Used to control the garage
    door

    20

    Solar panel

    Used to provide energy to the
    home

    21

    Battery

    Used with solar panel to
    provide energy

    22

    laptop

    Connect to the home gateway
    to access the smart devices

    23

    Coffee maker

    Used to control the coffee
    machine



        1. Methodology of the design:




    Figure 3.3. Methodology of the Design


    The network topology used for the implementation of the smart home is represented in the Figure 3.3 above. The implementation consist of four part: the smart home, internet cloud, Iot server and 3G network. [11]
    In the first part, we have a home network with different internet of things devices connected to the home gateway (home Wi-Fi router in the topology).
    The second part of the network is the internet cloud (WAN) which is connected to the home Wi-Fi router through a cable modem in order to provide internet connection to the internet of things devices.
    The third part concern the IoT (internet of things) server that register all the devices connected to it to provide more internet of things functionalities.
    Then comes the last part of the topology “3G network”, the smart phone is connected to the cell tower for internet connection in order to remotely access the devices


        1. Algorithm and Flow diagram


    The Algorithm is explained as follows


    Step 1: Start the project.
    Step 2: Open the pkt file and save the file.
    Step 3: Add the required components to the workspace
    Step 4: Connect all devices in workspace using wireless connection. Step 5: Configure the devices and setup internet service provider router. Step 6: Add Home Gateway to the Network.
    Step 7: Connect smart Devices to the Wireless Network. Step 8: Add End User Device to the Network
    Step 9: Stop


    The flow diagram is explained as follows






    Add Devices




    Router Configuration



















    YES

    Add Home Gateway







    Connect IoT Devices







    Add An End User







    Figure 3.4. Flow Diagram
        1. Devices configuration


    This Figure 3.5 below show the simulation of the smart home with cisco packet tracer using the Methodology described in the previous page.


    Home gateway, cloud, ISP (internet service provider) router, central office server, IoT (internet of things) Server, cell tower, smart phone and the car play an important role in the simulation.


    Figure 3.5. Smart home with Cisco Packet Tracer


    -Home gateway = used for assigning IP address to the smart devices and for smart devices registration. The home gateway get the IP address from the ISP Router automatically after that the connection to the cloud WAN is established. Also all the smart object connected to


    the home gateway get an IP address from ISP router automatically via the cloud (WAN). The cable modem is used to connect the home gateway to the cloud.
    The home gateway provide different programing environment to the devices that are java script, python, and visual basic. [12, 14]


    Figure 3.6. Home Gateway


    In the Figure 3.6 above, we can see different smart objects connected to the home gateway using wireless or Ethernet cable connection.
    There are four Ethernet ports in the home gateway plus a wireless access point with the SSID “home gateway”. We can configure WEP / WPA –PSK/ WPA2 protocols in the home gateway for the wireless connection authentication. [14]
    In order to connect the devices to the home gateway, we must select wireless since the devices will be connected using wireless connection, then we specify the SSID of the home gateway in the devices.
    This Figure 3.7 is the smart light configuration to the home gateway. The authentication is disabled to just to keep the configuration simple. So we repeated this configuration in all the devices.


    Figure 3.7. Smart Light Connected to the Home Gateway


    ISP Router (internet service provider) as shown in Figure 3.8 is used to connect all the network interfaces to each other, the DHCP server is configured on it in order to assign IP address to every connected devices dynamically, whether they are smart devices or not smart in order to simulate the internet connectivity.[11]
    The ISP router configuration is done with the cisco packet tracer command line interface. The configuration consist of hostname assigning and IP address configuration

    Figure 3.8. Physical View of ISP Router



    Download 2.64 Mb.
    1   ...   6   7   8   9   10   11   12   13   14




    Download 2.64 Mb.