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

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

  1. 1、本文档共35页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PAGE 本科毕业设计 (2015届) 题 目 基于STM32单片机的串口转网络设计 学 院 电子信息学院 专 业 电子信息工程 班 级 学 号 学生姓名 指导教师 完成日期 2015年1月 诚 信 承 诺 我谨在此承诺:本人所写的毕业论文《基于STM32的串口转网络设计》均系本人独立完成,没有抄袭行为,凡涉及其他作者的观点和材料,均作了注释,若有不实,后果由本人承担。 承诺人(签名): 年 月 日 杭州电子科技大学本科毕业设计 杭州电子科技大学本科毕业设计 PAGE I 摘 要 本毕业设计主要研究串口转网络技术,继而实现串口与网络之间的数据传输。本串口转网络模块将串口接收的串行数据通过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 pe

文档评论(0)

ze122230743 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档