下载此文档

毕业论文基于STM32单片机的串口转网络设计.docx


文档分类:IT计算机 | 页数:约35页 举报非法文档有奖
1/35
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/35 下载此文档
文档列表 文档介绍
毕业论文基于STM32单片机的串口转网络设计.docx本科毕业设计
(2015 届)
题 目 基于STM32单片机的串口转网络设计
学 院 电子信息学院
专 业 电子信息工程
班 级
学 号
学生姓名
指导教师
完成日期 2015年1月
诚信承诺
我谨在此承诺:本人所写的毕业论文《基于STM32的串口转网络 设计》均系本人独立完成,没有抄袭行为,凡涉及其他作者的观点和 材料,均作了注释,若有不实,后果由本人承担。
承诺人(签名):
摘 要
本毕业设计主要研究串口转网络技术,继而实现串口与网络之间的数据传输。 本串口转网络模块将串口接收的串行数据通过LwIP轻型协议栈构造的TCP服务 器向外部TCP/IP网络传输网络数据。串口数据进行网络化处理过程是整个模块的 关键。
串口转网络模块主要包括以太网接口模块、处理器模块和串口数据处理模块 三部分。处理器模块主要完成在串口数据和以太网IP数据之间建立数据链路,通 过对以太网控制芯片的读写控制来实现对IP数据包的接收与发送。串口数据处理 模块主要完成对串口数据流的电平转换和数据格式的处理,判断串行数据的起始 位及停止位,完成对数据和校验位的提取。以太网接口部分模块由以太网接口部 分和以太网控制部分构成。以太网接口部分完成协议转换系统与以太网接口电路 控制的功能。整个模块结构紧凑,抗干扰能力强,性价比高,在工业等应用现场 有较高的使用价值。
关键词:串口转网络;LwIP; TCP/IP; TCP服务器
ABSTRACT
The main aim of this thesis is to design and realize UART-network protocol converter and then realize the two-way data transmission system between serial data and Ethernet data. The UART-network protocol converter module transform serial data to network data by TCP server on Light-Weight Internet Protocol. The process of serial data networking is the key to the whole module.
UART-network protocol converter module is divided into three parts: processor module> serial data processing module and Ethernet interface module. Processor module is mainly used to set up a data link layer between Ethernet data and serial data. It achieves the receiving and transmitting of IP data packets by controlling the read and write of Ethernet controller chip. Serial data processing module is mainly used to do level switch of the serial data stream, process the data format., determine the start bit and stop bit of serial data as well as getting check sum of data. The Ethernet interface module is made up of Ethernet interface part and Ethernet control part. The Ethernet interface module is used to protocol conversion as well as control Ethernet interface circuit. The whole module structure is compact and it has strong anti-interference ability as well as high cost performance. So, it has a higher value in the industrial filed.
Key words: UART-network protoc

毕业论文基于STM32单片机的串口转网络设计 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数35
  • 收藏数0 收藏
  • 顶次数0
  • 上传人小雄
  • 文件大小369 KB
  • 时间2021-02-21