摘要:红外线遥控是目前应用比较广泛的一种遥控方式,然而随着越来越多红外线遥控设备的出现,红外遥控器的定制也成了一个问题。家庭中往往很多的设备都需要红外遥控,而为了使各种用电设备的遥控不出现干扰,许多设备使用了不同的红外协议。为了使生活和工作更加方便化,自学习型红外遥控应运而生。本文基于AT89S52芯片研究设计出一款自学习型红外遥控器,用以解决定制遥控器只能控制特定用电设备的问题。其中最困难的是红外编码的解码程序部分,不同的协议解码程序不同。此次设计由于时间比较仓促未能对多个协议进行编码,考虑到现今市面上多数电视遥控器都是用NEC协议进行编码,所以本次设计也是主要针对NEC协议进行了编码和调试。22194
关键词: AT89S52;红外协议;编码方式;红外发射;红外接收
Self learning infrared remote controller based on single chip microcomputer
Abstract: Infrared remote control is a control method which is widely used at present, but with the emergence of more and more infrared remote control device, infrared remote control customization has become a problem.Families often many devices need to infrared remote control, and in order to make all kinds of remote control electric equipment does not appear to interfere, many devices using infrared different protocols. In order to make their lives and work more convenient, self learning infrared remote control emerge as the times require. In this paper, AT89S52 chip to design a self learning infrared remote controller based on, to solve particular electrical equipment problem of customized remote control can control. One of the most difficult is the infrared code decoding process, decoding process of different protocols. This design because the time is hasty failed to encode multiple protocols, considering the market most of the TV remote control are encoded using NEC protocol, so this design is mainly for NEC protocol by coding and debugging.
Keywords: AT89S52; Infrared protocol; encoder mode; Infrared emission; Infrared receiver
目录
摘要 i
Abstract i
目录 iii
1 绪论 1
1.1 红外遥控和万能遥控器概述 1
1.2 红外遥控的基本原理 2
2 红外遥控器的基本设计 4
2.1 红外协议分析 4
2.2 总体软件流程设计 9
2.3 总体硬件架构 11
2.4 硬件选型和器件介绍 13
2.4.1 芯片介绍 13
2.4.2 三极管 19
2.4.3 红外一体化接收器 20
3 红外遥控器的具体实现 22
3.1 完整硬件电路图 22
3.2 开发环境和工具介绍 22
3.2.1 开发环境介绍(keil UV2软件) 22
3.2.2 Saleae逻辑分析仪介绍 24
3.2.3 PROTEL99软件介绍 25
3.3 软件功能模块 28
3.3.1 键盘 28
3.3.2 红外接收 28
3.3.3 红外发射 30
3.3.4 存储器 32
4 结论及展望 33
致谢 34
参考文献 35 AT89S52单片机的自学习红外遥控器设计+电路图:http://www.youerw.com/zidonghua/lunwen_14710.html