基于单片机的电器遥控器的设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
摘要
本文介绍了单片机电器遥控器的基本原理以及工作流程,主要采用最高科技的单片机技术来实现遥控的目的。该设计主要采用了红外发射模块和红外接收模块,然后分别对这两个程序模块进行编程。具体说明了单片机在电器遥控器中的作用。单片机涉及到了电器遥控器工作的绝大部分过程。从电器遥控器的发展趋势来看,单片机的出现给了电器遥控器更大的优势,促进了新一代电器遥控器的发展。将单片机融入到电器遥控器中,使电器遥控器的使用更加的方便,快捷,也将人们的生活简易化。随着时代的进步,人们对生活物品的要求也越来越高,为了满足消费者的需求,所以将先进的单片机加入到家庭中的电器遥控器中是符合大众要求的。通过对设计要求地认真分析和研究,拿出了几种可行方案,最终选定了一个最佳方案。该方案是采用先进的单片机技术实现遥控的主要手段。我们所设计的遥控器能控制5个电器的电源开关,并且可对一路电灯进行亮度的调节。
关键字:遥控电路,红外发射,红外接收,单片机
ABSTRACT
This paper introduces the microcomputer electric appliance remote control principle and working process, mainly uses the highest technology, microprocessor technology to achieve the purpose of remote control. Design mainly adopts the infrared emitting module and the infrared receiving module, and then each of the two modules are programmed. Specify the SCM in electrical remote control in rats. SCM relates to the electric appliance remote control most of the course work. From the view of the development tendency of remote controller for electric appliances, the appearance of single chip microcomputer for electrical remote control of greater advantage, promote a new generation of electric appliance remote control development. The single chip integrated into the electrical remote control, so that the electric appliance remote control the use of more convenient, fast, also be people life simple. With the progress of the times, people living on items are increasingly high requirements, in order to meet the needs of consumers, so the advanced SCM to join the family electric appliance remote controller is in line with the needs of the public. After analyzing and researching on the request of the design, we take several blue print and we selected the best one in the end. The project make use of advanced SCM to realize the remote control. Remote controller we designed can dominate 5 electrical source switches and adjust the brightness of one light.
Key Word :Remote controlling circuit Infrared emission Infrared receiving, SCM
目录
1.文献综述 (5)
1.1红外遥控的功能与特点 (5)
1.2红外遥控的发展过程 (5)
1.3红外遥控的发展趋势 (6)
2. 总体设计方案 (7)
2.1方案一:(简易红外遥控电路) (7)
2.2方案二:(利用红外遥控开关电路) (8)
2.3方案三:利用红外遥控开关电路 (8)
2.4方案比较 (9)
3.系统硬件电路设计 (9)
3.1.红外遥控电路设计 (9)
3.1.1 发射电路部分 (9)
㈠器件选择 (9)
㈡电路设计 (11)
3.1.2接收电路部分 (12)
㈠器件选择 (12)
㈡红外遥控接收器的接收过程 (13)
㈢电路设计 (14)
3.2.系统功能实现方法 (16)
3.2.1.遥控码的编码格式 (16)
3.2.2.遥控码的发设定遥控射 (16)
3.2.3.数据帧的接收处理 (17)
3.3.遥控发射及接收控制程序流程图: (17)
3.3.1遥控发射部分: (17)
3.3.2遥控接收部分: (19)
4. 系统调试 (20)
5. 结束语 (22)
6.参考文献 (22)
7.附录
程序清单 (23)