409011269-03-IoT-advanced-program-automation-pdf.pdf

School
South Point High School*
*We are not endorsed by this school
Course
SCIENCE ECE 564
Pages
7
Upload Date
Feb 10, 2024
Uploaded by MasterDove2069 on coursehero.com
VNIT-CS : www.vncs.com.vn ; www.daotaocntt.org 1 IoT Advanced programming & automation Contents 1.Tutorial description ............................................................................................................. 2 2.ISR829 router wireless configuration with WPA-PSK encryption ........................................ 2 3. IoE MCU board registration ............................................................................................... 4 4.Javascript code for the MCU Board (remote fire sensors) .................................................. 5 5. Javascript code for the SBC Board (visual fire alarm) ....................................................... 6
VNIT-CS : www.vncs.com.vn ; www.daotaocntt.org 2 1.Tutorial description This tutorial will provide guidelines to simulate a fully automated IoT environment using the capabilities of the new Cisco Packet Tracer 7.0 devices. A MCU board connected to smoke and temperature sensors will act as a remote Fire Detection Unit. The board will be securely wifi connected to a 829 ISR router. A SBC bord connected to a visual alarm will act as a Fire Alarm System. Both IoT board will register to a central IoE server which will provide automation capabilities to raise the Fire Alarm if a fire is detected by the Remote Fire Sensor. 2.ISR829 router wireless configuration with WPA - PSK encryption 1. Setup an IP address on the wlan-ap0 interface for integrated AP managment 2. Connect to the integrated AP (service-module wlan-ap0 session) 3. Configure the SSID with the following settings. Here is configured the SSID, the authentication mode, and the WPA-PSK key. dot11 ssid TEST authentication open authentication key-management wpa wpa-psk ascii 0 AZERTYUIOP guest-mode
VNIT-CS : www.vncs.com.vn ; www.daotaocntt.org 3 4. Configure the Dot11Radio0 interface with the following settings. Here is configured the encryption mode and the link with the previously configured SSID. interface Dot11Radio0 no ip address bridge-group 1 encryption mode ciphers aes-ccm ssid TEST 5. Go back to the router configuration. The data path of the integrated AP is linked to the router's Wlan-GigabitEthernet0 interface (not the AP interface). 6.Configure the Wlan-GigabitEthernet0 interface as an access port in Vlan 1 : interface Wlan-GigabitEthernet0 switchport mode access 7.Configure DHCP on the router for vlan 1 : ip dhcp excluded-address 192.168.100.1 192.168.100.9 ! ip dhcp pool IoE_POOL network 192.168.100.0 255.255.255.0 default-router 192.168.100.1 interface Vlan1 ip address 192.168.100.1 255.255.255.0
Page1of 7
Uploaded by MasterDove2069 on coursehero.com