单片机与PC键盘接口  被引量:5

The interface between single chip microcomputers and PC keyboards

在线阅读下载全文

作  者:于印泉[1] 佴晓东[1] 王兆娟[1] 

机构地区:[1]北方交通大学,北京市100044

出  处:《内燃机车》2000年第5期36-38,共3页Diesel Locomotives

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

关 键 词:单片机 PC键盘 串行通信接口 工作原理 

分 类 号:TP368.1[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象