Skip to the content
PCBKitNew board
2 layers127 × 91.5 mmKagu, the printed circuit board in 3D

ZMK firmware for a handwired wireless split keyboard on Seeed XIAO nRF52840.

Size
127 × 91.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
60
Nets
47
Pads
287
Tracks, vias
325, 30
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
16 Aug 2026
Updated
7 Nov 2026

Overview

Kagu is an open-source printed circuit board by wallago, from the wallago/kagu repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 127 × 91.5 mm with 60 parts on 47 nets, routed with 325 tracks and 30 vias.

Its parts include 19 switches, 18 diodes, 1 resistor and 1 IC. It belongs with the keyboards and input boards and the nRF52 and nRF5x boards of this library.

README

README.md

Kagu

A wireless 36-key split keyboard (3x5+3) on the Seeed XIAO nRF52840, running ZMK.

  • keymap.txt: the keymap, the only file to edit for layout changes
  • keymap/: the generator that turns it into ZMK, and the diagram
  • config/: ZMK shields and the generated kagu.keymap
  • pcb/: KiCad projects for both halves
  • case/: OpenSCAD trays, top plates and Choc v2 keycap risers

Layout

Kagu keymap

Colemak-DH, after dubu36. Shortcut modifiers sit on the home row (pinky to index: Shift, Ctrl, Alt, Super, mirrored). Shift and the layers you use while writing sit on the thumbs, which keeps hold-tap timing out of the way. Some notes on the layers:

  • rse: numbers on the left, navigation on the right. lwr: symbols.
  • app and os: held from C and , (app) or D and H (os). They keep Ctrl or Super down for the whole hold, so every key is sent with that modifier, including the arrows on U N E I.
  • sys: Bluetooth profiles, held from Z or /.
  • mou: held from X. Left-hand Ctrl+Q W S T Z C V for when the right hand is on the mouse.
  • hyp: held from the right outer thumb. Every key is sent with Ctrl+Alt+Shift+Super, for niri bindings. The HYP_[ HYP_\ HYP_] keys on rse send the same.
  • Combos: W+F types Esc, and U+Y types Enter.

Editing the keymap

Each layer is a grid of the 36 keys, laid out as they sit on the board: three rows of ten, then the six thumbs.

text
layer base: left_mods, right_mods
  Q      W        F      P     B          J        L     U      Y     '
  A      R        S      T     G          M        N     E      I     O
  Z/sys  X/mou    C/app  D/os  V          K        H/os  ,/app  .     \//sys
                  BSPC   LSHFT/LSHFT  lwr/lwr     rse/rse  SPC   _/hyp
text
  Z/sys         tap Z, hold the sys layer
  T/LGUI:hm     tap T, hold Super, as a positional home-row mod
  LSHFT/LSHFT   one-shot Shift on tap, plain Shift on hold
  _ / TRNS      nothing / fall through to the layer below

Holds shared by several layers are written once as an overlay and listed after the layer name. layer app + LCTRL holds Ctrl for as long as the layer is held. Combos are written W F -> ESC. The header of keymap.txt covers the details.

After editing, run just keymap in the Nix dev shell. It regenerates kagu.keymap and redraws the diagram with keymap-drawer. CI fails if kagu.keymap is out of date.

Keycaps

Parts

60
QtyValueFootprintReferences
18Dkagu:D_SOD-123D1, D2, D3, D4, D5, D6, D7, D10, D11, D12, D13, D14, D15, D16, D17, D18 +2
18SW_PushPCM_Switch_Keyboard_Hotswap_Kailh:SW_Hotswap_Kailh_Choc_V1V2_PlatedSW1, SW2, SW3, SW4, SW5, SW6, SW7, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18 +2
13Conn_01x01_Pinkagu:TestPadBat_HW1, GND_HW1, I2S_SCK1, I2S_SD1, I2S_WS1, NFC_1, NFC_2, RESET_HW1, SPI_MISO1, SPI_MOSI1, SPI_SCK1, UART_RX1, UART_TX1
5MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965_PadH1, H2, H4, H5, H6
2Conn_01x02_PinConnector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalBat_Con1, Switch_Con1
1Conn_01x02_PinConnector_JST:JST_SH_SM02B-SRSS-TB_1x02-1MP_P1.00mm_HorizontalBat_LED_Con1
1R(1k)Resistor_SMD:R_0805_2012MetricR1
1SW_PushButton_Switch_SMD:SW_Push_SPST_NO_Alps_SKRKSW19
1XIAO-nRF52840-Plus-SMDXIAO nRF52840:XIAO-23P-Add-On-PlusU1

Questions

How big is the Kagu PCB?

It measures 127 × 91.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Kagu use?

60 parts. 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 Kagu KiCad files?

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

Can I use the Kagu design in my own project?

Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers35 × 50 mmGoblin, the printed circuit board in 3D

    Goblin

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    60 parts463
  • 2 layers32.9 × 119.1 mmConnector, the printed circuit board in 3D

    Connector

    thpoll83/PolyKybd

    PolyKybd

    60 parts411CERN-OHL-W-2.0
  • 2 layers35.9 × 62.7 mmRp2040-memcard, the printed circuit board in 3D

    Rp2040-memcard

    sd2psx/pcb

    The PCB must be produced in 0.8mm thickness. Production files are provided under the "Releases" tab. These do not include the through-hole OLED module.

    60 parts241
  • 2 layers58 × 110 mmBrain ui split pulse, the printed circuit board in 3D

    Brain ui split pulse

    shmoergh/moduleur

    Fully analog DIY-friendly modular synth

    60 parts222
  • 2 layers52 × 90 mmEmu brd, the printed circuit board in 3D

    Emu brd

    rscott2049/DECstation2040

    A RP2040 based DECstation emulator

    60 parts212BSD-3-Clause
  • 2 layers42.5 × 80 mmSimplemixsmall, the printed circuit board in 3D

    Simplemixsmall

    nickajeglin/Eurorack-pcbs

    A collection of easy to solder DIY eurorack PCB's

    60 parts208
  • 2 layers57.4 × 12 mmZicada, the printed circuit board in 3D

    Zicada

    CoretechR/Zicada

    DIY Zigbee Multisensor

    60 parts205GPL-3.0
  • 2 layers87.9 × 123.9 mmBitdoglab, the printed circuit board in 3D

    Bitdoglab

    BitDogLab/BitDogLab

    Open-source educational hardware for embedded systems, programming, electronics, and physical computing.

    60 parts203