毕业论文单机串行接口技术.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业论文单机串行接口技术

****大学 本科生毕业设计 单片机串行通信协议设计 学 院:信息工程学院 专 业:电子信息工程 班 级:电信***班 姓 名:* * 指导老师:**** 完成日期:2009年5月30日 摘 要 本文介绍了89C51单片机的发展历史和简单介绍,并展望了它们的前景。着重介绍了单片机串行接口技术,指出了它们的重要性并阐述了其实现原理。根据串行通讯原理结合RS232串口设计了串行通讯协议,利用汇编语言为基础,编写了一个基于RS232串口的通信程序,实现了单片机-PC机的双机通讯。在硬件上测试完好,测试表明,在基于设计的通信协议上的单片机-PC机的通讯状况良好。 关键词:89C51单片机,串行通讯原理,RS232串口,串行通讯协议 Abstract This article describes the development and give a brief history of the 89C51 microcontroller and look forward to their future.Focused on single-chip serial interface technology, pointed out the importance of them and described the principles of its realization. Serial communication in accordance with the principle of combining the design of a serial RS232 serial Communication protocol, Based on the use of assembly language, the preparation of a RS232 serial communication based on the procedures, to achieve a single-chip dual-PC machine communication. Well-tested in hardware, testing showed that the single-chip-PC communications machine based on the design of communication protocols in good condition. Key words:89C51 microcontroller, principle of serial communication, RS232 serial port, serial communication protocol 目 录 引言 ………………………………………………………………………………… (1) 单片机概述 ……………………………………………………………………… (1) 1.1 单片机的发展历史 ………………………………………………………… (1) 1.2 单片机的特点 ……………………………………………………………… (2) 1.3 单片机的应用 ……………………………………………………………… (3) 1.4 AT89C51单片机简介………………………………………………………… (4) 2.单片机的串行接口 ……………………………………………………………… (9) 2.1 基本概念 …………………………………………………………………… (10)2.2 MCS-51的串行和控制寄存器 …………………………………………… (11) 3.串行通讯技术及硬件基本组成 ………………………………………………… (13) 3.1 硬件的基本组成: ………………………………………………………… (14) 3.2 串行通信原理 …………………………………………………………… (14) 3.3 双机通信连接方法 ………………………………………………………… (14) 4. 软件的设计和调整过程 ………………………………………………………… (15) 4.1 程序流程图 ………………………………………………………………… (15) 4.2 通信协议 ………………………………………………………………… (16) 4.3 程序演示 ………………………………………………………………… (18) 5.总结 ………………………………

文档评论(0)

1444168621 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档