Step 3: Time to map things out

Ok so now your going to need a piece of scrap paper to write down the pinout and duty of both cables. You could also print out the picture of the Din 5 and PS/2 mini din pinouts found here http://www.pc-control.co.uk/keyboard_connector.htm. The reason we want to do this is because the Data, Clock, Power, Ground and shielding wires on each keyboard is different in color.

Alright with that out of the way way we need to take out our multimeters and set it to "ohms" to check for continuity. If you are unsure of what the ohms setting is it just turn the switch of the multimeter to the symbol that looks like an upside down horseshoe. After you've done that touch both of your multimeter prongs together. You should hear an audible alert coming from your multimeter letting you know that you are receiving continuity.

Ok since we're just mapping things out it doesn't matter which cable you start with use but for the sake of order lets start with the PS/2 mini din cable. So take one of your multimeter prongs and place it on any single wire that use to be connected to your keyboard's pcb. Now take your other multimeter prong and touch the pins on the inside of the PS/2 mini din connector until you hear an audible alert from your multimeter. Once you've done that make a note of the color of the wire and the position of the pin on your pinout page/ scrap paper. Now using the print out of the PS/2 mini din pinout we know the duty of the wire.

For example if the color of the wire was red and you were receiving continuity from pin 5 then we now know that pin 5 is power.

Now repeat this step to until you know the duty of each wire.

