Skip to the content
2 layers65.6 × 86.7 mmZpad, the printed circuit board in 3D

This project utilizes KMK firmware for straightforward customization without compiling C code. The firmware is written in Python.

Size
65.6 × 86.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
14
Pads
59
Tracks, vias
57, 0
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
6 Aug 2026
Updated
14 Aug 2026

Overview

Zpad is an open-source printed circuit board by zeti1223, from the zeti1223/Zpad repository on GitHub. It is a 2-layer board of 65.6 × 86.7 mm with 12 parts on 14 nets, routed with 57 tracks and 0 vias.

Its parts include 9 switches and 1 IC.

README

README.md

Zpad

KMK Firmware Microcontroller PCB Design

A highly customizable, 3x3 macropad built around the Seeed Studio XIAO, designed for efficiency and productivity.

Zpad 3D Render

Features

  • 9-Key Matrix Layout: A perfect 3x3 grid for custom shortcuts, macros, and workflows.
  • Seeed Studio XIAO: Compact and powerful microcontroller heart.
  • Fully 3D Printable: Custom-designed bottom case and top plate (OpenSCAD).
  • USB-C Connectivity: Modern, reversible connection via the XIAO board.
  • KMK Firmware Powered: Easy configuration using CircuitPython.
  • Compact Footprint: Only 65.57mm x 86.69mm.

Gallery

SchematicPCB Layout3D Design
SchematicPCB3D View

Specifications

ParameterValue
Keys9 (3x3 matrix)
MicrocontrollerSeeed Studio XIAO
PCB Size65.57mm x 86.69mm
PCB Thickness1.6mm
Switch TypeMX-compatible
Case Material3D printed PLA / PETG
HardwareM3 x 6mm screws (x4)

Bill of Materials (BOM)

PCB Components

  • 1x Seeed Studio XIAO microcontroller
  • 9x MX-compatible switches
  • 9x 1N4148 diodes (or equivalent)
  • 2x 0.1µF capacitors (C1, C2)
  • 1x LED (D1) - Optional indicator
  • 3x 2-pin male headers (BT1, BT2, BT3) - Optional battery connectors

Hardware & Case

  • 4x M3 x 6mm screws
  • 4x M3 nuts (embedded in case)
  • 1x USB-C cable (for programming & power)
  • 1x 3D Printed Bottom case
  • 1x 3D Printed Top plate

Firmware

This project utilizes KMK firmware for straightforward customization without compiling C code. The firmware is written in Python.

Installation

  1. Install CircuitPython on your XIAO following the official guide.
  2. Copy the KMK library folder to the CIRCUITPY drive.
  3. Copy Firmware/main.py to the root of the CIRCUITPY drive.
  4. Edit main.py to customize your keymap.

Default Keymap Example

python
[ MUTE, VOLU, VOLD ]             # Media controls
[ LCTRL(C), LCTRL(V), LCTRL(X) ] # Clipboard shortcuts
[ HOME, END, ENTER ]             # Navigation

Design Files Structure

  • /CAD/ - OpenSCAD source (Zpad.scad) and printable STL files (Bottom.STL, Plate.STL).
  • /PCB/ - KiCad project files (.kicad_pro, .kicad_sch, .kicad_pcb).
  • /Firmware/ - KMK firmware source code (main.py).
  • /production/ - Exported Gerbers for PCB manufacturing and compiled assets.
  • /images/ - Project renders and screenshots.

Assembly Instructions

  1. PCB Assembly:
    • Solder the 1N4148 diodes in the correct orientation (cathode band matching the silkscreen mark).
    • Solder the switches (or hot-swap sockets).
    • Solder the capacitors and the Seeed Studio XIAO microcontroller.
  2. Case Assembly:
    • 3D print the bottom case and top plate.
    • Insert the 4x M3 nuts into the designated hexagonal bosses in the bottom case.
    • Seat the assembled PCB into the bottom case.
    • Align the top plate over the switches and secure it using the M4x6mm screws.
  3. Software Setup:
    • Flash CircuitPython and KMK to the XIAO.
    • Drop in your main.py and test each input.

Design Notes

  • Tolerances: The case includes a 0.3mm clearance margin around the PCB edge to account for common FDM 3D printing extrusion variations.
  • Switch Cutouts: 14mm x 14mm square cutouts with a 0.6mm corner radius, optimized for MX-style switches.
  • I/O Access: Enlarged cutout for the XIAO USB-C port to accommodate thicker cables.
  • Ventilation: A small vent hole is included in the rear of the case.

License

This project is open-source and available for personal, educational, and hobbyist use. Contributions and forks are welcome!

Parts

12
QtyValueFootprintReferences
9SW_PushGateron_KS33_Hotswap:Gateron-KS33-Hotswap-1USW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9
2LOGOLOGOG***, G***
1MOUDLE-SEEEDUINO-XIAOkicad_care_package:XIAO-Generic-Hybrid-14P-2.54-21X17.8MMU1

Similar boards

  • 2 layersNrf bga, the printed circuit board in 3D

    Nrf bga

    github-linguist/linguist

    Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

    12 parts14kMIT
  • 2 layers66.9 × 74.5 mmDeskHop, the printed circuit board in 3D

    DeskHop

    hrvach/deskhop

    Fast Desktop Switching Device

    12 parts7.9kGPL-3.0
  • 2 layers40 × 15 mmSensors, the printed circuit board in 3D

    Sensors

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    12 parts3kApache-2.0
  • 2 layers42.7 × 56.5 mmTle6240 driver, the printed circuit board in 3D

    Tle6240 driver

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    12 parts1.2k
  • 2 layers49 × 25 mm5v boost regulator, the printed circuit board in 3D

    5v boost regulator

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    12 parts915
  • 2 layers28.3 × 10.3 mmTap Photosensor PCB, the printed circuit board in 3D

    Tap Photosensor PCB

    VoronDesign/Voron-Tap

    Tap is a nozzle-based z-probe for the V2 and Trident printer designs. The entire toolhead moves to trigger an optical switch. Tap offers many advantages:

    12 parts716GPL-3.0
  • 2 layers25.4 × 70.4 mmTpmsniffer, the printed circuit board in 3D

    Tpmsniffer

    stacksmashing/pico-tpmsniffer

    A simple, very experimental TPM sniffer for LPC bus

    12 parts696

Questions

How big is the Zpad PCB?

It measures 65.6 × 86.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Zpad use?

12 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 Zpad KiCad files?

From the zeti1223/Zpad repository on GitHub, at the commit this page was made from: the board is PCB/Zpad.kicad_pcb and its schematic PCB/Zpad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Zpad design in my own project?

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