单片机通信协议设计和软件实现.doc

约30页DOC格式手机打开展开

单片机通信协议设计和软件实现,全文29页约15000字论述翔实摘要在当今信息社会,通信的重要性无庸质疑。它使我们的工作效率大大提高。而串行通信作为一种基本的通信方式,现今也在各个领域被广泛应用。本课题研究串行通信系统,也是为了应用于远程空调控制系统。空调系统的远程控制是现在工程的新兴技术,采用远程的空调分布式系统以被广泛...
编号:10-26321大小:465.00K
分类: 论文>计算机论文

内容介绍

此文档由会员 孤星逐月 发布

单片机通信协议设计和软件实现

全文29页 约15000字 论述翔实

摘 要

在当今信息社会,通信的重要性无庸质疑。它使我们的工作效率大大提高。而串行通信作为一种基本的通信方式,现今也在各个领域被广泛应用。本课题研究串行通信系统,也是为了应用于远程空调控制系统。空调系统的远程控制是现在工程的新兴技术,采用远程的空调分布式系统以被广泛应用于联通和移动等通信行业的机房。而要实现远程控制,通信是必不可少的,通信的速率与正确性直接影响到整个系统的性能。因此,在整个远程空调控制系统实现的过程中,对串行通信的研究具有非常重要的意义。
本课题将研究一台PC机与一台单片机之间的通信。着重研究当今流行的串行通信协议和串行通信电路的设计和纠检错算法的实现。先介绍串行通信的基本知识和单片机串行接口的工作方式。再根据本控制系统的要求,对RS-232通信协议和CRC循环冗余码纠检错算法做深入的研究。最后结合硬件设计部分,通过C51编程来实现空调远程控制系统的通信传输。

关键词:串行通信,通信协议,纠检错算法,循环冗余码

ABSTRACT

In the information society, the correspondence importance does not need question now. It makes our working efficiency to enhance greatly. But the serial communication took one basic mailing address, now days also widely is applied in each domain. This topic research serial communication system, also is in order to apply in the long-distance air conditioning control system. The air-conditioning system long-distance control is the present project emerging technology, uses the long-distance air conditioning distributional system by widely to apply in correspondence profession and so on the link and migration engine rooms. But must realize the long-distance control, the correspondence is essential, the correspondence speed and the accuracy affect directly the overall system performance. Therefore, in the entire long-distance air conditioning control system realization process, has the extremely vital significance to the serial communication research.
This topic will study PC machine and between a monolithic integrated circuit correspondence. Emphatically studies now the popular serial communication agreement and the serial communication electric circuit design and investigates examines the miscount method realization. Introduces the serial communication first the elementary knowledge and the monolithic integrated circuit serial interface working. Again acts according to this control system the request, investigates to the RS-232 communication protocol and the CRC circulation redundant codes examines the miscount law to do the thorough research. Finally unifies the hardware design part, realizes the air conditioning long-distance control system correspondence transmission through the C51 programming.

Key words:Serial Communication; Communication Protocol; Investigates Examines The Miscount Law; Circulation Redundant Codes

部分参考文献

[11.] 何立民.MCS-51系列单片机应用系统设计系统配置与接口技术[M].北京:北京航空
天大学出版社
[12.] 王福瑞.单片微机测控系统设计大全[M]. 北京:北京航空航天大学出版社,1998.4,
[13.] 李华.MCS-51系列单片机实用接口技术[M].北京:北京航空航天大学出版社,1999
[14.] 李朝青.PC机及单片机数据通信技术[M].北京:北京航空航天大学出版社,2001
[15.] 曹保根..主从式RS485应用系统的设计与调试.[J].电子技术,2000