1 / 44
文档名称:

单片机串行通信设计(毕业设计论文doc).doc

格式:doc   页数:44页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

单片机串行通信设计(毕业设计论文doc).doc

上传人:aidoc1 2015/8/27 文件大小:0 KB

下载得到文件列表

单片机串行通信设计(毕业设计论文doc).doc

文档介绍

文档介绍:单片机串行通信设计
摘要:随着计算机硬件技术的快速发展,测试系统与PC机的通信就显得越来越重要了。由于串行通信的硬件设计简单、控制方便、成本低廉、传输距离远等优点被广泛用于实现测试系统与PC机的通信。因此,本文研究单片机串行通信的设计与仿真。
本文采用专用的电平转换芯片MAX232来实现PC机与MCS-51单片机的串行通信,同时在Proteus中对89C51通信的波特率进行设置和将单片机发送程序载入单片机中,并使用Keil C51和Proteus对其进行联机仿真。
最终本文通过51单片机AT89C51和单片集成的电平转换芯片MAX232设计了一种简洁的单片机串行通信,并且给出了主要的电路原理图及单片机发送程序。通过对电路的软件和硬件的设计分析,显示该电路的可行性。
关键词:串行通信;单片机;MAX232
The Design of munication
Between PC and MCU-51 Single-Chip Microcontroller
Abstract:MCU munication is one of the basic means munication between munication system and PC. In recent years, puter hardware technology of rapid development, communication es increasingly important between testing system and PC. At the same time as the munication hardware design simple, convenient control, low-cost, the advantages of long distance transmission is widely used to achieve testing and munication. Therefore, we focus on MCU munication design and simulation.
In this article, a method to achieve munication using special-purpose level-conversion chip MAX232 between PC and MCS-51 single-chip microcontroller is introduced, while setting baud rate of 89C51 in the Proteus and senting procedures to MCU. To simulate synchronically with Proteus and Keil C51.
Finally, a simple munication is to realize with AT89C51 and the single-integrated special-purpose level-conversion chip MAX232. And display circuit schematic diagram as well as this design main program. Though the analysis of the hardware and software design of the circuit, its practicability is presented.
Keywords: munication; Single-Chip Microcontroller,;MAX232
目录
1绪论
测试系统与PC机通信的方式
随着计算机硬件的发展,PC机的处理速度、存储容量越来越强大,同时与外部设备的通信方式也多种多样,因此,在实际应用中,常常使用PC机作为测试系统的后台设备进行后期处理和存储。
实现测试系统与PC机通信的方式有很多,如测试卡、USB通信、串行通信等。
、仪器和测试装置有机组合而成的具有获取某种信息之功能的整体,同时还得配备相应的软件,如Labview、Bridge View等软件。测试卡所配备的软件如Labview具有很多优势:性能高、扩展性强、开发时间少、完美的集成功能等;同时Labview还有如下的特点:
具有可变性、多层性、自助性的面板。
强大的信号处理能力。
虚拟仪器的功能、性能、指标可由用户定义。
具有标准的、功能强大的接口总线、板卡及相应软件。
虚拟仪器具有开发周期短、成本低、维护方便、易于应用的特点。
虽然测试卡的处理功能