基于51单片机的红外遥控的开关的设计
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
4 系统调试.............................................................................................................................19 5 毕业设计总结.....................................................................................................................21 致 谢.....................................................................................................................................23 参考文献................................................................................................................................. 25 附 录.....................................................................................................................................27
3 系统的设计...........................................................................................................................7 3.1 系统硬件设计................................................................................................................7 3.1.1 硬件要求.................................................................................................................7 3.1.2 键盘接口.................................................................................................................9 3.1.3 LED 显示器........................................................................................................... 10 3.1.4 发射部分...............................................................................................................12 3.1.5 接收部分...............................................................................................................12 3.2 系统软件设计..............................................................................................................13 3.2.1 发射部分的工作原理...........................................................................................13 3.2.2 接收部分工作原理...............................................................................................13 3.3 遥控系统的编码及解码..............................................................................................14 3.3.1 遥控发射编码格式...............................................................................................14 3.3.2 数据帧的接收处理...............................................................................................15 3.4 遥控发射及接收控制程序流程图..............................................................................16 3.4.1 遥控发射控制流程图...........................................................................................16 3.4.2 遥控接收控制流程图...........................................................................................17
II
目录
目录
1 绪 论.....................................................................................................................................1 1.1 课题背景........................................................................................................................1 1.2 应用前景........................................................................................................................1
2 总体设计方案.......................................................................................................................3 2.1 机型及元器件选择........................................................................................................3 2.1.1 单片机的选择.........................................................................................................3 2.1.2 AT89C51 单片及的硬件结构................................................................................. 3 2.2 软、硬件功能划分........................................................................................................4 2.3 总体方案设计................................................................................................................5
论文题目 基于 51 单片机的红外遥控的 开关的设计
摘要
摘要
本设计是基于红外遥控和 AT89C51 单片机控制的红外遥控开关,这种系统具有很 强的适用性、灵活性、先进性,它的应用大大方便了人们的生活。本文给出了系统的硬 件组成和硬软件设计方法,介绍了解码程序的基本结构和程序框图,为达到准确控制, 将发射脉冲分为连接段、控制段和结束段等 3 部分,并再接收端进行校验。整个系统 由发射和接收两个部分组成。发射部分包括键盘矩阵、编码调制、LED 红外发送器; 接收部分包括 LED 红外光、解调、解码电路。系统在实际实用后,证明其方便、可靠 并具有实用价值。
关键词:AT89C51 芯片;红外遥控开关
I
wk.baidu.comBSTRACT
The design of an infrared remote-control multi-line switch is introduced.This switch is based on principle of infrared remote-control and AT89C51 single chip microcomputer controlling .This system has strong applicability,flexibility and advancement.People's life is improved greatly by Its apply. Its system composition and design of hardware and software are presented. The basic structure and chart of control decode program are also expounded. In order to achieve exact remote-control, the transmitted signal is divided into 3 parts:the connecting section, the controlling section and the ending section, then the receiver will verify it.The whole system is composed by the launches partially and the receives partially two parts.Launches partially including the keyboard matrix,the coded modulation,the LED infrared transmitter;Receives partially including the LED infrared light launch,the demodulation,decodes the electric circuit. It was proved that this kind of remote-control is convenient, reliable and practical after using in remote-control system. Key words: the chip of AT89C51; infrared remote-control switch
3 系统的设计...........................................................................................................................7 3.1 系统硬件设计................................................................................................................7 3.1.1 硬件要求.................................................................................................................7 3.1.2 键盘接口.................................................................................................................9 3.1.3 LED 显示器........................................................................................................... 10 3.1.4 发射部分...............................................................................................................12 3.1.5 接收部分...............................................................................................................12 3.2 系统软件设计..............................................................................................................13 3.2.1 发射部分的工作原理...........................................................................................13 3.2.2 接收部分工作原理...............................................................................................13 3.3 遥控系统的编码及解码..............................................................................................14 3.3.1 遥控发射编码格式...............................................................................................14 3.3.2 数据帧的接收处理...............................................................................................15 3.4 遥控发射及接收控制程序流程图..............................................................................16 3.4.1 遥控发射控制流程图...........................................................................................16 3.4.2 遥控接收控制流程图...........................................................................................17
II
目录
目录
1 绪 论.....................................................................................................................................1 1.1 课题背景........................................................................................................................1 1.2 应用前景........................................................................................................................1
2 总体设计方案.......................................................................................................................3 2.1 机型及元器件选择........................................................................................................3 2.1.1 单片机的选择.........................................................................................................3 2.1.2 AT89C51 单片及的硬件结构................................................................................. 3 2.2 软、硬件功能划分........................................................................................................4 2.3 总体方案设计................................................................................................................5
论文题目 基于 51 单片机的红外遥控的 开关的设计
摘要
摘要
本设计是基于红外遥控和 AT89C51 单片机控制的红外遥控开关,这种系统具有很 强的适用性、灵活性、先进性,它的应用大大方便了人们的生活。本文给出了系统的硬 件组成和硬软件设计方法,介绍了解码程序的基本结构和程序框图,为达到准确控制, 将发射脉冲分为连接段、控制段和结束段等 3 部分,并再接收端进行校验。整个系统 由发射和接收两个部分组成。发射部分包括键盘矩阵、编码调制、LED 红外发送器; 接收部分包括 LED 红外光、解调、解码电路。系统在实际实用后,证明其方便、可靠 并具有实用价值。
关键词:AT89C51 芯片;红外遥控开关
I
wk.baidu.comBSTRACT
The design of an infrared remote-control multi-line switch is introduced.This switch is based on principle of infrared remote-control and AT89C51 single chip microcomputer controlling .This system has strong applicability,flexibility and advancement.People's life is improved greatly by Its apply. Its system composition and design of hardware and software are presented. The basic structure and chart of control decode program are also expounded. In order to achieve exact remote-control, the transmitted signal is divided into 3 parts:the connecting section, the controlling section and the ending section, then the receiver will verify it.The whole system is composed by the launches partially and the receives partially two parts.Launches partially including the keyboard matrix,the coded modulation,the LED infrared transmitter;Receives partially including the LED infrared light launch,the demodulation,decodes the electric circuit. It was proved that this kind of remote-control is convenient, reliable and practical after using in remote-control system. Key words: the chip of AT89C51; infrared remote-control switch