1、 I 摘 要 随着社会的发展、科技的进步以及人们生活水平的逐步提高,各种方便于生活的遥 控系统开始进入了人们的生活。传统的遥控器采用专用的遥控编码及解码集成电路,这 种方法虽然制作简单、容易,但由于功能键数及功能受到特定的限制,只实用于某一专 用电器产品的应用,应用范围受到限制。而采用单片机进行遥控系统的应用设计,具有 编程灵活多样、操作码个数可随便设定等优点。 本设计应用 AT89S52 单片机作为核心,综合应用了单片机中断系统、定时器、计数 器等知识,应用红外光的优点。遥控操作的不同,遥控发射器通过对红外光发射载波脉 冲数目的控制来区别不同的操作。遥控接收器通过对红外光接收载波脉冲数目的识
2、别, 判断出控制操作,来完成整个红外遥控发射、接收过程。 其优点是硬件电路简单,软件功能完善,性价比较高等特点,具有一定的使用和参 考价值。 关键词:红外遥控;中断;定时;计数;脉冲数目 II Abstract With the social development, technological advances, and gradually raise the living standards of people, all kinds of remote control system to facilitate the beginning of life into the peoples l
3、ives. The traditional use of a dedicated remote control remote control encoding and decoding circuits, although the production of this method is simple, easy, but because of the number and function keys are certain restrictions, only practical in a dedicated electrical products should Sichuan, the s
4、cope of application by Restrictions. The remote control system with microcontroller for application design, with flexible programming, operation code number can be readily set and so on. AT89S52 microcontroller as the core of design applications, integrated application of a microcontroller interrupt system, timers, counters and other knowledge, the advantages of using infrared light. Different remote operation, remote control infrared transmitter on the number of emission control carrier pulse