Breathe new life into an older din 5 computer keyboard

 by MasamuneX
Featured
Hi, this is my first instructable. After completing it I realized just how difficult and time consuming making something like this can be. So thank you to everyone out there willing to go through all the trouble to share your knowledge with others. Now I present to you my instructable.

This instructable is for anyone out there with a perfectly good older style din 5 keyboard that they just can't seem to throw away. With a little work you can save something from the land fill. Sure you could just buy an adapter cable but that wouldn't exactly be recycling.

Here is a list of the things that you are going to need.
- 1 working din 5 keyboard
- 1 broken/disgustingly dirty ps/2 style mini din keyboard
- soldering iron w/ solder and flux
- cutting pliers
- wire stripper
- phillips screwdriver
- multimeter
-wire with alligator clamps on each end *optional*
 
Remove these adsRemove these ads by Signing Up

Step 1: Opening up your PS/2 Mini Din keyboard and removing the mini din cable

Sorry for the lack of pictures in this step. The cable I used was removed from another keyboard. This step is fairly simple so with the instructions below it should be easy.

Our objective in this step is to retrieve the PS/2 mini din cable from your broken keyboard.

Most keyboards are held together with philips head screws on their underside but considering there are tons of different types of keyboards out there taking yours apart is going to differ from others. So with that said turn over your broken keyboard and get to work. Unscrew all the visible screws and be sure to check under the stickers and under the little plastic pieces that prop your keyboard up.

Once you have removed the back of the keyboard you should be able to find where the wires meets the pcb(printed circuit board). If it has a connector simply unplug it or if it is soldered straight to the pcb then just clip the wires as close as you can to the pcb.

Now that you have the PS/2 mini din cable set it aside for later.
1-40 of 49Next »
Tova96 says: Jul 17, 2012. 3:38 AM
Hello!
Can anyone help me?
This is a great instructable but I've allready bought a ps2 to DIN converter (http://fl1.shopmania.org/files/p/uk/m/886/at-keyboard-to-ps-2-adapter-5-pin-din-female-to-6-pin-male~11415886.jpg) for my old Cherry keyboard... the problem is IT DOESEN'T WORK!! DX Whenever I plug my keyboard in it just doesen't type! But the Scroll Lock, Num Lock and Caps Lock lights turn on if I press the buttons! I think it may be an issue with the drivers... what should I do??
Thanks to anyone
mrlunna13 says: Dec 6, 2011. 4:57 PM
Hello,
I just want to mention that "Those old, Worthless keyboards" can be worth upwards of $100.00 USD on eBay. I posted a model "M" on ebay, and it sold for $175.00 I thought I would get only $15-20.00 After researching prices on the net, I found out that basically all the mechanical switch keyboards are VERY expensive. Not only IBM"s, but also KeyTronic, Compaq, IOgear, I-open, James, Cherry, and many more. You can have fun taking apart a keyboard, or One Hundred Dollars in your pocket.
Just a thought.
Thank you,
Mr Lunna XIII
HPIM2412.JPGHPIM2648.JPG
enguego says: Aug 16, 2011. 2:51 PM
Well.. does anybody know if this will do the trick the reverse way?

I have an OLD Pentium (maybe 200Mhz or less) in a 1995 logic board with a keyboard DIN-5 port. I have some PS/2 Keyboards. Is it possible to get a pair of DIN connectors (my electronic material shop can give them to me for just a few cents) and connect the wires?

Thanks in advance from Spain


Enrique

MasamuneX (author) in reply to enguegoAug 16, 2011. 7:44 PM
Hi, yes you should be able to connect a Din5 Cable to a PS2 keyboard. Just follow the wire duty chart and everything should work out fine.

You may also want to consider purchasing a "Female" PS2 to "Male" Din 5 adapter but then again that would take all the fun out of it. :)

