

If you’re building a standalone project with an embedded PC (say, a CNC rig or a MAME cabinet) one of the easiest ways to get instructions to the software is using the PC’s baked-in keyboard interface. But if you don’t want to actually use a keyboard to control the thing, you need some way to convert button presses and/or joystick movements from your custom control panel into signals that look like keyboard input.
In this offering, UK hacker Rupert Hirst shows us how to reverse-engineer the key matrix on a scrap keyboard and attach a breakout board, ready to wire straight to the switches in your custom control panel. Sure, manually mapping the membrane switches with a multimeter may be a bit tedious when compared to using a drop-in keyboard simulator like PoLabs’ PoKeys, but it’s also a lot cheaper, and a lot more instructive.
More:


Nice hack, but a minor point that that doesn’t really affect the utility of the project:
That sure looks like a PS2 connector, not USB…
Yes, thank you! Fixed!
A teensy is $16 and is USB. It can be programmed to act like a keyboard very easily. Why not just use that?
I don’t know Rupert personally, but from what I’ve seen of his work I’d say it would gall him to buy a teensy when he’s got a scrap keyboard on-hand. If he were getting paid to do this, one might argue that he’s undervalued his time. But it’s a hobby for him, he does it for pleasure, and I get the sense that he likes to spend his hobby hours soldering, not programming. Others may feel the same way.
FWIW, if that doesn’t do it for you, there are always the U-HID, I-PAC and the (appropriately named) EPIC interface modules.
without a multimeter, it’s possible to use coloured pens to draw on the membranes, it’s how i used to do it, the column conductors would do ushaped paths, it’s not that hard, and membranes are transparent to see the colours through them.
// What's Trending
Raspberry Pi Design Contest
Maker Faire: Day Two
Seventeen Sneaky Secret Hides
10 Things to Connect to Your Raspberry Pi
Maker Faire: Day One
47 Raspberry Pi Projects to Inspire Your Next Build
DIY Hacks & How To’s: Swiss Army Key Ring
// What's Shared
A better way to slice a pumpkin
DIY Nerf Darts
In the Maker Shed: Minty Boost USB Charger
100 Dollar Store Organization Ideas for Craft Rooms and Beyond
Mad’s Mouse House
Lace Princess Crowns
I Have a (Puzzling) Dream
Play the Rings of a Tree Trunk Like a Record
// Most Commented
DIY Hacks & How To’s: Get Emergency Power from a Phone Line
Resin Casting: Going from CAD to Engineering-Grade Plastic Parts
Ten Tips for Screws and Screwdrivers
Ten Tips for Better Measurement
Makers on TV: Big Brain Theory
Arduino Announces New Wireless Linux Board
Build a “Boomcase” and Upcycle that Old Suitcase
Tool Review: BioLite CampStove
Trending Topics
Get our Newsletters
About Maker Media
Subscribe
to MAKE!
Get the print and digital versions when you subscribe