摘要
红外遥控的编码方式纷繁复杂,从调试方式可分为调制码、脉冲码,从数据表示法可分为码宽表示和相位表示,另外每种码型的数据码组合方式,引导码、重复码定义都有所不同。编写学习型遥控器程序时精确识别码型非常困难,而如果仅仅记录时间信息,不但有存储数据量过大的问题,发码结束判断也有困难,最终还是需要对码型做粗略判断。文章通过对常用红外遥控编码资料的综合分析,对不同编码类型进行分类整理,并针对遥控码学习过程中的码型识别进行具体分析,探索学习型遥控器的程序设计。
Encoded mode of Infrared remote control is very complicated and complex. The modulating methods can be separated into the modulated code and the pulse code. The data methods can be separated into the width expression code and the phase expression code. Each code pattern's data code combination type, leading code, and repeat code differ from each other. It is very difficult to precisely recognize the code pattern when writing the learning remote control program. If the program merely recorded time information, not only would the memory data quantity be oversized, but also the sent code conclusion judgment would be difficult to find. This document analyzes the commonly used infrared remote control code, and reorganizes the classification to the different code types. This document is not only a study on the detail analysis of the remote control code, but it reveals learning remote control's programming.
出处
《电子与封装》
2009年第10期42-45,共4页
Electronics & Packaging
关键词
红外遥控
编码
码型识别
infrared remote control
encode
code pattern recognition