OMG it's working!!!!! <strong>EVERY</strong> key<p>My keyboard is <strong>so old</strong> <strong>it doesn't even have a window key</strong> .</p><p>Can't believe it... I remap the wired like ten times.</p><p>The last time I almost gave up and try to boot from window10 to Ubuntu the result is... it doesn't work! so for no reason I just slapping on the key board desperately and angrily for a while and it's just work!!!! <strong>MIND BLOWN</strong></p><p>For those who try this instruction and don't succeed at the first time don't give up</p><p>try and fail and learn from it</p><p>***pro tips*** watch for the male or female pin map and most of all keep an eyes on the fricking Window driver $#/%</p><p><b><em>P.S. </em></b> I probably mapping right at the first time but the driver just screwing on my.</p>
Hello! <br>Can anyone help me? <br>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?? <br>Thanks to anyone
Hello,<br>I just want to mention that &quot;Those old, Worthless keyboards&quot; can be worth upwards of $100.00 USD on eBay. I posted a model &quot;M&quot; 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&quot;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. <br>Just a thought.<br>Thank you,<br>Mr Lunna XIII<br>
Well.. does anybody know if this will do the trick the reverse way?<br><br>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?<br><br>Thanks in advance from Spain<br><br><br>Enrique<br><br>
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. <br><br>You may also want to consider purchasing a &quot;Female&quot; PS2 to &quot;Male&quot; Din 5 adapter but then again that would take all the fun out of it. :)<br><br>http://www.national-tech.com/prodimages/din5-male-ps2-female-adapter.jpg
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...
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
You can get an adapter for a few bucks and save all the hassle.
I mentioned that in my intro but my intent was making use of something that one would considered worthless and unsalvagable.
Your right. Been there where you use what you have.
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.
why is your wii sensor bar on your computer? what is the keyhook program?
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.
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.
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.
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 :|
and there are these nifty little adapters to convert to PS/2
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.
QUOTE [Thanks for keeping this keyboard out of our landfills.] *one of these keyboards... the "/disgustingly dirty ps/2" keyboard still goes there
Does the wii sensor bar mean that uou can play wii on your computer?!?!? PLEASE MAKE INSTRUCTABLE ON HOW TO DO IT!!!
The wii sensor bar isn't actually a sensor bar, its two IR LEDs. the sensor is a camera in the wii remote.
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.
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 .
Or that, video capture cards seem like a good idea, what's the frame rate like?
<a rel="nofollow" href="http://www.geeks.com/details.asp?invtid=CL-TV7130A&cpc=SCH">PCI video cap card</a><br/>30fps the res is only 720 .<br/>I think tony hawk looks good on it,spend more money than i did and go hi def.<br/>also it will not work on the next gen of tv signals (will work on cable next feb so I dont care about that.<br/>
I want to know how to make one of those cables!
Your Instructable is technically sound. But you can get an adapter to do this for about $3 US so why reinvent the wheel?
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.
I am impressed by your determination to fix a $10 part.<br/><br/>Another option is to make a wallet out of the circuitboards:<br/><a href="http://www.instructables.com/id/Wallet-made-from-a-computer-keyboard/">http://www.instructables.com/id/Wallet-made-from-a-computer-keyboard/</a><br/><br/>I made one and I get compliments on it all the time.<br/>
Also, to all the people pooh-pooh-ing this because there's an off the shelf fix, why are you reading instructables?
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
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.
not to ruin your awesome Instructable but there are adapters for the cheap
Lol. You Wii on your pc :D ;P. I'm gonna wait till headtracking with webcams is perfected. Nice IBLE
Here is an &quot;off the shelf&quot; solution that I've been using for the last decade with my IBM model M<br/><br/><a rel="nofollow" href="http://www.keyboardco.com/keyboard_details.asp?PRODUCT=249">PS/2 to 5 pin Din (AT) cable adaptor</a><br/><br/><a rel="nofollow" href="http://www.shopping.com/xPO-CTG-PS-2-KYBD-ADPT-MINI-DIN6F-DIN5M">CTG Keyboard adapter - 5 pin DIN to 6 pin mini-DIN - female</a><br/><br/><a rel="nofollow" href="http://www.amazon.com/s/ref=nb_ss_e?url=search-alias%3Delectronics&field-keywords=PS%2F2+to+AT&x=0&y=0">Amazon.com search</a><br/>
do we get bonus points for finding the brand of the din keyboard?no?bummer.
why do you have a sensor bar on your pc monitor?
Alex is correct. If you look you can see the remote controller sitting on top of the monitor base.
that monitor probably works as a TV too
Thanks for the comments guys and gals(if there are any).
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!
Good work- I love the old clicky keyboards (they don't make 'em like they used to :P) but the relentless march of technology means we are impelled to buy new rubbishy keyboards. Looking at image 2 on step 4 I'd suggest either using heatshrink, or cutting the wires to different lengths so the solder joints don't overlap, to prevent shorts. Other than that congrats on a well-written first Instructable.
i ask that you should amend that to read '(they don't make pc keyboard like they used to :P) Both the current, and previous apple keyboards are most excellent.
Gmjhowe - A True Apple Team Player! :D
thanks! but i am just saying how it is. the new aluminium ones are like typing on a jet plane.
<em>Cos I'm typing on a jet plane,</em><br/><em> don't know when I'll be back again,</em><br/><em> Oh babe, I hate to go</em><br/><br/>I dispute that- the keyboard with my old iMac wasn't up to much, it had a horrible key response. I am still using a Viglen I got free in 2004, though, and can touch type well enough on that that I can type without looking at the keyboard <em>or</em> the monitor :)<br/>
you mean this <a rel="nofollow" href="http://www.applefritter.com/images/l413574-19401_640x480.jpg">keyboard</a> here? cos i found those to be a really good keyboard.<br/><br/>However, nothing compared to my current keyboards being the new slimline ones, are great for touch typing on.<br/>
No, <a rel="nofollow" href="http://www.macwebguru.com/wp-content/uploads/2007/05/apple_gen1imackeyboard.jpg">this one</a>. It was t3h horrible to use- tiny stunted arrow keys and a weirdly &quot;sticky&quot; key response, even when new, as if it came full of dried-on orange juice from the factory. <br/><br/>(From <a rel="nofollow" href="http://www.macwebguru.com/category/musings/tech/">here</a> if that link doesn't work, under &quot;Apple early-generation iMac keyboard&quot;)<br/>
ah, i did have one of those, its in bits now ;p
Nice! great idea, and recycling is always good, I would be tempted to give it a black coat of paint, like Das Keyboard. but i can touch type that well so...

About This Instructable



More by MasamuneX:Make a Wither Plushie from Minecraft Turn a standard 3DS dock in to a 3DS XL dock. Make a Slime Plushie from Minecraft 
Add instructable to: