- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
PAGE
题 目
基于STM32单片机的串口转网络设计
摘 要
本毕业设计主要研究串口转网络技术,继而实现串口与网络之间的数据传输。本串口转网络模块将串口接收的串行数据通过LwIP轻型协议栈构造的TCP服务器向外部TCP/IP网络传输网络数据。串口数据进行网络化处理过程是整个模块的关键。
串口转网络模块主要包括以太网接口模块、处理器模块和串口数据处理模块三部分。处理器模块主要完成在串口数据和以太网IP数据之间建立数据链路,通过对以太网控制芯片的读写控制来实现对IP数据包的接收与发送。串口数据处理模块主要完成对串口数据流的电平转换和数据格式的处理,判断串行数据的起始位及停止位,完成对数据和校验位的提取。以太网接口部分模块由以太网接口部分和以太网控制部分构成。以太网接口部分完成协议转换系统与以太网接口电路控制的功能。整个模块结构紧凑,抗干扰能力强,性价比高,在工业等应用现场有较高的使用价值。
关键词:串口转网络;LwIP;TCP/IP;TCP服务器
PAGE
PAGE I
ABSTRACT
The graduation project is mainly to research the UART-network protocol converter, which achieve a two-way data transmission system based on serial and ethernet data. The UART-network protocol converter module transforms the serial network data into TCP server transmissing network date into external TCP/IP by Light-Weight Internet Protocol. The process of serial data-networking is the key to the whole module.
UART-network protocol converter module consists of three parts: processor module, serial data processing module and ethernet interface module. Processor module mainly used to set up a data link layer between ethernet data and serial data. It achieves the reception and transmission of IP data packets by controlling ethernet physical layer transceiver. Serial data processing module mainly used to do a level switch of the serial data stream, processing the data format, estimating the start and stop bit of serial data extracting the resultsfrom the data and parity bit as well. The ethernet interface module consists of ethernet interface part and ethernet control part. The ethernet interface module finish the convert protocol meanwhile control ethernet interface circuit. The whole module structure is compact and it has a strong anti-interference ability, high cost performance. Thus, it has a high practical application value in industrial filed.
Key words:UART-network protocol converter; Light Weight Internet Protocol; TCP/IP; TCP server
目 录
TOC \o 1-3 \h \u 28188 1 引言 1
32711 2 概述 2
29221 2.1 串口转网络系统
您可能关注的文档
- 【外文翻译】为轻型电动汽车设计一款电机调速控制器DESIGN OF A MOTOR SPEED CONTROLLER FOR A LIGHTWEIGHT.doc
- 【任务书+开题报告】电梯运行状态的VB仿真.doc
- 【外文翻译】具有目的地管理能力电梯的运输性能研究Traffic Performance of Elevators .doc
- 电梯运行状态的VB仿真.doc
- 【任务书+开题报告】线阵LED显示屏设计与实现.doc
- 【外文翻译】一种自校验RS编码器的分析和设计.doc
- 【开题报告】基于STM32单片机的串口转网络设计.ppt
- 【任务书+开题报告】基于STM32单片机的串口转网络设计.doc
- 【外文翻译】基于LwIP协议的海洋数据采集与传输系统研究Research on Marine Data Collection and Transmission System.doc
- 【外文翻译】嵌入式Web服务器轻量级TCPIP的移植与实现(he Porting and Implementation of Light-Weight TCPIP for Embedded Web Server).doc
最近下载
- YY:T 1870-2023 液相色谱 - 质谱法测定试剂盒通用要求.pdf VIP
- 炎德英才大联考·雅礼中学2026届高三9月月考试卷(二)英语试卷(含答案详解).doc VIP
- 四川省成都市玉林中学2024-2025学年九年级上学期10月月考物理试题.docx VIP
- 石油钻井典型事故案例(钻井课件培训资料).ppt VIP
- 《人民币》解说词全五集.doc VIP
- 工程流体力学(闻建龙)课后习题答案解析.docx VIP
- 吉林省中考英语模拟题及答案.doc VIP
- 四川省巴中市南江县实验中学2024-2025学年九年级上学期10月月考物理试题.docx VIP
- 课件:中石油四起典型事故案例分析.ppt VIP
- 通过法律的社会控制.pdf VIP
文档评论(0)