http://www.national-tech.com/prodimages/din5-male-ps2-female-adapter.jpg
xetero says: Jun 8, 2009. 7:45 AM
My keyboard messed up. When I tested it on my old computer, the keyboard lights just turned on but I can't type anything... I've followed all your instruction but still I can't make it work. everytime I test the keyboard for continuity, all of the pins are beeping, I can't figure out which pin should I connect to the other pin.. sorry for my bad English...
Redgerr in reply to xeteroJul 8, 2010. 8:03 AM
make sure you wrap each wire individually, if the wires are touching there is a good possibility that it will short itsself out... wrap each wire on its own then wrap them all together... duno if that will solve it but it may be the culprit
Computothought says: Aug 21, 2008. 9:20 PM
You can get an adapter for a few bucks and save all the hassle.
MasamuneX (author) in reply to ComputothoughtAug 21, 2008. 11:53 PM
I mentioned that in my intro but my intent was making use of something that one would considered worthless and unsalvagable.
Computothought in reply to MasamuneXSep 25, 2009. 4:46 PM
Your right. Been there where you use what you have.
P1h3r1e3d13 in reply to MasamuneXAug 28, 2008. 12:10 PM
I have a couple of DIN-PS/2 adapters that I consider worthless enough to throw away when I clean out next week, in case somebody wants them. That said, thanks for the Instructable; it's good to know how that works.
TOCO says: Mar 11, 2009. 1:15 PM
why is your wii sensor bar on your computer? what is the keyhook program?
cabie62 says: Jan 15, 2009. 11:56 PM
I have a PS-2 keyboard from the original PS-2 Computer. It has a connector right under the keyboard. It's a funny looking thing sort of like a RJ45 ethernet cable. I had a bunch of them. I put a 5 pin din plug on a couple and kept the PS-2 mini din on the rest. I no longer have that computer but I still use that keyboard on every computer that I've had. It's now working on my pentium 4. Good Article Keep up the Good Work !! Newer isn't always better.
legionlabs says: Nov 21, 2008. 10:22 AM
In the interests of recycling, here is another project: Some of the old DIN-5 keyboards used keys that are actual switches instead of the capacitance sensors that are present on newer keyboards. If you follow the conductive traces on the two plastic sheets inside the keyboard, it's easy to reverse engineer which pin combinations on the IC produce which keypresses. You can then build a transistor switchboard using 24 2N2222 transistors to control this IC with a microcontroller of your choice (though you will need one with at least 40 pins, such as an ATMEGA16). Why bother? Well, you press a button, and the microcontroller initiates a series of keypresses/delays you programmed in assembly. Great for making macros you wouldn't normally be allowed to create in various online games, and it's pure hardware so unlikely to be detected in any way. I was trying to build a robot that could play counterstrike or WoW. I got it mostly working, but foolishly burnt out the MCU and got bored... In any case I consider exposing some poor robot to those silly games ethically objectionable.
atomictesting says: Nov 21, 2008. 8:04 AM
Thank you for bringing all of this info together in one place! I converted my 5-Pin-Din keyboard to a PS2 since I lost the adapter and have two broken keyboards hanging around. May I suggest enlarging the image that shows the pinouts a bit (trim the border off perhaps)? It's a little bit small.
hondagofast says: Aug 28, 2008. 5:04 PM
And then there are those who still have a computer they're using that only has a DIN5 and a RS232 port for keyboard and mice usage :|
Derin in reply to hondagofastAug 31, 2008. 3:41 AM
and there are these nifty little adapters to convert to PS/2
hammer9876 says: Aug 25, 2008. 4:15 PM
I keep thinking rather than repair the keyboard, I would pop off all the keys and do something creative with those. Hmmm. Off to search the 'net! Thanks for keeping this keyboard out of our landfills.
XfattyX in reply to hammer9876Aug 30, 2008. 1:05 AM
QUOTE [Thanks for keeping this keyboard out of our landfills.] *one of these keyboards... the "/disgustingly dirty ps/2" keyboard still goes there
Lego man says: Aug 26, 2008. 4:46 PM
Does the wii sensor bar mean that uou can play wii on your computer?!?!? PLEASE MAKE INSTRUCTABLE ON HOW TO DO IT!!!
spasysheep in reply to Lego manAug 29, 2008. 4:15 PM
The wii sensor bar isn't actually a sensor bar, its two IR LEDs. the sensor is a camera in the wii remote.
Mastertarus in reply to Lego manAug 28, 2008. 10:39 AM
The computer screen doubles as a TV, or he's used/made the cable to connect a wii to a computer monitor. it doesn't mean you can play wii on your pc.
old_bass_masta in reply to MastertarusAug 28, 2008. 3:08 PM
I want to know how to make one of those cables!
bikerbob2005 in reply to MastertarusAug 28, 2008. 12:31 PM
I use a video capture card and pipe PS2 into my computer,got it for 20$ at geeks.com have to have a good video card to run it ,but it takes very little CPU .
Mastertarus in reply to bikerbob2005Aug 28, 2008. 2:08 PM
Or that, video capture cards seem like a good idea, what's the frame rate like?
bikerbob2005 in reply to MastertarusAug 29, 2008. 4:01 AM
PCI video cap card
30fps the res is only 720 .
I think tony hawk looks good on it,spend more money than i did and go hi def.
also it will not work on the next gen of tv signals (will work on cable next feb so I dont care about that.
Jollyrgr says: Aug 28, 2008. 9:35 PM
Your Instructable is technically sound. But you can get an adapter to do this for about $3 US so why reinvent the wheel?
opusfocus1968 says: Aug 25, 2008. 2:36 PM
Way to go MasamuneX good idea. It's creative, educated and environmentally relevant. So much very usable stuff ends up in landfills that could be repurposed. I like it thanks for taking the time to post the instructable.
dishragwhore says: Aug 24, 2008. 10:11 PM
I am impressed by your determination to fix a $10 part.

Another option is to make a wallet out of the circuitboards:
http://www.instructables.com/id/Wallet-made-from-a-computer-keyboard/

I made one and I get compliments on it all the time.
dishragwhore in reply to dishragwhoreAug 24, 2008. 10:13 PM
Also, to all the people pooh-pooh-ing this because there's an off the shelf fix, why are you reading instructables?
Jordo says: Aug 24, 2008. 7:20 PM
Well shure you could go out and buy an adapter, but thats not exactly what Instructables is about now is it? nice Instructable keep up the good work : D
kloopk says: Aug 24, 2008. 3:22 PM
Just to give you a heads up, the link for keyhook has an extra . on the end gives a 404 error, just delete the unwanted fullstop and all is good.
nitrox027 says: Aug 22, 2008. 7:22 PM
not to ruin your awesome Instructable but there are adapters for the cheap
EaglesNestOne says: Aug 22, 2008. 5:33 PM
Lol. You Wii on your pc :D ;P. I'm gonna wait till headtracking with webcams is perfected. Nice IBLE
kill-a-watt says: Aug 22, 2008. 5:27 AM
Here is an "off the shelf" solution that I've been using for the last decade with my IBM model M

PS/2 to 5 pin Din (AT) cable adaptor

CTG Keyboard adapter - 5 pin DIN to 6 pin mini-DIN - female

Amazon.com search
Derin says: Aug 22, 2008. 3:32 AM
do we get bonus points for finding the brand of the din keyboard?no?bummer.
cormac3050 says: Aug 21, 2008. 10:55 AM
why do you have a sensor bar on your pc monitor?
MasamuneX (author) in reply to cormac3050Aug 22, 2008. 12:01 AM
Alex is correct. If you look you can see the remote controller sitting on top of the monitor base.
Sandisk1duo in reply to cormac3050Aug 21, 2008. 11:33 AM
that monitor probably works as a TV too
MasamuneX (author) says: Aug 21, 2008. 11:45 PM
Thanks for the comments guys and gals(if there are any).
BigCommieNat says: Aug 21, 2008. 10:05 AM
Good write up!!! Just FYI.. the full size DIN connector keyboards are referred to as 'AT keyboard' much like the smaller DIN connector style is referred to a 'PS/2 keyboard'. PS/2 and AT keyboards are 100% electrically compatible!
1-40 of 49Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!