当前位置:文档之家› 基于51单片机的红外遥控的开关的设计

基于51单片机的红外遥控的开关的设计

II
目录
目录
1 绪 论.....................................................................................................................................1 1.1 课题背景........................................................................................................................1 1.2 应用前景.................................................................1
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
关键词:AT89C51 芯片;红外遥控开关
I
ABSTRACT
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 unches 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
4 系统调试.............................................................................................................................19 5 毕业设计总结.....................................................................................................................21 致 谢.....................................................................................................................................23 参考文献................................................................................................................................. 25 附 录.....................................................................................................................................27
2 总体设计方案.......................................................................................................................3 2.1 机型及元器件选择........................................................................................................3 2.1.1 单片机的选择.........................................................................................................3 2.1.2 AT89C51 单片及的硬件结构................................................................................. 3 2.2 软、硬件功能划分........................................................................................................4 2.3 总体方案设计................................................................................................................5
相关主题