期刊文献+

基于MCS-51单片机的PS/2模拟键盘接口的设计研究 被引量:2

Design of Imitated Keyboard Interface Based on MCS-51
下载PDF
导出
摘要 本文通过对标准PS/2键盘协议的分析,用MCS-51单片机模拟键盘通信时序,实现单片机通过PS/2键盘接口与PC机进行数据通信。为此,本文设计了基于MCS-51单片机的模拟键盘模块,应用于条形码扫描系统,将条形码数据转换为键盘扫描码传输到PC机,从而在PC机上获得对应的ASCII码。实验表明了该模拟键盘接口设计具有较高的可行性和通用性。 In this paper, we firstly analyze the standard PS/2 keyboard protocol and the keyboard communication time sequence. To realize data communication between the MCS-51 and PC using the PS/2 keyboard interface, an imitated keyboard module based on MCS-51 is designed and applied in a bar code scanning system. The designed imitated keyboard module converts the bar code data into the keyboard scanning codes, and then sends them to PC, so that the corresponding ASCII codes can be obtained by PC for further processing. Experiment results show the feasibility and popularity of the designed imitated keyboard module.
出处 《中山大学研究生学刊(自然科学与医学版)》 2008年第3期50-61,共12页 Journal of the Graduates Sun YAT-SEN University(Natural Sciences.Medicine)
关键词 PS/2 MCS-51 模拟键盘 数据通信 条形码 扫描系统 PS/2 MCS-51 Imitated Keyboard Data Communication Bar Code Scanning System
  • 相关文献

参考文献8

二级参考文献18

  • 1张爱全.红外线遥控的基本原理和应用范围[J].山西电子技术,2003(6):40-41. 被引量:18
  • 2安颖,张丽慧.PT2262遥控编码功能的软件实现[J].微计算机信息,2005,21(5):111-111. 被引量:8
  • 3关钟明.只采用鼠标的工业控制软件的设计方法探讨[J].微型计算机信息,1999,.
  • 4马道均.微型计算机原理·使用·维修[M].北京:中国广播电视出版社,1997..
  • 5PS/2 Technical Reference. Adam Chapweske,2002.
  • 6Adam Chapweske.The AT-PS/2 Keyboard Interface.2001,Panda.cs.ndsu.nodak.edu.
  • 7Adam Chapweske.Keyboard Scan Codes: Set 2.2001,Panda. cs.ndsu.nodak.edu.
  • 8窦振中.PIC系列单片机原理和程序设计[M].北京:北京航空航天大学出版社,2001..
  • 9关钟明,微型计算机信息,1999年
  • 10马道均,微型计算机原理·使用·维修,1997年

共引文献35

同被引文献13

引证文献2

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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