進階搜尋


   電子論文尚未授權公開,紙本請查館藏目錄
(※如查詢不到或館藏狀況顯示「閉架不公開」,表示該本論文不在書庫,無法取用。)
系統識別號 U0026-0109202000020500
論文名稱(中文) 基於Node-Red物聯網教學和模擬平台之設計與實作
論文名稱(英文) Design and Implementation of Learning and Simulation Platform for the Internet of Things Based on Node-Red
校院名稱 成功大學
系所名稱(中) 資訊工程學系
系所名稱(英) Institute of Computer Science and Information Engineering
學年度 108
學期 1
出版年 109
研究生(中文) 張庭翊
研究生(英文) Ting-I Chang
電子信箱 tinac840526@gmail.com
學號 P76061417
學位類別 碩士
語文別 英文
論文頁數 67頁
口試委員 指導教授-楊中平
口試委員-盧文祥
口試委員-蘇文鈺
口試委員-張燕光
口試委員-梁勝富
中文關鍵字 物聯網  Node-Red  智慧家庭  MQTT  Raspberry Pi 
英文關鍵字 Internet of Things (IoT)  Node-Red  Raspberry Pi  MQTT  Smart Home 
學科別分類
中文摘要 物聯網(Internet of Things)可以說是近期科技產業最火紅的名詞。物聯網要結合硬體、軟體、感測器、開發板等不同領域的知識,造成學習時經常遇到困難或阻礙,學生要花很多時間去摸索軟硬體整合的基礎知識,如果可以事先提供一些參考範例,便能加速物聯網應用的開發過程。本論文透過Node-Red平台來實作出物聯網教學的平台,讓剛接觸到物聯網或者是沒有程式背景的人來了解物聯網的知識,並透過MQTT一步步的教學來模擬出一個簡單的物聯網應用,讓學生也自己動手做出一個簡單的物聯網應用程式。
英文摘要 Internet of Things (IoT) can be said to be the hottest term in the recent technologies. The IoT must combine knowledge in different fields such as hardware, software, sensors, development boards, etc., often causing difficulties or obstacles in learning. Students spend a lot of time exploring the basics of software and hardware integration. If they can provide in advance some reference examples can accelerate the development process of IoT applications. This thesis uses the Node-Red platform to make an IoT teaching platform, so that people who have just come into contact with the IoT or have no programming background can understand the knowledge of the IoT, and step by step teaching to simulate a simple IoT application —Smart home through MQTT. Then let students also make a simple IoT application by themselves.
論文目次 Abstract I
摘要 II
Acknowledgement III
Contents IV
List of Tables VII
List of Figures VIII
Chapter 1 Introduction 1
1.1 Background 1
1.2 Motivation 1
1.3 Goal 2
Chapter 2 Related Work 4
2.1 Web of Things 4
2.2 Semantic Web 5
2.3 Scientech 6205 IoT Builder 6
2.4 Thingsboard 7
2.5 CHT IoT Platform 7
Chapter 3 Background Technology 9
3.1 Middleware 9
3.2 MQTT 9
3.2.1 Topic 10
3.2.2 Mosquitto Broker 12
3.3 Open Connectivity Foundation (OCF) 13
3.4 IoTivity 13
3.5 OCF Data Format 14
Chapter 4 Architecture and Method 16
4.1 Platform Architecture 16
4.2 Raspberry Pi 19
4.3 Node-Red 20
4.4 Installing Module with Palette Manager 23
4.4.1 Installing with npm 23
4.4.2 Using the Manage Palette 24
4.5 MQTT with Node-Red 25
4.6 Front-end Website with Node-RED 27
4.6.1 JQuery 27
4.6.2 AJAX (Asynchronous JavaScript and XML) 27
4.7 Firebase 29
Chapter 5 Developer Implementation 31
5.1 Overall Configuration 31
5.1.1 Node-Red Running on Raspberry Pi 31
5.1.2 Node-Red Running on Windows 32
5.1.3 Device Connection with Node-Red 33
5.2 Creating a Web Server with Node-Red 35
5.3 Getting Open Data with Node-Red 38
5.4 MQTT Implementation 39
5.5 Device Registration 41
5.6 OCF_Convert Node Implementation 43
5.7 Data Storage 47
5.8 Order Service 48
5.9 Device State and Control 49
Chapter 6 User Operation Flow 53
6.1 Create Account on the Website 53
6.1.1 User Login 53
6.1.2 User Registration 55
6.2 Weather Query 55
6.3 MQTT Simulation 56
6.4 Device Management 58
6.5 Order Service 59
6.6 Device State and Device Control 61
Chapter 7 Conclusion 63
7.1 Conclusion 63
7.2 Discussion and Future Work 63
References 65
參考文獻 [1]Milica Lekić ,Gordana Gardašević, "IoT sensor integration to Node-RED platform," in 2018 17th International Symposium INFOTEH-JAHORINA (INFOTEH), Banja Luka, Bosnia and Herzegovina, 2018.
[2]M.Ruggieri ,H.Nikookar, Internet of Things – From Research and Innovation to Market Deployment.
[3]"Node-RED guide," [Online]. Available: https://nodered.org/.
[4]"Web of Things (WoT)," [Online]. Available: https://en.wikipedia.org/wiki/Web_of_Things.
[5]"SEMANTIC WEB," [Online]. Available: https://www.w3.org/standards/semanticweb/.
[6]"IoT Builder Scientech 6205," [Online]. Available: https://www.scientechworld.com/pdf/iot-builder.pdf.
[7]"thingsboard.io," [Online]. Available: https://thingsboard.io/.
[8]"CHT IoT Platform," [Online]. Available: https://iot.cht.com.tw/iot/.
[9]Mauro A. A. da Cruz, Joel José P. C. Rodrigues,Jalal Al-Muhtadi,Valery V. Korotaev,Victor Hugo C. de Albuquerque, "A Reference Model for Internet of Things Middleware," IEEE Internet of Things Journal ( Volume: 5 , Issue: 2 , April 2018 ), pp. 871 - 883, 23 January 2018.
[10]"MQTT," [Online]. Available: http://mqtt.org/.
[11]Andrei Cornel – Cristian, Tudor Gabriel, Madalina Arhip-Calin, Alexandru Zamfirescu, "Smart home automation with MQTT," in 2019 54th International Universities Power Engineering Conference (UPEC), Bucharest, Romania, 2019.
[12]"MQTT Topics & Best Practices - MQTT Essentials," [Online]. Available: https://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices/.
[13]"Eclipse Mosquitto," [Online]. Available: https://mosquitto.org/.
[14]"A Mosquitto test server," [Online]. Available: http://test.mosquitto.org/.
[15]"OPEN CONNECTIVITY FOUNDATION (OCF)," [Online]. Available: https://openconnectivity.org/.
[16]"IoTivity," [Online]. Available: https://iotivity.org/.
[17]Joo-Chul Lee, Jong-Hong Jeon, Sang-Ha Kim, "Design and implementation of healthcare resource model on IoTivity platform," in 2016 International Conference on Information and Communication Technology Convergence (ICTC), Jeju, South Korea, 2016.
[18]C.W.Wu , F.J.Lin , C.H.Wang , N.Chang, "OneM2M-based IoT protocol integration," 2017 IEEE Conference on Standards for Communications and Networking (CSCN), pp. 252-257, 2017.
[19]"OCF_Resource_Type_Specification," [Online]. Available: https://openconnectivity.org/developer/specifications/.
[20]Weisong Shi , Schahram Dustdar, "The Promise of Edge Computing," Computer, vol. 49, pp. 78-81, 2016.
[21]"Raspberry Pi Introduction," [Online]. Available: https://www.electronicwings.com/raspberry-pi/raspberry-pi-introduction.
[22]"Raspberry Pi Downloads - Software for the Raspberry Pi," [Online]. Available: https://www.raspberrypi.org/downloads/.
[23]"Node-Red:Adding nodes to the palette," [Online]. Available: https://nodered.org/docs/user-guide/runtime/adding-nodes.
[24]"AJAX Introduction - W3Schools," [Online]. Available: https://www.w3schools.com/js/js_ajax_intro.asp.
[25]"jQuery post() Method - W3Schools," [Online]. Available: https://www.w3schools.com/jquery/ajax_post.asp.
[26]"Firebase-wikipedia," [Online]. Available: https://en.wikipedia.org/wiki/Firebase.
[27]"中央氣象局開放資料平臺之資料擷取API," [Online]. Available: https://opendata.cwb.gov.tw/dist/opendata-swagger.html.
[28]"HiveMQ," [Online]. Available:https://www.hivemq.com/.
論文全文使用權限
  • 同意授權校內瀏覽/列印電子全文服務,於2025-09-01起公開。
  • 同意授權校外瀏覽/列印電子全文服務,於2025-09-01起公開。


  • 如您有疑問,請聯絡圖書館
    聯絡電話:(06)2757575#65773
    聯絡E-mail:etds@email.ncku.edu.tw