Skip to content

Controller Transplant

You'll bring a keyboard with a dead or ancient controller back to life by mapping its matrix with a multimeter, wiring in a modern controller, and porting it to QMK.

About

Old keyboards have the best switches and the worst connectors. A thirty-year-old board with a PS/2 or AT plug, or a modern one whose controller died, can come back with a 5-dollar microcontroller wired to its matrix. The hard part is that nobody wrote down which trace is which, so you'll work it out with a multimeter one key at a time and then teach QMK a board it has never heard of. A thrift store PS/2 board is 10 to 30 dollars, and a Model M with its buckling springs is 50 to 150 if you want the full project, including the famous bolt mod that replaces its crumbling plastic rivets. Take the old controller out of the circuit rather than leaving it wired in beside the new one.

At a glance

Per requirement
50 XP
Completion bonus
600 XP
Requirements
6
Takes
A season
Skill level
Advanced (years of practice)
Cost
Moderate (under $100)
Supplies
You need some
Where
At home
Other people
On your own
Locked for now
Earn two more Rare badges in Mechanical Keyboards to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Find a board that deserves it and photograph the problem. Look for a connector nothing can read, a controller that doesn't show up when plugged in, or a board that works but needs new firmware to be useful. Take a photo of the board and its old connector or dead controller. Photo
  2. 2
    Map the matrix with a multimeter and draw it. Set the meter to continuity, hold a key down, and probe pairs of connector pins until it beeps. Every key gives you a row-and-column pair, and after twenty keys you'll see the pattern. Take a photo of the drawn matrix with rows and columns labeled. Photo
  3. 3
    Wire a modern controller to the matrix. A Pro Micro has 18 usable pins and an RP2040 board has more, so count your rows plus columns first. Solder to the old connector's pads or the ribbon cable, never to the switches themselves. Take a photo of the controller wired in. Photo
  4. 4
    Write a QMK or ZMK keyboard definition for it and flash it. You'll need the matrix pins, the diode direction and the layout macro. An old board may have no diodes at all, which means pressing three keys at once can ghost a fourth, so say so in your post. Film the board typing a sentence over USB. Video
  5. 5
    Restore what's worn: springs, feet, rivets or caps. On a Model M that means the bolt mod, drilling out the plastic rivets and replacing them with 50 or so small bolts. On a plainer board it might be new rubber feet and a cleaned plate. Wear safety glasses for any drilling. Take a photo of the restoration step. Photo
  6. 6
    Mount the controller cleanly and use the board for a month. Hot glue is for prototypes; a printed bracket, a drilled hole for the USB port or the old connector's cutout is for keeps. Take a photo of the finished port and tell us what the board was used for in its first life and what it does now. Photo