键盘针脚定义图
PS2键盘接口引脚定义图
PS/2 键盘接口为 6 针母插,外观为:
引脚定义
Pin
Name
Dir
DescripTIon
1
DATA
Key Data
2
n/c
-
Not connected
3
GND
Gnd
4
VCC
Power , +5 VDC
5
CLK
Clock
6
n/c
-
Not connected
键盘接口引脚定义图
键盘接口为 5 针母插座:
引脚定义
PC/AT 键盘接口的引脚定义:
Pin
Name
DescripTIon
Technical
1
CLOCK
Clock
CLK/CTS, Open-collector
2
DATA
Data
RxD/TxD/RTS, Open-collector
3
n/c
Not connected
Reset on some very old keyboards.
4
GND
Ground
5
VCC
+5 VDC
PC/XT 键盘接口的引脚定义稍有不同:
Pin
Name
DescripTIon
Technical
1
CLOCK
Clock
CLK/CTS, Open-collector
2
DATA
Data
RxD/TxD/RTS, Open-collector
3
Reset
Reset
4
GND
Ground
5
VCC
+5 VDC