期刊文献+

单片机定时器捕获模式解码红外遥控器的方法 被引量:4

Method of MCU timer capture mode decoding for infrared remote controller
下载PDF
导出
摘要 以单片机作为核心控制器的电子产品日益广泛使用,它们的操作方式主要还是由外接的键盘来完成。若在此类产品中增加红外遥控功能,将使它们的操作更加人性化。用单片机进行软件解码最普遍的方法有查询法和外部中断法,在此详细介绍一种用AT89S52单片机定时器T2捕获功能实现接收解码的新方法,给出了解码的程序流程图和相应的子程序。实践证明,该解码方法占用单片机资源少,程序代码运行稳定可靠,效率高。该解码方法可为单片机产品开发者提供一个非常实用的参考,也可为学习者提供一个典型的应用范例。 Microcontroller which is taken as a core controller in electronic products is widely used. Its operation mode is still performed by external keyboard. If the infrared remote control function is added in the electronic products, their operation will he more humanized. The most common methods for software decoding with MCU are the inquiry method and external interrupting method. A new method of realizing the receiving decoding by the capture function of AT 89S52 MCU Timer2 is introduced in detail. The program flowchart of the decoding and its corresponding subroutine are given in this paper. The practice application proves that the decoding method occupies less resources of MCU, and is stable, reliable and efficient in the code operation. This decoding method can provide a very useful reference for MCU developers, and a typical application example for the learners.
作者 何乃味
出处 《现代电子技术》 2012年第18期11-13,共3页 Modern Electronics Technique
基金 2010年柳州职业技术学院教学质量与教学改革工程第三批立项项目(2010-A036)
关键词 AT89S52 红外遥控 编码 解码 MCU infrared remote control coding decoding
  • 相关文献

参考文献6

二级参考文献6

共引文献15

同被引文献40

引证文献4

二级引证文献12

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部