摘要
红外遥控器在家电产品中已广泛使用。在嵌入式系统应用方面,红外信号解码的方法也是多种多样。本文简要介绍红外遥控器解码的硬件构成与软件编程思路,然后针对两种常用的红外编码结构,阐述了使用51单片机定时器门控方式解码的具体方法,并给出了代码示例与软件流程。
Infrared remote controllers are widely used in household electrical appliances. Infrared signal decoding methods are various in the application of embedded system. The hardware structure and software programming ideas of infrared remote controller decoding are briefly introduced. Aiming at two conventional infrared coding structure, the specific method which uses gating control mode of 51 MCU's timer for decoding is described, and the coding paradigm and the software flowchart are given.
出处
《单片机与嵌入式系统应用》
2012年第7期30-33,共4页
Microcontrollers & Embedded Systems