c0nr4d.technix forum logs

information technology, computer hardware/software, data communications, modding, networking, computer tips, web-log & discussions... archive your brains...
HomeGalleryFAQSearchMemberlistUsergroupsRegisterLog in

Share | 

 PS/2 to USB wiring diagram

Go down 


Number of posts : 108
Age : 42
Location : Philippines
Registration date : 2008-09-27

PostSubject: PS/2 to USB wiring diagram   Fri Oct 03, 2008 8:51 pm

PS/2 to USB wiring diagram

You may convert your PS/2 mouse/keyboard into USB. all you need is to modify cable wirings.

Cable Wiring Diagram

Keyboard PS/2 pinout

The PC"s keyboard implements a bi-directional protocol. The keyboard
can send data (so called scan codes, unique for each button - one for
button pressed, another for button released) to the Host and the Host
can send data to the Keyboard. The keyboard is free to send data to the
host when both the KBD Data and KBD Clock lines are high (Idle). The
KBD Clock line can be used as a Clear to Send line. If the host takes
the KBD Clock line low, the keyboard will buffer any data until the KBD
Clock is released, ie goes high. Should the Host take the KBD Data line
low, then the keyboard will prepare to accept a command from the host.
The transmission of data in the forward direction, ie Keyboard to
Host is done with a frame of 11 bits. The first bit is a Start Bit
(Logic 0) followed by 8 data bits (LSB First), one Parity Bit (Odd
Parity) and a Stop Bit (Logic 1). The Keyboard will generate the clock,
typical frequency of the clock signal ranges from 20 to 30 Khz.

Pin Name Dir Description
1DATAKey Data
2n/c-Not connected
4VCCPower , +5 VDC
6n/c-Not connected
The keyboard and auxiliary device signals are driven by open-collector drivers pulled to 5Vdc through a pull-up resistor.Sink current Max: 20mA ;
Hi-level output V Min 5.0 Vdc minus pull-up ;
Low-level Output v Max 0.5 Vdc;
High-level input v Min 2.0 Vdc;
Low-level input v Max 0.8 Vdc.

PS2 ports use synchronous serial signals to communicate between the keyboard or mouse to the computer

Data transmission from the mouse to the
computer is done as in figure 1, each clock period is usually between
70 to 150 microseconds (10 to 25 microseconds for transitions and 30 to
50 microseconds for high or low state), some may feel that these are
large margins both this works good since this is a synchronous port
(this also helps cut on the cost of high precision clocks). The data
line transition is made on the falling edge of the clock signal and is
usually sampled when the clock is low. Each data packet is composed of
11 bits, 1 start bit (which is low), 8 data bits, 1 odd parity bit and
1 stop bit (high).
Pin Name Dir Description
1DATAKey Data
2n/c-Not connected
4VCCPower , +5 VDC
6n/c-Not connected
Note: Direction is Computer relative Mouse.
Back to top Go down
View user profile

Number of posts : 1
Registration date : 2012-03-17

PostSubject: Re: PS/2 to USB wiring diagram   Wed Mar 21, 2012 5:15 am

Hi Conrad.

Old post but hopefully you can help.

I want to remove the USB cable from my Filco Majestouch and swap it with a PS/2 cable and connector.

I'm having trouble figuring out the wiring arrangement. I can see the layout for adapting PS/2 to USB but I want to achieve the reverse.

I'm just unsure of the reverse attachment for the wires so I can attach my PS/2 cable to what is effectively the USB socket inside the keyboard.

Suggestions appreciated.

Back to top Go down
View user profile
PS/2 to USB wiring diagram
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
c0nr4d.technix forum logs :: c0nr4d.technix - Forum Site :: Modding & DIY section-
Jump to: