Overview • Hardware • Firmware • License
Katia is a split mechanical keyboard with 6 by 3 column staggered keys and 3 thumb keys, based on the Crkbrd design.
Compared to the original Crkbrd, Katia features 4-layer PCB stackup, which allows for better routing and thus, better signal integrity.
The design is intended to be used with hot-swap sockets for Cherry MX switches. The switches are backlit with individually addressable LEDs.
All the mechanical components are kept in the same position as in the original project. This allows for easy replacement of the PCB in existing Crkbrd cases, or to use the existing Crkbrd cases and plates with the new PCB.
The PCB stackup consists of four layers:
- Top layer: Signal
- Second layer: Ground plane
- Third layer: Power and Signal
- Bottom layer: Signal
The top layer is used for differential pair routing for USB data lines, as well as for some of the components. The second layer is a dedicated ground plane. The third one is used for power distribution and some signal routing. The bottom layer is used for routing the remaining signals.
| Left Side | Right Side |
|---|---|
The following issues were found in the original Crkbrd PCB design, which have been addressed in this redesign.
- Routed USB D+/D− as a differential pair and tuned trace width and spacing to meet USB specifications:
- Differential impedance: 90 Ω ±15%.
- Single-ended impedance: 45 Ω ±15% per line.
- Maintained an uninterrupted reference ground plane beneath the pair.
- Applied controlled ground-plane clearance adjacent to the pair to fine-tune impedance and reduce discontinuities.
- Added a dedicated ground plane layer.
- Preserved continuous ground planes wherever possible to ensure low-impedance return paths.
- Added stitching vias between ground planes to minimize loop area and support high-frequency return currents.
- Added ground pours adjacent to signal routes to reduce crosstalk and radiated EMI.
- Reduced ground-plane clearance to improve EMI performance, while still staying within standard PCB fabrication capabilities.
- Rerouted signals to avoid long, parallel trace runs.
- Moved decoupling capacitors closer to IC power pins.
- Added ferrite beads on power rails for high-frequency noise suppression.
- Increased local decoupling on power rails, including near flash and LED ICs.
- Pulled MCU RUN pin up to IOVDD.
- Added PTC resettable fuses on 5 V supply rails.
- Added TVS diodes on TRS interconnect lines.
- Inserted series resistors on TRS signal lines.
- Added a series resistor on the LED signal line to limit transient currents.
- Replaced the LED drive solution with a dedicated level shifter. This slightly increases the BOM cost, but improves LED brightness and eliminates power loss from the drop-down diode.
- Improved the mechanical stability of the jack connector.
- Updated design rules to support standard 4-layer PCB fabrication.
- Added teardrops to all traces to improve tolerance to manufacturing defects.
- Avoided via-in-pad routing to reduce assembly complexity.
- Added test points for critical signals to support in-circuit testing and debugging.
- Added a dedicated Tag-Connect footprint for programming.
- Added manufacturer part numbers for LCSC components to streamline BOM generation and ordering.
The PCB production files are available in the release assets. The design rules have been set to match standard 4-layer PCB manufacturing capabilities.
A complete bill of materials (BOM) and pick-and-place files are provided for easy ordering and assembly.
When ordering the PCB assembly from a fabrication house, make sure to select the following options:
- Base Material: FR-4
- Layers: 4
- Product Type: Industrial/Consumer electronics
- Different Design: 2
- Delivery Format: Panel by Customer
- PCB Thickness: 1.6mm
- Specify Stackup: No requirement
- Impedance Control: No requirement
- Material Type: TG135
- Via Covering: Plugged
- Outer Copper Weight: 1 oz
- Inner Copper Weight: 0.5 oz
- Blind Slot: No
- Min via hole size/diameter: 0.3mm/(0.4/0.45mm)
All other options can be left at default values. Choose the solder mask and silkscreen colors as desired.
PCB top render.
PCB bottom render.
When ordering the solder paste stencil from a fabrication house, make sure to select the bottom layer, as the keyboard is assembled from the bottom side:
- Thickness: Select by fabrication house recommendation
- Stencil Side: Bottom
- Nano-Coating No
- Ultrasonic-resistant adhesive: No
The bill of materials includes manufacturer part numbers for easy ordering from LCSC.
Note
Hot-swap sockets and mechanical switches are not included in the BOM. They can be ordered separately from various suppliers.
At the time of writing, the total cost of the components for sourcing all parts for both halves of five keyboards should be around $60.
When ordering the components just for one keyboard, make sure to adjust the quantities accordingly and order some spare parts for potential assembly errors (especially for LEDs, buttons, and connectors).
While the keyboard can be assembled by hand, it is recommended to use a professional PCB assembly service to ensure high-quality solder joints and proper component placement.
Assembled PCB.
If assembling by hand, first apply solder paste to the PCB using the provided stencil. Then, place all surface-mount components using tweezers or a pick-and-place tool. Finally, reflow solder the components using a hot air rework station or a reflow oven. Omit the hot-swap sockets, jack connectors, and LEDs during the reflow process, as they are not designed to withstand high temperatures. After reflowing the other components, check the solder joints and fix any issues using a soldering iron.
Plug in the USB cable into each half of the keyboard, and check if it is recognized by the computer. If everything is working correctly, you can then solder the LEDs, jack connectors, and hot-swap sockets using a standard soldering iron. Finally, insert the mechanical switches into the hot-swap sockets and connect the two halves of the keyboard using a TRS cable.
Warning
Do not plug in or unplug the interconnect jack between the two keyboard halves while the keyboard is powered. Hot-plugging can cause electrical damage to the PCB and components. Always disconnect power before handling the communication cable.
The keyboard firmware is based on QMK Firmware. The existing Crkbd firmware can be used, but it has a different key mapping, so the keymap must be adjusted accordingly.
The recommended firmware layout uses three logical keymap layers, shown below. This is a practical starting point for the board, but the final keymap is up to personal preference.
To flash the keyboard firmware, follow build instructions available at QMK Firmware Getting Started.
Note
When plugged in via USB cable, each half of the keyboard will appear as a separate device. Make sure to flash the firmware to both halves.
This project is licensed under the CERN Open Hardware Licence Version 2 - Permissive. You are free to use, modify, and distribute this design, provided you retain notices and disclaimers as specified in the license terms. See the LICENSE file for details.