摘要
在介绍单片机与红外遥控器硬件接口的基础上,详细分析了红外遥控编码脉冲产生的原理并给出了编码格式的定义,提出了利用单片机检测发射的脉冲编码中操作码的算法。基于该算法的红外遥控器在空调使用中解码正确,达到了令人满意的效果。
In this paper, the design of hardware interface between infrared remote control device and MCU is introduced, The principle of encoding pulse for infrared remote control device is analyzed in detail and the definition of encoding format is illuminated. By produced by infrared remote control got satisfying effect in the use of air using MCU, the arithmetic to inspect the manipulation code from pulse coding device is given. The infrared remote control device based on the arithmetic has conditioners, which shows the arithmetic is correct.
出处
《中州大学学报》
2008年第2期111-112,共2页
Journal of Zhongzhou University
关键词
红外遥控
软件解码
单片机
infrared remote control
software decoding
MCU