• 2

DIY Hand-Wired Keyboard

Hello everyone! I’m a college student currently studying in the US, and so my Chinese isn’t the best. However, I’m confident that an English post won’t be a challenge to read for the members here.

I’ve recently decided to attempt a hand-wired keyboard out of curiosity, and because of the surprisingly simple steps, I’ve decided to make an article about it to hopefully encourage more DIY builds here :).

The main components of a barebones handwired keyboard are a microcontroller, switches, diodes, wires, keycaps, and a mounting plate. To begin with, I designed my mounting plate via keyboard layout editor, then I exported the 2D file into onshape. With the mounting plate successfully imported into Onshape, I’m free to design a case around the plate and check wether or not the switches I’m considering will fit (in this case I’ve went with the HMX Poros). At the time I wasn't aware, but there is a crucial flaw in this design, and its the lack of holes for the stabalizers, so if you intend to try this yourself DO NOT forget this. (cutting a small hole through metal is quite challenging with wires attached lol.)


DIY Hand-Wired Keyboard

DIY Hand-Wired Keyboard


With everything ready and the dimensions of the mounting plate decided, we can begin manufacturing the mounting plate. There is many choices for this, the easiest being 3D printing the plate (preferably around 1.5-3mm thick). If you want to explore with other materials laser cutting is also an option, however, I’ve decided to use a water jet in order to have an aluminum mounting plate.
DIY Hand-Wired Keyboard
Now we put a switch in every slot, and can begin the soldering! (if you have stabalizers, this will be the time to put them in)

The cable formation of the keyboard is incredibly simple; all it is essentially is a matrix, and it can vary in row/columns depending on your keyboard layout. To better visualize this, you can download the raw file or JSON file of your keyboard plate directly from the keyboard layout editor or Onshape to kbfirmware. After putting down your rows/columns number, you should be able to see the generated wiring pattern.


DIY Hand-Wired Keyboard

Before beginning the soldering, it is wise to prep the diodes first by bending them all 90 degrees first on the end without the black mark (in this case I’m using the 1N4148 diode), then make a small loop like this:
DIY Hand-Wired Keyboard

You will then put this loop on the bottom right pin of every single switch, and solder it in. (Remember to cut off the extra ends on the soldered part to keep the process as clean as possible)
DIY Hand-Wired Keyboard

The next step would be soldering in your rows. To do this, cut a wire the length of the keyboard, giving myself some extra length in the process. Since the column wires will be overlapping row wires, a plastic/non-conductive insulation is needed; this could be done by either cutting slits in the original wires (harder) or putting on electrical tape/heat-shrink-tubing where the wires would touch (much easier). After the insulation is installed, we bend the top parts of the diode (the end with the black mark) onto the slits without insulation, then solder it in.
DIY Hand-Wired Keyboard

Now to do the columns, I cut wires the width of the mounting plate, and stripped it completely (of course, you can keep insulation where the wires overlap if you want to). Then I looped the wire around every left pin on the column; this step is essential; make sure to double or even triple check your connections and layouts!!!
DIY Hand-Wired Keyboard
DIY Hand-Wired Keyboard

Once everything is soldered in, check your connections! Make sure every pin is soldered in and that the number of columns and rows matches what was planned.

Now, for the microcontroller, I’ve decided to go with the RP2040-zero. To solder them in, all I did was measure out the wire lengths, then solder the wires into the pin slots and into each individual column/row. To help with this process, you can search up your microcontroller’s pinout diagram to know which slots are usable; this can also help with configuration later. Also, where the wire connects isn’t important as long as each column/row is connected to the microcontroller.
DIY Hand-Wired Keyboard
DIY Hand-Wired KeyboardDIY Hand-Wired Keyboard

The installation of the firmware will vary depending on what type of microcontroller you decide to use. Refer to the KMK and QMK GitHub to know which firmware to use! Since my microcontroller at the time had yet to be fully integrated by QMK and KMK, I opted to use POG. Unfortunately, I do not have the keyboard on hand, nor do I have screenshots of setting up the firmware. However, the process has already been streamlined by this software, and simply following the steps instructed should prove no error!

After the configuration has been done and each key has been tested, the keycaps can be installed: DIY Hand-Wired Keyboard

Aaaaand its practically done, which is good enough to me. There are still a lot of small issues with the keyboard, like the microcontroller also needs insulation, the lack of mounting screws for the stabalizers, and the most obvious lack of a case... However, this should be a quick and simple documentation of how to make a handwired keyboard. If there's any questions or needed clarification, feel free to leave a comment. But if you have comments on my grammar, don't bother.
2025-07-28 18:10 發佈
Wow, that's a fantastic handmade keyboard! I'm really looking forward to seeing it finished. Are you planning to use aluminum for the bottom case too?
Wow! This looks cool! It reminds me of how we used to repair keyboards. Early terminal keyboards were designed like this. We also disassembled the keyboard and replaced the faulty keys. However, I have never replaced so many keys at once. This is a test of my soldering skills.
Good job!
Ryan Lai wrote:
Wow, that's a fantastic handmade keyboard! I'm really looking forward to seeing it finished. Are you planning to use aluminum for the bottom case too?


I am planning to 3D print! CNC a bottom case might cost enough to buy me a brand new razer huntsman mini lol!
Eason0102

You're amazing! How about make a Razer-style keyboard? With LEDs and a touch of green, it would be perfect!!![偷笑]

2025-07-30 11:33
dw wrote:
Wow! This looks cool! It reminds me of how we used to repair keyboards. Early terminal keyboards were designed like this. We also disassembled the keyboard and replaced the faulty keys. However, I have never replaced so many keys at once. This is a test of my soldering skills.Good job!


You should try it! With your experience this should be a piece of cake. If you want an even easier route you can also make your own PCB, but those are honestly black magic so if it breaks… 
Really admire your skills—this goes way beyond typical DIY, it's practically professional-level craftsmanship!

I'm really curious—how does the typing feel on this hand-wired build with an aluminum plate? Is there any noticeable difference in feedback or sound compared to mass-produced keyboards?
wilddog wrote:
I'm really curious—how does the typing feel on this hand-wired build with an aluminum plate? Is there any noticeable difference in feedback or sound compared to mass-produced keyboards?


Thank you! Keyboards usually have 4 sounds/feel: thocky, clicky/tactile, creamy, or silent, and aluminum plate definitely makes the sound more thocky. Mass produced keyboards usually do not have that much sound dampening foam and since it’s just a PCB with plastic on it the sound can be sharper and closer to clicky even with linear switches. If you’re curious on the difference in sound definitely search up a switch sound comparison, good sounding keyboard is addicting lol.
自己DIY也太厲害了吧
SuperSnail4235 wrote:
CNC a bottom case might cost enough to buy me a brand new razer huntsman mini


Haha, that's true! An entry-level gaming keyboard won't be too expensive. You might consider wood, perhaps walnut for the material.
SuperSnail4235

Really wanted to make the case out of wood when I saw the Keychron K2 HE [^++^][^++^]

2025-07-30 16:52
SuperSnail4235 wrote:
Hello everyone...(恕刪)


什麼,現在連鍵盤都能自己做

神啊
SuperSnail4235

謝謝☺️ 想要,就可以

2025-07-30 16:53
  • 2
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?