摘要:当今社会科学技术的发展与日俱增,人们的生活水平也是日益提高,为了减少人们的工作量,所以对各种家用电器、电子器件的非人工控制的要求也是越来越高,针对这种情况,设计出一种集成度比较高的控制体系是必然的。单片机的集成度很高,它具有体积小、质量轻、价格便宜、耗电少等突出特点,尤其耗电少,又可使供电电源体积小、质量轻等优点,因此广受人们的青睐。4698
本文详细介绍了学习型红外线遥控器的软硬件设计方法,并给出了具体的各单元电路设计、程序设计及程序流程图。在硬件设计中,选取AT89S52型号单片机为核心器件,并给出外围电路模块如红外线接收模块、红外线发射模块以及外部控制模块等组成部分的设计实现。本学习型红外线遥控器采用最小化应用模式设计,电路简单,它能成功地学习多种红外遥控设备的编码,并通过40 kHz载波发送学习到的记忆信号。实现了对各种各样红外遥控的学习,从而实现了学习型遥控器。
关键词: 单片机;红外遥控;AT89S52
Self-learning infrared remote controller based on single chip microcomputer
Abstract: In today's society, the development of science and technology increasing people's standard of living is increasingly improved, in order to reduce the workload of people, so a range of household appliances, electronic device of the artificial control requirements is also more and more high, in this kind of situation, design a kind of integration of relatively high control system is inevitable. MCU integration too high, it has small volume, light quality, price cheap, less consumption such prominent characteristics, especially less consumption, and can make the power supply, small volume, light quality.
This design detailed introduces the hardware and software design method of learning remote control, and gives the specific each unit circuit design, programming and program flow chart. In the hardware design, selection of AT89S52 microcomputer as the core component models, and give peripheral circuit module such as infrared receiver module, infrared emission modules and external control module component design implementation. This learning infra-red remote adopts minimize application pattern design, simple circuit. So it can successfully learn a variety of infrared remote control device, and through the encoding 40 kHz carrier sent to learn memory signals. Realized to various infrared remote control of study, So as to realize the remote control for learning.
Key words: MCU; Infrared remote control; AT89S52
目录
1 绪论 1
1.1 本设计的研究意义 1
1.2 红外遥控技术的研究现状 1
1.3 本设计的主要任务 2
1.4 本文的章节介绍 3
2 红外通信简介 4
2.1 红外线的基本特性 4
2.2 红外通信的基本原理 4
2.3 红外发送与编码 5
2.4 红外接收与解码 7
3 方案选择与论证 9
3.1 单片机的介绍 9
3.2 单片机的选择 10
3.3 红外接收单元的选择方案与论证 11
3.4 红外发射单元的选择方案与论证 11
3.5 综合设计方案选定 11
4 硬件电路设计 13
4.1 单片机系统 13
4.2 复位电路 19
4.3 时钟电路 20
4.4 红外线接收电路的设计 21
4.5 红外线发射电路的设计 22 AT89S52单片机的自学习红外遥控器设计+源代码+电路图:http://www.751com.cn/zidonghua/lunwen_1471.html