Building Your First Custom Board

I picked up my first soldering iron in 2018 and made a mess of it. The board I was building had a short between two vias I hadn't properly tinned. Took me an hour to fix. I'm still doing this stuff, and I still make mistakes sometimes. That's normal. A Diy Mechanical Keyboard Tutorial will tell you the steps. Here's what those steps actually look like when you're sitting at a bench with a hot glue gun and a pile of parts you ordered online three weeks ago.

What You Actually Need

You need a PCB, a plate, a case, switches, keycaps, a microcontroller, and a way to connect them all. The PCB can be a pre-made kit or something you design yourself. The plate holds the switches in place. The case is mostly aesthetic unless you're building for portability. The switches click or thock depending on what you buy. The keycaps are the part everyone touches. The microcontroller is what makes the board do anything at all. The common mistake beginners make is buying all the parts at once without checking compatibility. I once bought a 75% PCB and then realized the case I ordered was designed for a 65%. Had to return everything. Takes about a week for shipping one way, two weeks total. Factor that in before you spend money.

The Soldering Part

Most hobbyist boards use through-hole switches and diodes. You solder them from the top side, which means you need to hold each component in place while the solder cools. Hot glue or tape helps. I use a third hand tool with a magnifier. Not mandatory but it saves your eyes eventually. The microcontroller is usually a Pro Micro or a Raspberry Pi Pico on these boards. The Pico is cheaper and easier to program if you know CircuitPython. The Pro Micro is more common in the community but runs out of stock constantly. If you're building a board that needs to act like a USB device, both work fine. Here's something most tutorials don't mention: you need to solder the diodes in the right direction or the board will have ghosting. Ghosting means pressing multiple keys at once and some of them not registering. I learned this the hard way on a tenkeyless layout. Had six keys that wouldn't register together because I put three diodes backward. Took me forty minutes to desolder and resolder them. Check your schematic before you commit anything to solder.

Get the Full Details

Mechanical Keyboard PCB : DIY Custom Keyboard Tutorial-FS PCBA
Mechanical Keyboard PCB : DIY Custom Keyboard Tutorial-FS PCBA

Firmware

QMK and ZMK are the two main firmware options. QMK runs on ATmega and ARM boards. It's been around longer and has more community support. ZMK is newer and does Bluetooth natively, which matters if you want wireless without buying a separate adapter. I use ZMK on my daily drivers now. The initial configuration takes longer because you're writing YAML files instead of clicking through a web configurator. But the result is cleaner. My configuration repo is about 200 lines and covers three layers, Bluetooth pairing, and tap-hold behavior for the spacebar. The config tool for ZMK is called the ZMK Configurator. It's web-based and generates a .uf2 file you drag onto the Pi Pico. Takes about five minutes end to end if you know what you're doing. First time? Plan for twenty.

Assembly Order That Doesn't Make You Rerun Everything

Solder the diodes first. Then the socket or direct-solder the microcontroller. Test the board with a multimeter before you put it into the case. Continuity test each row and column. If a row shows open circuit, you missed a solder joint or a diode is backward. Fix it now before you add switches and keycaps and regret it later. I once skipped the continuity test. Assembled the whole thing. Plugged it in. Nothing. Desoldered the microcontroller. Found a cold solder joint on pin 3. Fixed it. Reassembled. Worked fine. The whole detour cost me about an hour and a half. The test takes three minutes.

Switches and Keycaps

Switches come in linear, tactile, and clicky. Linear is smooth all the way down. Tactile has a bump you can feel. Clicky has the bump and a sound mechanism. Most people pick linear for gaming and tactile for typing. There's no right answer here except what feels right to your fingers. Keycap profiles matter more than people think. DSA is flat and uniform. Cherry profile is the classic slightly-rounded shape. OEM is what most mass-produced keyboards ship with. XDA is another flat profile but with a different height curve. I stick with DSA now because I prefer the consistent feel. It took me two weeks to adjust after switching from Cherry. Material matters too. PBT keycaps last longer and don't develop shine. ABS gets glossy after a few months. The difference is noticeable if you look at your spacebar after six months of use.

Build DIY Mechanical Keyboard Nanny Level Tutorial-TechSparks
Build DIY Mechanical Keyboard Nanny Level Tutorial-TechSparks

Common Pitfalls

The biggest one is underestimating how long firmware takes. You'll read a tutorial in thirty minutes and then spend three hours debugging why your layer swap isn't working. That's normal. The second is ordering keycaps before you know the layout. A 65% set won't fit a 75% board. A 75% set won't cover a 60%. Check the key count and arrangement before buying. Another thing: some PCBs require you to cut traces for different layouts. I didn't realize my board had selectable layouts until I tried soldering in a position that wasn't wired. The manual showed a trace-cutting diagram on page four. Read the manual. It's usually eight pages at most.

Cost Reality

A full build runs anywhere from $80 to $250 depending on parts. Kits from suppliers like Keyboardio or custom vendors run $120 to $180 for the bare board and case. Switches run $0.30 to $0.80 each. A set of keycaps is $30 to $80. A Pi Pico is $4. A Pro Micro is $6 to $10. Shipping adds up if you order from different vendors in different countries. I've had three packages arrive on three different days for one project. If you're on a tight budget, start with a kit. Pre-designed boards like the Preonic or Planck cost less in time and frustration. If you want full control over layout and aesthetics, go custom. Both approaches work. They just serve different goals.

After It's Built

Map your keys. Start simple. One layer, standard QWERTY, maybe a media layer you access with a modifier. Don't try to remap everything on day one. You'll forget what the defaults are and spend more time configuring than typing. Lubricate switches if you want them quieter and smoother. It takes about ten minutes per switch if you use a lube station. Hand-lubricating each one with a brush takes longer but gives you more control. I use Krytox 205g0 on the stems and a thin coat on the housing interior. The result is noticeably smoother. The downside is time. Thirty-six switches take about two hours minimum with a brush. The board I built last year still works. Two keys occasionally stick when the switch housing collects dust. I blow compressed air through them every few months. That's it. Nothing else has broken. No solder joints failed. The firmware hasn't needed an update in eleven months.

RELAXING REVIEWS | DIY Mechanical Keyboard for $100! | Part 2 (ASMR tutorial & review) - YouTube
RELAXING REVIEWS | DIY Mechanical Keyboard for $100! | Part 2 (ASMR tutorial & review) - YouTube