基于STM32的WLAN數(shù)據(jù)傳輸設(shè)計(jì)與實(shí)現(xiàn)
本文選題:微控制器 切入點(diǎn):嵌入式協(xié)議棧 出處:《大連海事大學(xué)》2014年碩士論文 論文類型:學(xué)位論文
【摘要】:隨著嵌入式設(shè)備的發(fā)展,包括智能手機(jī)以及具有物聯(lián)網(wǎng)功能諸如智能家具等諸多嵌入式設(shè)備產(chǎn)品進(jìn)入人們的生活,使人們生活變得越來(lái)越智能化。在互聯(lián)網(wǎng)大潮下,隨著可聯(lián)系家庭和單位及小型公共場(chǎng)所的基于WIFI聯(lián)盟組建的WLAN的設(shè)備越來(lái)越多,設(shè)計(jì)可以連接無(wú)線網(wǎng)絡(luò)的嵌入式設(shè)備已成為嵌入式研究領(lǐng)域的熱點(diǎn)問題。本論文利用嵌入式芯片STM32提出了一種基于無(wú)操作系統(tǒng)的WLAN的數(shù)據(jù)傳輸解決方案,它的優(yōu)勢(shì)是低成本,資源占用低。 論文的研究?jī)?nèi)容主要包括: 搭建了基于嵌入式芯片STM32的WLAN接入硬件平臺(tái),介紹了STM32微處理器的主要特點(diǎn)及其所需的外設(shè)模塊、SPI和串口等,同時(shí)說(shuō)明了作為無(wú)線網(wǎng)絡(luò)驅(qū)動(dòng)設(shè)備的美滿電子WLAN模塊。 剪裁開源的uIP嵌入式協(xié)議棧,根據(jù)課題的實(shí)際需求有選擇的將該協(xié)議棧移植到STM32的設(shè)備上。實(shí)現(xiàn)了嵌入式協(xié)議棧的底層驅(qū)動(dòng)接口和應(yīng)用層接口的設(shè)計(jì),建立一個(gè)穩(wěn)定的微型TCP/IP協(xié)議棧。 研究WLAN芯片的驅(qū)動(dòng)原理,根據(jù)標(biāo)準(zhǔn)WLAN芯片驅(qū)動(dòng)模型。研究主機(jī)驅(qū)動(dòng)和固件的交互方式,設(shè)計(jì)出WLAN的底層驅(qū)動(dòng),實(shí)現(xiàn)固件下載,搜索測(cè)試,連接測(cè)試等功能,完成搭建Ad-Hoc和基礎(chǔ)網(wǎng)的功能。 基于MFC庫(kù)函數(shù)編寫VC Socket電腦客戶端,實(shí)現(xiàn)PC端與STM32WLAN嵌入式系統(tǒng)之間的TCP、UDP、ICMP通信測(cè)試;贘AVA編寫手機(jī)安卓客戶端軟件,實(shí)現(xiàn)移動(dòng)智能終端與嵌入式WLAN系統(tǒng)的無(wú)線通信,實(shí)現(xiàn)溫度數(shù)據(jù)采集。
[Abstract]:With the development of embedded devices, including smart phones and embedded devices with Internet of things functions such as smart furniture into people's lives, people's lives become more and more intelligent. With the growing number of WLAN devices based on the WIFI Alliance that can connect families and units and small public places, The design of embedded devices which can connect wireless network has become a hot issue in the field of embedded research. In this paper, a solution of data transmission based on WLAN without operating system is proposed by using embedded chip STM32, which has the advantage of low cost. The occupation of resources is low. The main contents of this thesis are as follows:. The WLAN access hardware platform based on embedded chip STM32 is built. The main characteristics of STM32 microprocessor and its peripheral modules, such as SPI and serial port, are introduced. At the same time, the WLAN module, which is used as wireless network driver, is described. The open source uIP embedded protocol stack is cut, and the protocol stack is selectively transplanted to the STM32 device according to the actual requirements of the project. The design of the underlying driver interface and the application layer interface of the embedded protocol stack is realized. Build a stable miniature TCP/IP protocol stack. The driving principle of WLAN chip is studied. According to the standard WLAN chip driver model and the interactive mode of host driver and firmware, the bottom driver of WLAN is designed to realize the functions of firmware download, search test, connection test and so on. Complete the function of building Ad-Hoc and basic network. VC Socket client is programmed based on MFC library function, and the communication test between PC and STM32WLAN embedded system is realized. Based on JAVA, the mobile intelligent terminal and embedded WLAN system are realized by writing mobile phone Android client software. Temperature data acquisition is realized.
【學(xué)位授予單位】:大連海事大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TN925.93
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 高培強(qiáng);無(wú)線局域網(wǎng)技術(shù)IEEE802.11[J];大眾標(biāo)準(zhǔn)化;2003年09期
2 勾慧蘭;劉光超;;基于STM32的最小系統(tǒng)及串口通信的實(shí)現(xiàn)[J];工業(yè)控制計(jì)算機(jī);2012年09期
3 龔錦紅;;基于uIP協(xié)議棧的機(jī)房遠(yuǎn)程監(jiān)測(cè)系統(tǒng)的實(shí)現(xiàn)[J];華東交通大學(xué)學(xué)報(bào);2008年03期
4 孫林軍;賀鋒濤;;基于ARM的TFT—LCD液晶顯示圖像控制系統(tǒng)研究[J];黃岡師范學(xué)院學(xué)報(bào);2012年03期
5 劉紅;;嵌入式系統(tǒng)技術(shù)發(fā)展趨勢(shì)淺析[J];中國(guó)建設(shè)教育;2006年10期
6 岳世為;尹為民;;uIP協(xié)議棧在基于DSP以太網(wǎng)通信系統(tǒng)中的應(yīng)用[J];計(jì)算機(jī)與數(shù)字工程;2010年01期
7 王娟;郭家奇;劉微;;WIFI技術(shù)的深入探討與研究[J];價(jià)值工程;2011年06期
8 荊海霞;;STM32系列微控制器的時(shí)鐘系統(tǒng)分析[J];科技信息;2008年33期
9 李曉陽(yáng);;WiFi技術(shù)及其應(yīng)用與發(fā)展[J];信息技術(shù);2012年02期
10 ;意法半導(dǎo)體推出全新32位ARM~汶 Cortex~(TM)微控制器[J];中國(guó)集成電路;2012年10期
,本文編號(hào):1596135
本文鏈接:http://sikaile.net/kejilunwen/wltx/1596135.html