基于STM32的WLAN数据传输设计与实现
发布时间:2018-03-11 02:16
本文选题:微控制器 切入点:嵌入式协议栈 出处:《大连海事大学》2014年硕士论文 论文类型:学位论文
【摘要】:随着嵌入式设备的发展,包括智能手机以及具有物联网功能诸如智能家具等诸多嵌入式设备产品进入人们的生活,使人们生活变得越来越智能化。在互联网大潮下,随着可联系家庭和单位及小型公共场所的基于WIFI联盟组建的WLAN的设备越来越多,设计可以连接无线网络的嵌入式设备已成为嵌入式研究领域的热点问题。本论文利用嵌入式芯片STM32提出了一种基于无操作系统的WLAN的数据传输解决方案,它的优势是低成本,资源占用低。 论文的研究内容主要包括: 搭建了基于嵌入式芯片STM32的WLAN接入硬件平台,介绍了STM32微处理器的主要特点及其所需的外设模块、SPI和串口等,同时说明了作为无线网络驱动设备的美满电子WLAN模块。 剪裁开源的uIP嵌入式协议栈,根据课题的实际需求有选择的将该协议栈移植到STM32的设备上。实现了嵌入式协议栈的底层驱动接口和应用层接口的设计,建立一个稳定的微型TCP/IP协议栈。 研究WLAN芯片的驱动原理,根据标准WLAN芯片驱动模型。研究主机驱动和固件的交互方式,设计出WLAN的底层驱动,实现固件下载,搜索测试,连接测试等功能,完成搭建Ad-Hoc和基础网的功能。 基于MFC库函数编写VC Socket电脑客户端,实现PC端与STM32WLAN嵌入式系统之间的TCP、UDP、ICMP通信测试。基于JAVA编写手机安卓客户端软件,实现移动智能终端与嵌入式WLAN系统的无线通信,实现温度数据采集。
[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.
【学位授予单位】:大连海事大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN925.93
【参考文献】
相关期刊论文 前10条
1 高培强;无线局域网技术IEEE802.11[J];大众标准化;2003年09期
2 勾慧兰;刘光超;;基于STM32的最小系统及串口通信的实现[J];工业控制计算机;2012年09期
3 龚锦红;;基于uIP协议栈的机房远程监测系统的实现[J];华东交通大学学报;2008年03期
4 孙林军;贺锋涛;;基于ARM的TFT—LCD液晶显示图像控制系统研究[J];黄冈师范学院学报;2012年03期
5 刘红;;嵌入式系统技术发展趋势浅析[J];中国建设教育;2006年10期
6 岳世为;尹为民;;uIP协议栈在基于DSP以太网通信系统中的应用[J];计算机与数字工程;2010年01期
7 王娟;郭家奇;刘微;;WIFI技术的深入探讨与研究[J];价值工程;2011年06期
8 荆海霞;;STM32系列微控制器的时钟系统分析[J];科技信息;2008年33期
9 李晓阳;;WiFi技术及其应用与发展[J];信息技术;2012年02期
10 ;意法半导体推出全新32位ARM~汶 Cortex~(TM)微控制器[J];中国集成电路;2012年10期
,本文编号:1596135
本文链接:https://www.wllwen.com/kejilunwen/wltx/1596135.html