- 1、本文档共37页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
【2017年整理】单片机的双机通信技术研究
哈尔滨工业大学本科毕业论文
MACROBUTTON
PAGE XVIII
- -
- PAGE I -
单片机的双机通信技术研究
王 银 萍
(陕西理工学院电信工程系通信074班,陕西 汉中 723003)
指导教师:王战备
[摘 要] 由单片机构成的双机通信系统采用总线型主从式结构。所谓主从式结构,即在两个单片机中,一个主机负责通信管理,另一个为从机,从机要负责主机的调度与支配。该设计用AT89C51芯片,并用C语言程序来控制AT89C51,使之能实现两个单片机之间的通信。通信方式为单工通信,一个为主单片机,作为发送方,另一个为从单片机,作为接收方。对于两片8051,发送方的数据由串行口TXD端输出,通过74LS05反向驱动,经光电耦合器至平衡差信号输出,经过传输线(双胶线)将信号传送到接收端。接收方通过平衡差分长线接收芯片75175将差分信号转换成TTL电平信号,通过反向驱动后,经光电耦合器到达接收方串行口的接收端。
[关 键 词] AT89C51;单片机;双机通信
two-machine communication
Wang Yinping
(Grade07,Class4,Major of Communication Engineering,Dept. of E.I.of Shaanxi University of Technology, Hanzhong 723003,China)
Tutor:Wang Zhanbei
[Abstract] Dual posed by the MCU using bus-based communication system master-slave structure. The so-called master-slave structure, that is, two microcontrollers, a master is responsible for communication management, and the other from the machine, the host from the confidential responsible for scheduling and disposal. AT89C51 chip with the design and use of C language program to control the AT89C51, so that it can achieve communication between two microcontrollers. Communication is simplex, a main microcomputer, as the sender, the other is from the microcontroller, as receiver. For the two 8051, the sender of the data from serial port TXD-ended output, driven by 74LS05 reverse, the optocoupler to balance the difference signal output, through the transmission line (Shuangjiao line) the signal to the receiver. Long-term through a balanced differential receiver chip 75175 to receive the differential signal into a TTL level signal, through the reverse drive, via optocoupler receiver serial port to reach the receiver
[Key words] AT89C51; SCM; two-machine communication
通 信 工 程 专 业 课 程 设 计 Ⅲ
目 录 TOC \o \h \z
HYPERLINK \l _To摘 要 = 1 \* ROMAN \* MERGEFORMAT I
HYPERLINK \l _ToAbstract = 2 \* ROMAN \* MERGEFORMAT II
HYPERLI
您可能关注的文档
最近下载
- 译林版高考英语一轮总复习 选择性必修第三册 UNIT 4 Protecting our heritage sites.ppt
- 墨水调色方案.pptx VIP
- 2024统编新版小学三年级语文上册第三单元 大单元整体教学设计.docx
- 幼儿园课件:小班语言活动《青蛙送瓜》课件.pptx
- 35kV电缆振荡波局放检测试验方案.docx
- 户外机车策划方案.pptx
- 南京邮电大学2020-2021学年第1学期《微观经济学》期末考试试卷(B卷)含标准答案.docx
- 人教版八年级数学下册全册教案(完整版)教学设计.doc
- 工业用地及厂房产权转让协议书.doc
- 南京邮电大学2020-2021学年第1学期《微观经济学》期末考试试卷(A卷)含标准答案.docx
文档评论(0)