您好,欢迎来到中国测试科技资讯平台!

首页> 《中国测试》期刊 >本期导读>标准PS/2键盘与单片机的接口设计

标准PS/2键盘与单片机的接口设计

2237    2016-01-22

免费

全文售价

作者:徐晓, 汪道辉

作者单位:四川大学电气信息学院, 四川成都 610065


关键词:PS/2接口; 双向同步协议


摘要:

针对标准的PS/2设备,实现了与单片机的接口,本文分析了PS/2键盘的接口和通讯协议,介绍了PS/2键盘与单片机的接口设计,并以8051为例,配合点阵LCD显示器,实现了PS/2键盘的输入,并进一步探讨了用PS/2鼠标实现嵌入式设备的图形化人机接口(GUI)。


Interface of standard PS/2 keyboard connected to MCU

XU Xiao, WANG Dao-hui

College of Electrical Engineering, Sichuam University, Chengdu 610065, China

Abstract: This paper describes the interface and protocol used by PS/2 keyboard and how to connect the PS/2 keyboard to a MCU. This paper sets 8051 equipped with a LCD as a minimum system and realizes the input process of PS/2 keyboard. Furthermore, it discuss the realize of graphical interfaces of embedded devices with PS/2 mouse.

Keywords: PS/2 interface; Bidirectional synchronous serial protocol

2005, 31(1): 89-91  收稿日期: 2004-6-18;收到修改稿日期: 2004-8-25

基金项目: 

作者简介: 

参考文献

[1] PS/2 Technical Reference. Adam Chapweske, 2002.
[2] 徐爱钧, 等.单片机高级语言C51应用程序设计[M]. 北京:电子工业出版社, 2001.
[3] 何立民.单片机应用系统设计[M].北京:北京航空航天大学出版社, 1990.