PS/2 技术参考 著 Adam Chapweske 译 Roy Show
第 2 页共 2 页 02-11-22发布
PC keyboards can have either a 6-pin mini-DIN or a 5-pin DIN connector. If your keyboard has a 6-pin
mini-DIN and your computer has a 5-pin DIN (or visa versa), the two can be made compatible with the
adaptors described above. Keyboards with the 6-pin mini-DIN are often referred to as "PS/2" keyboards,
while those with the 5-pin DIN are called "AT" devices ("XT" keyboards also used the 5-pin DIN, but they are
quite old and haven't been made for many years.) All modern keyboards built for the PC are either PS/2, AT,
or USB. This document does not apply to USB devices, which use a completely different interface.
PC 键盘可以有 6 脚的 mini-DIN 或 5 脚的 DIN 连接器
如果你的键盘是 6 脚的 mini-DIN 而你的计算机
是 5 脚的 DIN
或者相反 这两类连接器可以用上面提到的适配器来兼容 具有 6 脚 mini-DIN 的键盘
通常被叫做
PS/2
键盘 而那些有 5 脚 DIN 叫做
AT
设备
XT
键盘也使用 5 脚 DIN 但它们
非常古老并且多年前就不生产了
所有现代的为 PC 建造的键盘不是 PS/2,AT 就是 USB 的 这篇文章
不适用于 USB 设备
它们使用了一种完全不同的接口
Mice come in a number of shapes and sizes (and interfaces.) The most popular type is probably the PS/2
mouse, with USB mice gaining popularity. Serial mice are also quite popular, but the computer industry is
abandoning them in support of USB and PS/2 devices. This document applies only to PS/2 mice. If you
want to interface a serial mouse, check out Microchip's appnote #519
, "Implementing a Simple Serial Mouse
Controller."
鼠标流行着大量的形状和大小
和接口 最流行的类型可能算是 PS/2 鼠标 现在 USB 鼠标渐渐开始
流行起来了
串行鼠标同样非常流行 但计算机工业放弃了它们转而支持 USB 和 PS/2 设备 这篇文章
仅适用于 PS/2 鼠标
如果你要知道一个串行鼠标的接口 请查验 Microchip 的 519 号应用 实现一个
简单的串行鼠标控制器
As a side note, there is one other type of connector you may run into on keyboards. While most keyboard
cables are hard-wired to the keyboard, there are some whose cable is not permanently attached and come as a
separate component. These cables have a DIN connector on one end (the end that connects to the computer)
and a SDL (Sheilded Data Link) connector on the keyboard end. SDL was created by a company called
"AMP." This connector is somewhat similar to a telephone connector in that it has wires and springs rather
than pins, and a clip holds it in place. If you need more information on this connector, you might be able to
find it on AMP's website at http://www.connect.amp.com/
. I have only seen this type of connector on (old)
XT keyboards, although there may be AT keyboards that also use the SDL. Don't confuse the SDL connector
with the USB connector--they probably both look similar in my diagram below, but they are actually very
different. Keep in mind that the SDL connector has springs and moving parts, while the USB connector does
not.
作为边注
还有另外一种类型的连接器你可以在键盘上碰到 虽然多数键盘电缆都是固定连接到键盘的
但还有一些键盘电缆不是永久挂接的 而是作为一个单独的部件 这种电缆在一端有一个 DIN 的连接
器
这端连接到计算机 而连接到键盘的那一端是一个 SDL 屏蔽的数据连接器 连接器
SDL 是由
一个叫 AMP 的公司建立的
这种连接器有点象电话连接器 它有金属丝和弹簧代替管脚 用一个卡子
保持它在适当的位置上
如果你需要知道关于这种连接器的更多信息 你可以在 AMP 的网站找到它
AMP 的网站在 http://www.connect.amp.com/
尽管可能 AT 键盘同样可以使用 SDL 但我只在一个很老
的 XT 键盘上看见过这种连接器
不要把 SDL 连接器和 USB 连接器混淆起来 这两个可能在我下面画
的示意图中看起来有点类似
但是它们实际上是非常不同的 记住 SDL 有弹簧和活动部件 而 USB 连
接器没有
The pinouts for each connector are shown below:
每种连接器的引脚定义如下所示
- 1
- 2
前往页