【ACCESS精品源码栏目提醒】:网学会员为需要ACCESS精品源码的朋友们搜集整理了基于AT89S52单片机的串口通讯硬件系统设计【毕业论文,绝对精品】 - 毕业设计相关资料,希望对各位网友有所帮助!
摘 要 计算机与计算机或计算机与终端之间的数据传送可以采用串行通讯和并行通讯两种方式。
由于串行通讯方式具有使用线路少、成本低,特别是在远程传输时,避免了多条线路特性的不一致而被广泛采用。
在串行通讯时,要求通讯双方都采用一个标准接口,使不同的设备可以方便地连接起来进行通讯。
RS-232-C 接口又称 EIA RS-232-C是目前最常用的一种串行通讯接口。
它是在 1970 年由美国电子工业协会EIA联合贝尔系统、 调制解调器厂家及计算机终端生产厂家共同制定的用于串行通讯的标准。
它是“数据终端设备DTE和数据通讯设备DCE之间串行二进制数据交换接口技术标准”该标准对连接器的每个引脚的信号内容加以规定,还对各种信号的电平加以规定。
随着计算机技术尤其是单片微型机技术的发展,人们已越来越多地采用单片机来对一些工业控制系统中如温度、流量和压力等参数进行检测和控制。
PC机具有强大的监控和管理功能,而单片机则具有快速及灵活的控制特点,利用MAX232转换芯片实现PC机的RS-232串行接口与外部设备进行通信,是许多测控系统中常用的一种通信解决方案。
因此如何实现PC机与单片机之间的通讯具有非常重要的现实意义。
关键词:串行通讯;AT89S52;MAX232w Abstract The computer and the computer or between computer and terminal transfer datacan use serial communication and parallel communication in two ways. Because ofserial communication way has less use of lines low cost especially in remotetransmission avoid multiple line characteristics widely adopted inconsistent. In serialcommunication communication both adopt a request make different standardinterface of equipment can be easily connected to communicate. RS - 232 - Cinterface also called EIA RS - 232 - C is the most commonly used one kind of serialcommunication interface. It is in 1970 by the American electronics association EIAjoint bell system modem manufacturer and computer terminal manufacturer of jointlyformulated for serial communication standards. It is quotdata a DTE or DCE can sendacross data communication equipment serial binary data exchange interface betweenthe standard technology standardquot for each of the pin connector of signal content ofcodes various signal level codes. Along with the computer technology especially the development of single chipInternet technology. People have increasingly used to some industry single shipcontrolling system such as temperature flow and pressure testing and controlparameters such as. PC machines have powerful monitoring and managementfunctions and SCM has rapid and flexible control characteristics.Use MAX232conversion chip realize the PC RS - 232 serial interface communication with externaldevices is used in many measurement and control system of a kind of communicationsolutions. Therefore how to realize the PC and the communication between SCM hasvery important practical significance.Keywords: serial communication;AT89S52;MAX232w 目录1 绪论 ................................................................................................................................. 1 1.1 选题背景和意义.................................................................................................. 1 1.2 国内外研究现状.................................................................................................. 1 1.3 研究的主要内容...