Smartmesh IP Network and Iot System
Total Page:16
File Type:pdf, Size:1020Kb
St. Cloud State University theRepository at St. Cloud State Department of Electrical and Computer Culminating Projects in Electrical Engineering Engineering 5-2021 SmartMesh IP Network and IoT System Marc Aurel Kamsu Tennou Follow this and additional works at: https://repository.stcloudstate.edu/ece_etds Part of the Electrical and Computer Engineering Commons Recommended Citation Kamsu Tennou, Marc Aurel, "SmartMesh IP Network and IoT System" (2021). Culminating Projects in Electrical Engineering. 7. https://repository.stcloudstate.edu/ece_etds/7 This Thesis is brought to you for free and open access by the Department of Electrical and Computer Engineering at theRepository at St. Cloud State. It has been accepted for inclusion in Culminating Projects in Electrical Engineering by an authorized administrator of theRepository at St. Cloud State. For more information, please contact [email protected]. SmartMesh IP Network and IoT System by Marc Kamsu A Thesis Submitted to the Graduate Faculty of Saint Cloud State University in Partial Fulfillment of the Requirements for the Degree of Master of Science In Electrical Engineering May 2021 Thesis Committee: Yi Zheng, Chairperson Aiping Yao Timothy Vogt 2 Abstract In recent years, a great deal of research conducted in a variety of scientific areas, including physics, microelectronics, and material sc ience, by scientific experts from different domains of expertise has resulted in the invention of Micro-Electro-Mechanical Systems (MEMS). As MEMS became very popular and widely used, the need for combining the capabilities of sensing, actuation, processing, and communication also grew, and led to further research which would result in the design and implementation of devices which could reflect all those four capabilities. These devices became knowns as Wireless Sensor Networks (WSNs) and they have been th e focus of considerable research efforts in the areas of communications (routing, coding, error detection, error correction, and protocols), electronics (miniaturization and energy efficiency), and control (networked control system, theory, and applications). SmartMesh IP is an innovative way to connect WSNs with advanced network management and comprehensive security features. It follows the IEEE 802.15.4e Timeslotted Channel Hopping (TSCH) standard. SmartMesh IP delivers reliable, scalable, and energy efficient wireless sensor connectivity. Using up to eight times less power than other solutions, SmartMesh IP has become the industry’s most energy-efficient wireless mesh sensing technology even in harsh and dynamically changing RF environments. Therefore, it is an excellent way to create a smart low-power network infrastructure. Thus, the main objectives of this work are: 1) designing and developing a SmartMesh IP system for teaching and research purposes at St. Cloud State University, 2) developing lab procedures for two senior elective classes at St. Cloud State University. The lab procedures are for network manager and mote configuration, and operation control of the embedded system on the mote. 3) testing the performance of SmartMesh IP systems with several configurations. To accomplish the above objectives, here are the tasks that I have completed: 1) Study of the SmartMesh IP Design: Performed extensive study of SmartMesh IP design resources including documentations and source codes. 3 2) Design of a SmartMesh IP Configuration software: this software has been designed and developed for configuring SmartMesh IP network managers, motes, and access points. 3) Design of a SmartMesh IP Temperature Logger software: this software has been designed and developed for monitoring the temperature data collected within a SmartMesh IP network using motes’ internal temperature sensors. 4) Design of a SmartMesh IP Network Statistics software: this software has been designed and developed for monitoring the statistics data (such as reliability, stability, and latency statistics) collected within a SmartMesh IP network. 5) Design of a SmartMesh IP Network Topology software: this software has been designed and developed for viewing the topology layout of a SmartMesh IP network. 6) Design of SmartMesh IP Temperature Plotter firmware and software: this platform has been designed and developed for monitoring the temperature data from external temperature sensors through ADC processing. 7) Design of SmartMesh IP Oscilloscope firmware and software: this platform has been designed and developed for viewing an analog signal’s digitized data. To complete the above tasks, I relied heavily on the resources found in the dustcloud Community SmartMesh IP website: https://dustcloud.atlassian.net/wiki/spaces/ALLDOC/overview In the end, a SmartMesh IP network and IoT system was successfully designed and developed. Also, the system was tested with 100% reliability under several applications and configurations. 6 Acknowledgements Firstly, I would like to thank the Lord Jesus Christ for keeping me alive and allowing me to successfully complete this project. Secondly, I would like to thank my advisor, Dr. Yi Zheng, for granting me admission into the master’s program, and for offering me a generous graduate assistantship along with his guidance throughout my master’s thesis work. Thirdly, I would like to thank the committee members, Dr. Aiping Yao and Dr. Timothy Vogt, for their availability and support. Finally, I would like to thank my family, St. Cloud State University, and Emerson for their support. 7 Table of Contents Page List of Tables …………………………………………………………………………………. 12 List of Figures ………………………………………………………………………………… 13 Chapter I. Introduction ................................................................................................... 23 From Wireless Sensors to Wireless Sensor Networks …………...………23 Wireless Sensors ..................................................................................... 23 Wireless Sensor Networks ....................................................................... 24 Smart Dust …………………………………………………………………….27 SmartMesh IP .………………………………………………………………...32 II. Overview of SmartMesh IP .......................................................................... 34 What is SmartMesh IP? ……………………………………………………...34 SmartMesh IP Network Gateway/Manager ………………………………..37 SmartMesh IP Mote …………………………………………………………...39 LTC5800 ……………………………………………………………………….41 Advantages of SmartMesh IP ……………………………………………….43 SmartMesh IP Real-world Applications …………………………………….45 Refinery Process Control ......................................................................... 45 Energy Monitoring .................................................................................... 46 Remote Monitoring .................................................................................. 46 8 Chapter Page Smart Cities ............................................................................................. 46 III. Project Background, Objective, Approach, and Tools ................................ 48 Project Background and Objective.………………………………………..48 Project Goals ………………………………………………………………...49 Project Approach ……………………………………………………………49 Microprocessor-to-Sensor Interface ............................................... 50 Mote-to-Mote Interface ...................................................................... 50 Mote-to-Network Manager Interface ............................................... 51 Network Manager-to-Computer Interface ...................................... 51 SmartMesh IP Serial Port Interfaces .............................................. 51 Project Components and Development Tools ……………………………54 DC2274A-A SmartMesh IP USB Manager ............................................. 54 DC9018B-B SmartMesh IP RF Certified Mote ....................................... 55 Computer ............................................................................................... 55 IV. SmartMesh IP Devices Configuration ........................................................ 56 Configuration Software Main GUI Form …………………………………...57 Configuration Software Flowchart …………………………………………58 Configuration Software CLI Serial Port Settings …………………………59 Network Manager Default Firmware Load ………………………………..60 9 Chapter Page Mote Default Firmware Load ……………………………………………….63 Access Point Default Firmware Load …….………………………………..65 Configuration Software GUI Controls ……………………………………...67 Connecting to a SmartMesh IP device .................................................... 71 Assigning the mode of a SmartMesh IP Mote ......................................... 73 Setting and getting the Network ID value ................................................ 75 Setting the Join Key value ...................................................................... 76 Configuration Software GUI Results ……………………………………….80 Performing the Connection task on the Mote .......................................... 80 Performing the Connection task on the Network Manager ...................... 80 Performing the Get Network ID task on the Network Manager ............... 81 Assigning the mode of the Mote to slave ................................................ 81 Loading the default firmware on the Network Manager........................... 82 Loading the default firmware on the Mote ............................................... 84 Configuration Software Analysis and Discussion ………………………...84 V. SmartMesh IP Temperature Logger ............................................................. 87 Firmware Requirement ………………………………………………………87