期刊文献+

基于PS/2协议的16×8矩阵键盘设计 被引量:1

The design of 16×8 matrix keyboard based on PS/2 interface
下载PDF
导出
摘要 本文采用STC89C58RD+单片机设计了16×8矩阵键盘,实现了PS/2协议,键值修改方便,可应用于各种基于计算机的控制系统。单片机通过定时器中断进入键盘扫描程序,翻转扫描查询法查询矩阵键盘中是否有键值变化。如果有键被按下,则通过查询键值表将该键对应的通码发出;如果有按键抬起,则将该键对应的断码发出。该矩阵键盘可扫描128个按键,满足绝大多数系统需求。所有键值存储在一张表中,对于不同的系统,只需要制作外形不同的矩阵键盘电路,并通过修改键值表即可轻松移植。 In this paper,a 16x8 matrix keyboard basing PS/2 protocol is designed using STC89C58RD+ single chip microcontroller. It can edit key value conveniently,and can be used in each kind of control system based on computer.Microcontroller scans keyboard when timer interrupter comes,the reversal-scan detects change of the key value.It sends make code when key down,and send break code when key up.It scans 128 key,can used in other system.All of the key value saves in a key table,a edition of key table can make the matrix keyboard working in different keyboard PCB.
出处 《微计算机信息》 2012年第2期66-68,共3页 Control & Automation
关键词 PS/2协议 单片机 矩阵键盘 PS/2 protocol Single chip microcontroller matrix keyboard
  • 相关文献

参考文献3

  • 1宏晶科技.STC89C51RC/RD+系列单片机器件手册.
  • 2何立民.单片机原理与应用技术选编.北京:北京航空航天大学出版社.2007.
  • 3魏军辉,王福源,周子昂,侯维岩.基于FPGA的PS/2键盘接口的设计[J].微计算机信息,2008,24(26):139-140. 被引量:4

二级参考文献3

共引文献3

同被引文献6

引证文献1

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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