节点文献

单片机与PC键盘接口

The interface between single chip microcomputers and PC keyboards

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 于印泉佴晓东王兆娟

【Author】 Yu Yinquan Nai Xiaodong Wang Zhaojuan (Northern Jiaotong University)

【机构】 北方交通大学!100044北京市

【摘要】 单片机在应用中常使用的键盘为非标准非编码键盘 ,这类键盘一般价格较贵 ,且需要专门为其编写上电复位、按键扫描、通信等程序。PC用键盘则恰恰相反 ,不但价格便宜 ,稳定可靠 ,而且是编码键盘 ,可自动扫描键盘并通过键盘用标准 5芯插口发送按键的扫描码。因此 ,用PC键盘或对其加以改造而应用于单片机系统是一种很好的选择。本文通过实例对PC键盘工作原理及接口做一介绍 ,并提供了通信用参考程序

【Abstract】 The non standard, non coded keyboards are frequently used in the single chip microcomputer systems. These keyboards are always expensive and need to be specially programmed for boot up reset, keystroke scan and communication. By contrast, PC keyboards are not only cheap, stable and reliable but also a kind of coded keyboard which can be scanned and send the scan code via a standard 5 core socket automatically. For this reason, the application of PC keyboards or their modified forms is a good choice in single chip microcomputer systems. In this paper the operating principle and the interfaee of PC keyboards are introduced with an actual example and the reference program applied in communication is also provided.

  • 【文献出处】 内燃机车 ,DIESEL LOCOMOTIVES , 编辑部邮箱 ,2000年05期
  • 【分类号】TP334.7
  • 【被引频次】8
  • 【下载频次】319
节点文献中: