Skip to the content
PCBKitNew board
4 layers269.8 × 158.8 mmMithril, the printed circuit board in 3D

mithril keyboard, a split keyboard with 4x6 column ortholinear staggered keys and 3 thumb keys.

Size
269.8 × 158.8 mm
Copper layers
4
Thickness
1.6 mm
Parts
247
Nets
195
Pads
1,148
Tracks, vias
1,540, 242
Pours
16
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
15 May 2026
Updated
15 May 2026

Overview

Mithril is an open-source printed circuit board by sanfeps, from the sanfeps/mithril_kb repository on GitHub. It is a 4-layer board of 269.8 × 158.8 mm with 247 parts on 195 nets, routed with 1,540 tracks and 242 vias.

It is built around the ATMEGA32U4-AU, USB6B1 and SK6812MINI-E. Its parts include 108 diodes, 54 switches, 28 capacitors, 10 resistors and 6 connectors. It belongs with the keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

Mithril

A 54-key (27 per side) column-staggered split ergonomic mechanical keyboard with per-key underglow, USB-C on each half, and a dual-MCU design.

Mithril assembled

Features

  • Split — two independent halves connected over TRRS
  • MCU — ATmega32U4 on each half (true split, dual-MCU)
  • Layout — 4×5 column-staggered grid + outer pinky column + thumb cluster (27 keys/side)
  • Switches — MX-compatible, Kailh hotswap sockets (1u plated)
  • Lighting — SK6812MINI-E reverse-mount per-key underglow
  • Connectors — USB-C on both halves, TRRS jack for inter-half communication
  • Case — 3D-printed shell + PCB top plate
  • Firmware — QMK (see Firmware) · VIA-compatible

Gallery

PCB & switchesKeycaps onUnderglow

3D render of the panelised PCB:

PCB 3D render

Repository layout

text
Mithril/
├── Mithril.kicad_pro          Main PCB project (schematics + layout)
├── Mithril.kicad_pcb
├── Mithril.kicad_sch          Root schematic
├── lefthalf.kicad_sch         Left-half matrix
├── righthalf.kicad_sch        Right-half matrix
├── mcu.kicad_sch              MCU + USB-C + TRRS (half 1)
├── mcu1.kicad_sch             MCU + USB-C + TRRS (half 2)
├── leds.kicad_sch             SK6812 underglow chain
├── Mithril-panneled/          Panelised PCB for fabrication
├── Top_plate/                 Switch top plate (separate KiCad project)
├── Production/                Gerbers, BOM, positions (PCB)
│   ├── Mithril.zip
│   ├── bom.csv
│   ├── positions.csv
│   └── designators.csv
├── case/                      3D-printable case (STEP)
│   ├── caseLeft.stp
│   └── caseRight.stp
├── docs/
│   └── schematic.pdf          Full schematic (all sheets in one PDF)
└── images/                    Photos and renders

Build guide

  1. PCB — order from Production/Mithril.zip (or Mithril-panneled/ if your fab requires a panel). The BOM and pick-and-place files are in Production/bom.csv and Production/positions.csv.
  2. Top plate — order from Top_plate/production/Top_plate.zip. It is a PCB-as-plate; if you prefer laser-cut acrylic/FR4, export the edge cuts to DXF from KiCad.
  3. Case — 3D-print case/caseLeft.stp and case/caseRight.stp. Any filament works; PETG/PLA are tested.
  4. Components — source per Production/bom.csv. Notable items:
    • ATmega32U4-AU (QFN-44) × 2
    • SK6812MINI-E reverse-mount LEDs
    • Kailh MX hotswap sockets × 54
    • USB-C receptacle (HRO TYPE-C-31-M-12) × 2
    • TRRS jack (PJ-320A or compatible) × 2
    • 16 MHz crystal + caps × 2, decoupling caps, diodes, resistors per BOM
  5. Assembly — solder SMD first (LEDs and MCU support circuitry), then through-hole (sockets, TRRS, reset). Flash QMK before installing the case.

Firmware

QMK PR: qmk/qmk_firmware#26212 (adds keyboards/mithril/rev1/).

  • Bootloader: Caterina
  • Layout macro: LAYOUT_ortho_4x6_3
  • Matrix: 5 rows × 7 cols per half, COL2ROW
  • USB: VID 0x8371, PID 0x4D52
  • RGB: WS2812 driver, 54 LEDs (27 per half)

Pin mapping (per half, ATmega32U4):

FunctionMCU pin(s)
RowsC7, C6, B6, B5, B4
ColumnsF0, F1, F4, F5, F6, F7, D7
TRRS (split)D0 (SOFT_SERIAL_PIN)
LED dataD2 (RGB_DI_PIN)

VIA / Vial JSON: not bundled yet.

License

  • Hardware (PCB, plate, case) — CC BY-SA 4.0
  • Firmware / config — MIT (in the QMK fork)

Credits

Designed by @sanfeps. Inspired by foostan/crkbd and the ZSA Voyager, among other column-staggered ergo splits.

Parts

247
QtyValueFootprintReferences
54DiodeDiode_SMD:D_SOD-123D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +38
54KeyswitchPCM_Switch_Keyboard_Hotswap_Kailh:SW_Hotswap_Kailh_MX_Plated_1.00uS1, S2, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22, S23 +38
54SK6812MINI-EAriamelon:LED_OPSCO_SK6812MINI-ED55, D56, D57, D58, D59, D60, D61, D100, D101, D102, D103, D104, D105, D106, D107, D108 +38
14100nCapacitor_SMD:C_0805_2012MetricC3, C5, C6, C7, C8, C9, C10, C20, C22, C23, C24, C25, C26, C27
12BrakeoutPCM_Ariamelon-HolePad:MousebitesMB1, MB2, MB3, MB4, MB5, MB6, MB7, MB8, MB9, MB10, MB11, MB12
10MountingHoleMountingHole:MountingHole_2.2mm_M2_DIN965H1, H2, H3, H4, H5, H6, H7, H8, H9, H10
9LOGOLOGOG***, G***, G***, G***, G***, G***, G***, G***, G***
422Resistor_SMD:R_0805_2012MetricR4, R5, R9, R10
422pCapacitor_SMD:C_0805_2012MetricC1, C2, C18, C19
45k1Resistor_SMD:R_0805_2012MetricR1, R2, R6, R7
2100nFCapacitor_SMD:C_0603_1608MetricC16, C24
210kResistor_SMD:R_0805_2012MetricR3, R8
210nFCapacitor_SMD:C_0603_1608MetricC15, C23
210uCapacitor_SMD:C_0805_2012MetricC11, C28
216MHzCrystal:Crystal_SMD_SeikoEpson_FA238-4Pin_3.2x2.5mmY1, Y2
21uCapacitor_SMD:C_0805_2012MetricC4, C21
24.7uFCapacitor_SMD:C_0603_1608MetricC17, C25
2ATmega32U4-APackage_QFP:TQFP-44_10x10mm_P0.8mmU2, U4
2AVR-ISP-6Connector:Tag-Connect_TC2030-IDC-FP_2x03_P1.27mm_VerticalJ1, J4
2AudioJack4Connector_Audio:Jack_3.5mm_PJ320E_HorizontalJ3, J6
2FerriteBeadAriamelon:L_0805_2012MetricFB1, FB2
2USB6B1Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU1, U3
2USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J2, J5
2~Button_Switch_THT:SW_PUSH_1P1T_6x3.5mm_H4.3_APEM_MJTP1243RESET, RESET

Questions

How big is the Mithril PCB?

It measures 269.8 × 158.8 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Mithril use?

247 parts, built around the ATMEGA32U4-AU, USB6B1 and SK6812MINI-E. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Mithril KiCad files?

From the sanfeps/mithril_kb repository on GitHub, at the commit this page was made from: the board is Mithril.kicad_pcb and its schematic Mithril-panneled/Mithril-panneled.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mithril design in my own project?

Its repository states no licence, so its author keeps all rights: ask sanfeps before reusing the design.

Similar boards

  • 2 layers431.5 × 126.8 mmV6 pcb, the printed circuit board in 3D

    V6 pcb

    reven/V6-conversion

    Hardware and firmware to convert a V6 Keychron keyboard to north-facing LEDs.

    374 parts
  • 2 layers204.8 × 62.6 mm8Key, the printed circuit board in 3D

    8Key

    BrettZolstick/MicroKey8

    8 key rhythm game controller that uses microswitches commonly found in mice for short travel and advanced debouce.

    26 parts
  • 2 layers58.5 × 80.9 mmMACROPAD, the printed circuit board in 3D

    MACROPAD

    vlee6/Macropad

    Low-Profile, Feature-Packed, Macropad

    53 parts2
  • 2 layers431 × 122.3 mmKeyboard, the printed circuit board in 3D

    Keyboard

    buu342/BuuKeeb

    A custom keyboard PCB with 105 keys and ISO Enter, designed to fit in the case of a "Glorious PC GMMK 100% Barebones"

    453 parts
  • 2 layers243.9 × 136.5 mmBarobord, the printed circuit board in 3D

    Barobord

    sadekbaroudi/barobord

    I have spent a lot of time and money designing prototypes, testing, developing, etc. Any contributions would be greatly appreciated!

    157 parts57
  • 2 layers102 × 40 mmSample board, the printed circuit board in 3D

    Sample board

    ieee-wpi/pcb

    WPI's PCB Design Course

    50 parts15CC-BY-SA-4.0
  • 2 layers315.1 × 150.8 mmAsok75, the printed circuit board in 3D

    Asok75

    aaronyaosong/75-Keyboard

    A 75% keyboard PCB, with an accompanying acrylic case files

    351 parts8
  • 4 layers286.3 × 133.3 mmPhnx, the printed circuit board in 3D

    Phnx

    sini6a/phnx

    PHNX is an ergonomic keyboard featuring 54 MX compatible switches. It is inspired by the Miryoku layout and includes one additional row at the top along with macro keys on both sides.

    186 parts4