摘要
基于STC89C52单片机实现了红外遥控器的软件解码设计方案。首先,在分析红外遥控编码和解码原理的基础上,给出了红外接收的硬件连接原理图。其次,采用C语言编写了程序代码,并从软件设计上提高了系统工作的可靠性。最后做了对遥控器的解码实验,并通过串口调试助手软件在PC机上得到了实验结果,验证了该解码方案的正确性。实际应用证明此方案成本低,应用范围广,可移植性高,工作稳定可靠,为各类红外遥控器在单片机控制产品中的开发应用提供了一个非常实用的参考。
Infrared remote decoder is designed based on STC89C52.Firs of all,the hardware connection diagram is presented by analysis the theory of infrared remote control coding and decoding. Secondly,program code is C language, and the relia-bility of system is improved by the software design.Finally the experimental results are obtained on PC machine through the serial communication,proving the decoding method is correct.The practical application proves that it has low cost,wide ap-plication range,high compatibility,stable and reliable work.
出处
《工业控制计算机》
2012年第6期112-113,共2页
Industrial Control Computer