指導教授:吳文中臺灣大學:工程科學及海洋工程學研究所侯肇普Ho, Chao-PuChao-PuHo2014-11-252018-06-282014-11-252018-06-282014http://ntur.lib.ntu.edu.tw//handle/246246/260938近年來,無線感測網路發展快速,體積小、低成本、耗電量低及容易佈署等特性,被廣泛的應用於各領域中,包含軍事、家庭自動化、工業及科學研究等都出現無線感測網路需求。然而;一般無線感測網路應用程式的開發以C或C-like的語言為主,對於非電資領域的研究人員實屬不易。因此在本研究中提出以Python作為無線感測網路應用程式的開發語言,在感測節點的作業系統中實作一Python Bytecode直譯器,並規劃實用的API以及程式開發平台,希望能藉以減輕使用者的學習負擔,提供易學易用的無線感測網路應用程式開發環境。Wireless Sensor Network (WSN) is a rapidly developing technology. The sensor nodes are small, low cost, power efficient, and easily deployed. It is widely used in many fields, such as military, home automation, industrial and science research. In general, WSN applications are developed in C or C-like programming languages, for those researchers who are not related to computer science background would have steep learning curve. In this work, we present a WSN program development platform, using Python as the programming language for developing WSN applications. We implemented a Python Bytecode interpreter on the OS, and designed useful APIs and program development environment. We expect that our efforts may help WSN to be more accessible to users in all fields.誌謝 I 中文摘要 II ABSTRACT III 目錄 VI 第一章 緒論 1 1.1 研究背景 1 1.2 研究目的 2 第二章 文獻回顧 4 2.1 硬體平台 4 2.2 軟體平台 6 2.3 直譯器與虛擬機器 8 第三章 研究方法與設計 10 3.1 系統架構 10 3.2 PyMite 12 3.3 移植工作 13 3.4 遠端程式更新 20 第四章 實驗結果與討論 21 4.1 ntuPyMite Bytecode Overhead 21 4.2 ntuPyMite語法 24 4.3 ntuPyMite IDE使用者教學 28 第五章 結論與未來展望 31 5.1 結論 31 5.2 未來展望 31 參考資料 321776763 bytesapplication/pdf論文使用權限:不同意授權無線感測網路直譯器PythonAPI微處理器基於無線感測網路平台之微型Python直譯器實作The Implementation of Lightweight Python Interpreter for Wireless Sensor Networkthesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/260938/1/ntu-103-R99525098-1.pdf