【正文】
的 arm 系列芯片 作為 控制 芯片 ,以及現(xiàn)在廣泛使用的單線溫度傳感器 DS18B20 作為溫度 監(jiān) 測(cè)器件,以實(shí)時(shí)、準(zhǔn)確的監(jiān)測(cè)溫度信息。 總的來說, 本文從基礎(chǔ)方面講解了嵌入式Inter 的工作原理, 介紹了嵌入式底層開發(fā)的流程, 適合廣大初學(xué)嵌入式的同學(xué)學(xué)習(xí)。 關(guān)鍵詞: 嵌入式操作系統(tǒng), CGI 程序, Html 語(yǔ)言 重慶大學(xué)本科學(xué)生畢業(yè)設(shè)計(jì) (論文) ABSTRACT II ABSTRACT With the rapid development of Inter technology and embedded technology, Inter technology and embedded technologies are gradually bined together to form the embedded web technology, it has brought a lot of convenience to our daily lives, we can monitor and survey remote industrial, agricultural and dangerous areas. We can also quickly and accurately access environmental information, it’s a good solution to monitor and control the remote equipment. Embedded systems and Inter are bined to be the mainstream of the present study, it has a broad development prospects. This thesis is based on current research focus. Through the prestudy and work such as learning the principle of the arm as an Inter server and being familiar with the way of munication between arm underlying driver and webpage , laying the foundation for further research in the future. This paper designs a remote temperature monitoring system based on arm development board. The system uses the mature arm technology as the processing chip, as well as now widely used singlewire temperature sensor DS18B20 as the temperature sensing device, to obtain realtime and accurate temperature information. This paper describes the development process of the embedded operating system and also describes embedded chips arm series and embedded system – Linux. This thesis describes the method of armlinux cross piler and explains the use of the arm device management mode and pipeline files. This paper also tells the way to use Makefile and the way of data transmission between CGI program and pipeline file. Overall, the paper explains the embedded Inter from basic works, it describes the embedded lowlevel development process, a majority of novice students can read it. Another design focus of this design is web interface, we need know the way of using html language. To make the interface more beautiful, we can use same scripting language, in this design, we use Javascript. Key words: Embedded operating system, CGI program, Html language 重慶大學(xué)本科學(xué)生畢業(yè)設(shè)計(jì) (論文) 目錄 III 目錄 摘要 ..................................................................................................................................... I ABSTRACT........................................................................................................................ II 1 緒論 ................................................................................................................................ 1 選題背景與意義 ..................................................................................................... 1 研究現(xiàn)狀 ............................................................................................................... 1 嵌入式實(shí)時(shí)操作系統(tǒng) .................................................................................... 1 嵌入式 Web 服務(wù)器 ...................................................................................... 2 研究?jī)?nèi)容 ............................................................................................................... 3 2 遠(yuǎn)程溫度監(jiān)測(cè)系統(tǒng)設(shè)計(jì)與軟硬件平臺(tái)搭建 ........................................................................ 3 嵌入式系統(tǒng)開發(fā)概述 .............................................................................................. 3 系統(tǒng)的結(jié)構(gòu)設(shè)計(jì) ..................................................................................................... 4 硬件體系方案 ............................................................................................... 5 軟件體系方案 ............................................................................................... 5 系統(tǒng)整體框架 ............................................................................................... 7 3 系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn) ............................................................................................................... 7 硬件電路設(shè)計(jì) ........................................................................................................ 8 軟件設(shè)計(jì) ............................................................................................................... 8 編譯環(huán)境設(shè)置 ............................................................................................... 8 程序編譯 ...................................................................................................... 9 進(jìn)程通訊 .....................................................................................................10 設(shè)備驅(qū)動(dòng)程序的建立 ...................................................................................13 溫度傳感器 DS18B20...................................................................................15 Boa 服務(wù)器的移植開發(fā) .................................................................................19 CGI 程序 .....................................................................................................22 網(wǎng)頁(yè)界面的編寫 ..........................................................................................24 4 總結(jié)與展望 .....................................................................................................................25 參考文獻(xiàn) ............................................................................................................................27 重慶大學(xué)本科學(xué)生畢業(yè)設(shè)計(jì) (論文) 1 緒論 1 基于嵌入式 web 服務(wù)器 的遠(yuǎn)程溫度監(jiān)測(cè)系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn) 1 緒論 選題背景與意義 在日常生產(chǎn)生活中,人們希望一臺(tái)機(jī)器具有網(wǎng)絡(luò)功能時(shí),用戶可以在任何地方 、任意地點(diǎn)、任意平臺(tái)對(duì)設(shè)備狀態(tài)進(jìn)行監(jiān)測(cè),并可以在遠(yuǎn)程客戶端對(duì)設(shè)備的運(yùn)行狀態(tài)進(jìn)行控制、診斷,這就需要設(shè)備 連接到 Inter。嵌入式系統(tǒng)和 Inter 的結(jié)合是 未來的發(fā)展方向,具有廣闊的應(yīng)用 前景。溫度監(jiān)測(cè)在倉(cāng)庫(kù)存儲(chǔ)的溫度監(jiān)控、 冷藏庫(kù)溫度監(jiān)測(cè) 以及高溫危險(xiǎn)場(chǎng)所 等諸多領(lǐng)域具有廣