单片机红外控制发射器设计【非常详细】
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
单片机红外控制发射器设计【详细】
摘要
随着社会的发展、科技的进步以及人们生活水平的逐步提高,各种方便于生活的遥控系统开始进入了人们的生活。传统的遥控器采用专用的遥控编码及解码集成电路,这种方法虽然制作简单、容易,但由于功能键数及功能受到特定的限制,只实用于某一专用电器产品的应用,应用范围受到限制。而采用单片机进行遥控系统的应用设计,具有编程灵活多样、操作码个数可随便设定等优点。
本设计主要应用了AT89C2051单片机作为核心,综合应用了单片机中断系统、定时器、计数器等知识,应用红外光的优点。遥控操作的不同,遥控发射器通过对红外光发射频率的控制来区别不同的操作。遥控接收器通过对红外光接收频率的识别,判断出控制操作,来完成整个红外遥控发射、接收过程。
其优点硬件电路简单,软件功能完善,性价比较高等特点,具有一定的使用和参考价值。
关键词:单片机,红外遥控,中断,定时,计数,频率
Abstract
With the development of our society and the gradual improvement of science and technology, various kinds of help remote control systems have began to enter people’s life. The traditional remote controllers adopt special remote control code and decode integrated circuits, though this kind of method is simply and easily, it is only the practical application of some certain special electric equipments because of the counted functional keys is counted and the restricted function, so the range of application is limited. But the remote controllers which adopt the microprocessors have many advantages such as flexible operating and unceremonious manipulative keys.
The design has used AT89C2051 microprocessor as core, integratively apply the interruptive system, timer , counter ,etc. mainly to design originally and also take the advantage of the infrared light. The remote control launcher distinguishes different operation through the control on frequency of infrared emission of light. The remote control receiver judges control operation by adopting the discerned frequency of the received infrared light to finish the whole launching and receiving course.
Its advantage is that the hardware circuit is simple, the software is with perfect function, have certain use and reference value
Keywords:Microprocessor, Infrared remote control,Interrupt,Timing,Counting,Frequency
目录
摘要.......................................................................................................................... I Abstract .......................................................................................................................... I 1 绪论.. (4)
1.1 单片机的产生与发展 (4)
1.2红外通信技术概述 (6)
1.2.1红外概述 (6)
1.2.2 选择红外遥控的原因 (6)
1.2.3红外的简单发射接收原理 (7)
2.1 设计目的与原理 (7)
2.2单片机红外遥控发射器设计原理 (7)
2.3 单片机红外遥控接收器设计原理 (8)
3系统硬件电路设计 (9)
3.1有关AT89C2051单片机的介绍 (9)
3.1.1简介 (9)
3.1.2引脚介绍 (9)
3.1.3 AT89C2051单片机的主要组成部分 (11)
3.2定时器/计数器 (12)
3.2.1主要特性 (12)
3.2.2定时/计数器0和1的控制和状态寄存器 (13)
3.2.3 T0和T1的4种工作方式 (15)
3.3独立式按键结构 (15)
3.4低功耗控制电路 (16)
3.4.1低功耗的实现方法 (16)
3.4.2 掉电保护和低功耗的设计 (16)
3.5 CPU时钟电路 (19)