天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于STM32的嵌入式web服務(wù)器的設(shè)計(jì)

發(fā)布時(shí)間:2018-10-14 13:10
【摘要】:隨著集成半導(dǎo)體技術(shù)的飛速發(fā)展,嵌入式設(shè)備已經(jīng)應(yīng)用于我們的日常生活,LED電視機(jī)、變頻空調(diào)已經(jīng)進(jìn)入了千家萬(wàn)戶,智能家居的理念已深入人心,而且家用電子醫(yī)療器械也正進(jìn)入人們的家庭生活中。面對(duì)家庭生活中不斷增長(zhǎng)的嵌入式設(shè)備,人們期待有一種廉價(jià)的通信環(huán)節(jié)方便于智能家居和遠(yuǎn)程治療。同時(shí),PC機(jī)的普及,極大地促進(jìn)了網(wǎng)絡(luò)通訊的發(fā)展,目前在全世界范圍內(nèi)已經(jīng)形成了一個(gè)覆蓋面積最大的internet網(wǎng)絡(luò)。因此使用讓家用嵌入式設(shè)備與internet網(wǎng)絡(luò)互聯(lián)的嵌入式web服務(wù)器成為了智能家居和遠(yuǎn)程醫(yī)療最佳的解決方法,它可以讓嵌入式設(shè)備以最低的代價(jià)獲得最大的網(wǎng)絡(luò)資源。要使用嵌入式web服務(wù)器,嵌入式設(shè)備必須支持網(wǎng)絡(luò)通信協(xié)議TCP/IP協(xié)議。Internet網(wǎng)絡(luò)可以通過(guò)TCP/IP為嵌入式設(shè)備提供遠(yuǎn)程通訊、在線升級(jí)、訪問(wèn)internet資源等功能. 本文以STM32f107微控制器為主控芯片,利用其片內(nèi)的以太網(wǎng)控制模塊,結(jié)合μC/OS-Ⅱ操作系統(tǒng)以及LwIP協(xié)議棧,構(gòu)建嵌入式web服務(wù)器。為了構(gòu)建嵌入式web服務(wù)器,本文主要進(jìn)行了以下相關(guān)工作:根據(jù)系統(tǒng)要求結(jié)合STM32控制芯片及其以太網(wǎng)控制模塊構(gòu)建硬件平臺(tái),并且完成硬件電路的設(shè)計(jì);結(jié)合STM32控制器的Cortex-M3內(nèi)核以及μC/OS-Ⅱ操作系統(tǒng)的內(nèi)核特性,將μC/OS-Ⅱ操作系統(tǒng)移植到STM32控制器上來(lái),為應(yīng)用程序的設(shè)計(jì)提供多任務(wù)操作的支持;完善底層網(wǎng)絡(luò)接口層的驅(qū)動(dòng)程序,并將LwIP協(xié)議棧移植到μC/OS-Ⅱ操作系統(tǒng)上來(lái);結(jié)合網(wǎng)絡(luò)技術(shù),使用LwIP的應(yīng)用程序接口程序LwIP API編寫(xiě)相關(guān)的HTTP應(yīng)用程序。在應(yīng)用程序中,嵌入式web服務(wù)器會(huì)處理來(lái)自瀏覽器網(wǎng)頁(yè)中的請(qǐng)求信息,并且將處理信息返回給網(wǎng)頁(yè),實(shí)現(xiàn)服務(wù)器與PC機(jī)上瀏覽器的信息交互。最后系統(tǒng)結(jié)合微控制器的其他片內(nèi)資源及其外圍電路進(jìn)行以太網(wǎng)接口與其他通信接口的通信。 測(cè)試結(jié)果:在服務(wù)器的應(yīng)用層設(shè)計(jì)的HTTP應(yīng)用程序,實(shí)現(xiàn)了服務(wù)器與瀏覽器的信息交互,并結(jié)合微控制器的片內(nèi)串行接口控制模塊,實(shí)現(xiàn)了以太網(wǎng)接口與串行接口的數(shù)據(jù)通信。以上結(jié)果表明,以STM32系列CPU為代表的控制芯片,結(jié)合嵌入式TCP/IP協(xié)議?梢詫(shí)現(xiàn)嵌入式設(shè)備訪問(wèn)Internet網(wǎng)絡(luò)的功能,為家用的嵌入式web服務(wù)器提供一種可行、廉價(jià)的解決方案。
[Abstract]:With the rapid development of integrated semiconductor technology, embedded devices have been applied to our daily life, LED TV sets, frequency conversion air conditioning has entered into thousands of households, the concept of smart home has been deeply rooted in the people. And household electronic medical devices are also entering people's family life. In the face of the growing embedded devices in the family life, people expect a cheap communication link to be convenient for smart home and remote therapy. At the same time, the popularity of PC has greatly promoted the development of network communication. At present, a internet network with the largest coverage area has been formed in the world. Therefore, the use of embedded web server, which interconnects home embedded devices with internet network, has become the best solution for smart home and telemedicine. It can enable embedded devices to obtain the largest network resources at the lowest cost. To use embedded web server, embedded devices must support network communication protocol TCP/IP protocol. Internet network can provide remote communication, online upgrade and access to internet resources for embedded devices through TCP/IP. In this paper, the STM32f107 microcontroller is used as the main control chip, and the embedded web server is constructed by using the Ethernet control module, the 渭 C / OS- 鈪,

本文編號(hào):2270556

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2270556.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶7981a***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com