1、 毕业设计(论文)毕业设计(论文) 题题 目目: :MSC-51 单片机典型双机与多机通信 专专 业业: : 应用电子技术 班班 级级: : 学学 号号: : 姓姓 名名: : 指导老师指导老师: : 论论 文文 摘摘 要要 本论文论述了 MCS-51 单片机典型双机与多机通信设计。在文中通过对单片 机串口结构,串口的工作原理,串口工作方式,串口通信的详细讲解,掌握了串 行接口通信的知识,从而能更好的设计出实现双机与多机通信的硬件与软件。该 论文中双机与多机通信设计用的串口通信方式为半双工方式, 即双方都具有发送 和接收能力.但同一时刻只有一方发送一方接收。本论文介绍的是一个主机与三 个从机的
2、通信,在实现多机通信时主机向三个从机发送各自的从机号与数据,而 在实现双机通信时,则是从机向主机发送从机自己的从机号码。 关键词:MCS-51 单片机 串口通信 双机与多机通信 Abstract This graduation thesis discussed the typical of dual machine and multi-machine communication of MCS-51 Microcontroller. In the article, when explaining the structure of Serial Port, the theory of Serial
3、 Ports Works, the manner of Serial Port Working and Serial Port communication, I acquired the basic knowledge of Serial Port communication. Thus I could design out the hardware and software that were able to realize dual machine and multi-machine communication function. In this thesis the design of
4、dual machine and multi-machine communications method of Serial Port communication was half-duplex communication, which all had the abilities to send and receive data. But at the same time only one sent and other received. My thesis introduced the Serial Port communication that was one host computer and three dependent machines, when multi-machine communication worked that sent the own number of slave and data to th