Build a split mechanical keyboard
ActivitiesProjects
Assemble and program two connected keyboard halves, then verify that every key registers at the computer.
Building a split mechanical keyboard means assembling two separate halves, left and right, and configuring firmware so your computer reads them as a single input device. In a common wired design supported by QMK firmware, each half carries its own microcontroller: one plugs into the computer over USB, while the second communicates with it across a serial or I²C link. The exact key matrix, transport method, and controller requirements depend on the board you choose, so your kit's documentation sets the ground rules for the whole build.
Choosing parts that fit together
A typical build starts with matching the printed circuit board (PCB), switches, keycaps, and compatible controllers to the board's parts list and footprint. Switch and keycap quantities vary by kit, and switch families are not automatically interchangeable. On hot-swap boards in the Aurora series, for example, MX hot-swap PCBs take MX switches and Choc hot-swap PCBs take low-profile Choc switches, whereas hand-solder versions can accommodate both.
Before you start soldering, decide whether to use sockets. Hot-swap switch sockets still need to be soldered onto the PCB, but once in place they let you pull and replace switches without desoldering them later. Controller sockets serve a similar purpose for the microcontroller itself: removing a controller soldered straight to a PCB is difficult, so socketing makes replacement or reuse much easier when the sockets and controller match the kit. Optional displays add extra build choices on boards that support them.
Soldering diodes, switches, and connecting the halves
Assembly on kits like the Aurora series begins with diodes, small components that allow electrical current to flow in only one direction so the keyboard can distinguish individual keypresses. Direction matters. On through-hole Aurora boards, the black band on each diode aligns with the PCB's thick white line and square hole, and you need to pay attention to the board's top, bottom, left, and right markings before heating a joint. Low-profile Choc builds also have specific component-clearance needs. After soldering through-hole diodes, hold each excess lead while clipping it so the trimmed wire cannot fly away. Orientation marks and component-side rules are specific to each kit, so check the board's build guide before soldering.
Inspect every switch before mounting it. Straighten any bent metal legs first, because forcing a bent leg into a hot-swap socket can dislodge the socket and damage its solder pad. If you are soldering switches directly to the PCB, check that the switch body sits flush against the board; soldering just one leg first leaves room to straighten a tilted switch before locking in the second leg.
The cable joining the two halves also requires care. Wired boards differ in what they accept: wired Aurora keyboards use either a TRS or TRRS interconnect, while some other boards require TRRS specifically, and plugging a TRS cable into a TRRS-only design can bridge contacts. Always disconnect power before plugging in or unplugging a TRS or TRRS cable, because its moving contacts can short and damage a controller, unless your board's documentation explicitly notes an exception.
Setting handedness and flashing a keymap
Once the hardware is assembled, the firmware needs to know which half is left and which is right. QMK supports several handedness methods: reading a dedicated pin, checking a matrix grid, assuming a fixed USB-connected side, or storing a left/right flag in EEPROM. With EEPROM handedness on a board such as a crkbd/rev1 using AVR Pro Micro controllers, you flash separate `avrdude-split-left` and `avrdude-split-right` targets to the left and right halves. Other bootloaders use different flashing targets, so follow the instructions for your specific controller and board.
Your keyboard's actual key assignments live in a keymap: a collection of layers, each defining a layout of keys. After editing the keymap, compile and flash the firmware according to your board's procedure. Keep your first round of keymap edits small so any unexpected behavior is easier to trace.
Testing keys and tracing faults
Test every switch in a plain text editor or on QMK Configurator's test page. Modifiers and layer keys often do not print a visible character on their own; to test a layer key, hold it down while pressing other keys to verify that their output changes.
If a key fails to register on a DIY kit with soldered switches or switch sockets, rule out software first by confirming the key is supposed to produce visible output and that the right default firmware is installed. Next, inspect the switch or socket solder joints and verify that the diode is present and oriented correctly. The pattern of the failure gives useful diagnostic leads: a dead row or column likely points to a controller-pin connection issue, while a key press producing multiple characters across a row or column may indicate bridged controller pins or defective diodes. Always unplug the keyboard before touching a soldering iron to any joint.
