loading
Last Week at 2am in the night in the midst of submitting an important assignment suddenly many of my keyboard keys turned faulty.
As all shops were closed I had to thought of some way.
In my junk I found my old DIN-5 keyboard for my old Pentium II
I took me an hour to convert it to PS2

Step 1:

My Old Keyboard with a DIN-5 pin

Step 2:

I cut the old and my existing keyboard wires

Step 3:

With the help of a Multimeter I determined pin no. with its corresponding colour

Step 4:

Join the wires with each other with respect to its purpose not its colour i-e clock with clock, data with data etc.

Step 5:

Tape it up and
VOILA!
Your DIY PS2 keyboard.
<p>Sorry, I seemed to have vanished from Instructables for so many years and I have seen many messages in inbox. A lot of people seem to be confused regarding the how to determine the function of the pins. Please refer to Step 4. The function of each pin is fixed but the colours would vary so the main logic is finding which colour wire corresponds to which pin (so you dont need to find the function of each). I did a continuity test or a beep test with the multimeter. Dont worry if you dont have a multimeter. Just take a small led/bulb and a 3V battery with wires. That will work too. Do the same with the PS/2 connector and join the wires and it would work as a PS2 keyboard. PS/2 to USB connections are very cheaply available for a &pound;1 or so your old keyboard can be an emergency backup for your USB keyboard. Also as I mentioned it was kind of a late night idea so I just joined up the wires and not soldered them so it looks a bit rough. I know :) Hope this helps.</p>
<p>Hello :)</p><p>Well done, its very usefull project :)</p><p>after you did that, how it recognize your keyboard (as usb HID or as PS/2 keyboard)? </p>
<p>Apologies for late reply. As a PS/2 Keyboard. I am glad you like it :)</p>
<p>Very good idea but it is better don't cut the cable . you can unscrew the back of your keyboards and change the whole cable with socket. of course you should do your modification at end side of your cable . You can attache new socket or solder the wires.</p>
<p>I am having one keyboard of M/s i Key with two PS/2 connector one for keyboard other for mouse.They are connected to single PS/2 port through adaptor. Recently i purchased other keyboard with same company but with different model no i.e. DU-5K-TP2 instead of DU-5K-TP but this keyboard is not working with existing adaptor. Please help me.....One difference is that pin no. 3 of both PS/2 connectors are shorted from keyboard itself......this was not thetre in earlier one</p>
I have a 5 pin mini din male adapter with a slightly different configuration. My male adapter 2 pins on left side, a small rectangle in the middle, and 3 pins on right side. <br>Assuming that pin number sequence follows bottom left to bottom right, pin 1 would be first pin on left and pin 5 would be last pin on right, is it safe to assume that my pin 1 and your pin one have the same purpose? If not, how do you determine each pin's function?
can you just tell me what keyboard color wire went to next keyboard color wire
<p>Hi! Do not connect the wires with respect to the colour, as they are not standardized worldwide. They should be connected w.r.t their purpose. Just follow the above instructions. If you still need help, please let me know.</p>
got din wired to ps2 cable
<p>Nice! I am glad you wired it. Did it work?</p>
Will the keyboard work if the 6th pin of ps/2 is broken...?
<p>Yes it will work! There are only four wires to connect. Pin 2 and 6 are not used</p>
<p>Tthank you for helping me a lot :D Very useful instructable !!</p>
thanx it will help me
This is a very useful instructable, thanks for sharing.
You are most welcome
Well done - simple but very practical!! That's why I love Instructables :-)

About This Instructable

38,953views

16favorites

License:

Bio: Masters in Chemical Engineering University of Nottingham Experienced Process Engineer
More by shahbazali4u:DIY USB Android Charger Fix Old Clogged Cartridges DIY Old Keyboard 5-pin DIN to PS2 converter 
Add instructable to: