多路红外遥控开关设计.doc

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

多路红外遥控开关设计,1.79万字50页 有程序代码摘要本次毕业设计设计了基于红外遥控和89c51单片机控制的多路红外遥控开关,给出了系统的硬件组成和硬软件设计方法.为达到准确控制,将发射脉冲分为连接段、控制段和结束段等3部分,并在接收端进行校验.系统在实际使用后,证明其方便、可靠并具有实用价值. 遥控技术根据控制方式的...
编号:106-6013大小:538.00K
分类: 论文>计算机论文

内容介绍

此文档由会员 cnlula 发布

多路红外遥控开关设计

1.79万字 50页 有程序代码

摘 要
本次毕业设计设计了基于红外遥控和89C51单片机控制的多路红外遥控开关,给出了系统的硬件组成和硬软件设计方法.为达到准确控制,将发射脉冲分为连接段、控制段和结束段等3部分,并在接收端进行校验.系统在实际使用后,证明其方便、可靠并具有实用价值.
遥控技术根据控制方式的不同,一般分红外遥控、声控和无线遥控,俗称三遥。红外线遥控是目前应用最广泛的一种通信和遥控手段。由于红外线遥控器具有体积小、功耗低、功能强、成本低等特点。因此,彩电、录像机、音响设备、空调、玩具、门铃以及遥控汽车路牌等其它小型装置上也纷纷采用红外线遥控。为改变目前汽车上的车头路牌指示灯(以下简称车号器),无法灵活改变的缺陷,把红外遥控用在其中,使其可以轻松实现远距离、非接触性的一次改变车号的目的,从而改变以前用人工翻牌的旧模式。
关键词: 89C51芯片;单片机;红外遥控开关 仿真器

Abstract:
the monolithic integrated circuit machine technology, compared with systematically introduced the monolithic integrated circuit machine technology in the infrared remote control system application, was allowed outside to say was becomes lucky controls remotely technical and a monolithic integrated circuit machine technology summary and the sublimation. It precisely in view of the fact that the infrared technology in civil center has so universal and the significant, myself have chosen the domestic electric appliances infrared remote control design in the graduation project, in finishes supposes in the process outside, myself became lucky the communications well as the monolithic integrated circuit technology have carried on long-term, comprehensively the understanding and the study, and has conducted the research to the very many seniors research results,attempted in order to in studies in the foundation which the predecessor experienced to obtain the new breakthrough.


Keyword:89C51 chip;single chip microcomputer;


摘要 6
0 引 言 9
第一章 绪论 10
1.1 课题背景 10
1.2 设计应用前景 11

第二章 总体设计方案 11
2.1需求分析 12
2.2机型及元器件选择 12
2.2.1单片机的选择 12
2.2.2 AT89C51单片机的硬件结构: 13
2.2.2译码器 14
2.3软、硬件功能划分 14
2.4 总体方案设计 14

第三章 系统的设计 15
3.1系统硬件设计 15
3.1.1硬件要求 15
3.1.2 键盘接口 18
3.1.3 LED显示器 19
3.1.4 发射部分 20
3.1.5接收部分 21
3.2 系统软件设计 22
3.2.1发射部分的工作原理 22
3.2.2接收部分工作原理 23
3.3遥控系统的编码及解码 24
3.3.1 遥控发射编码 24
3.3.2遥控信号的解码 25
3.3.3数据帧的接收处理 30
3.4遥控发射及接收控制程序流程图 30
3.4.1遥控发射程序控制流程图 30
3.4.2遥控接收程序控制流程图

第四章 系统程序分析 33
4.1 键盘扫描程序 33
4.2键号处理程序 36
4.3 56.7KHz载波及编码脉冲发射程序 37
4.4遥控接收及处理程序 40
4.5 调光程序 43
4.6 延时子程序 45

第五章 系统的调试 46
5.1硬件调试 46
5.1.1电源的调试: 47
5.2软件调试 48
5.2.1调试方法 48
5.2.2软件设计调试过程 49
5.2.3 调试后的系统运行结果 50

第六章 毕业设计总结 51
参考文献: 52
附录: 53