Skip to the content
2 layers381 × 104.8 mmKeyboard, the printed circuit board in 3D

my keyboard

Size
381 × 104.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
155
Nets
102
Pads
547
Tracks, vias
591, 3
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
9 Jul 2026
Updated
5 Nov 2026

Overview

Keyboard is an open-source printed circuit board by milesmuehlbach, from the milesmuehlbach/keyboard repository on GitHub. It is a 2-layer board of 381 × 104.8 mm with 155 parts on 102 nets, routed with 591 tracks and 3 vias.

Its parts include 74 switches and 68 diodes. It belongs with the keyboards and input boards and the RP2040 boards of this library.

README

README.md

keyboard

image image

pcb layout

A mechanical keyboard, designed by me, using keeb's tutorial (for basic overview and guidance; once I knew the general direction to take each step it was mostly independent). Mx style switches, in a slightly-larger-than 60% layout, designed with a select few extra keys I deemed important. Additionally features a rotary encoder for volume & media playback.

I built this project because I wanted a good project to get into hardware/pcb design and all of the projects I'd previously thought of were too basic to waste the money + resources on making them real. Someone I knew had done some sort of custom keyboard, but I think it was moreso a scenario of him buying the pcb and the switches and just putting em together, etc, but I thought it was really cool to make your own keyboard so it was kind of in the back of my mind. Either way, I needed a mechanical keyboard and after realizing that it was somewhat attainable I set off to it. I'd messed with KICAD before in the past so I knew that was the way to go, and I was having trouble running fusion on my laptop so onshape it is!

I'm using RMK for firmware, located in firmware/

I built the PCB in KICAD, which is in pcb/

Onshape Assembly

you can also find step files and other various models in 3dmodels/

Firmware setup

Make sure the rust toolchain is installed. Install the compilation target for your microcontroller; in our case it's a pi pico 1 so it'll be thumbv6m-none-eabi

Install rmk deps:

sh
cargo install rmkit
cargo install flip-link cargo-make

The firmware is already configured for this specific board layout and pinout, etc.

Build firmware with

sh
cargo make uf2 --release

You'll find the compiled uf2 (which can be loaded normally to the pi pico) at target/thumbv6m-none-eabi/release/*.uf2

BOM: BOM.csv, or view it below:

Bill of Materials

Parts

155
QtyValueFootprintReferences
681N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +52
58SW_PushPCM_marbastlib-mx:SW_MX_1uSW1, SW2, SW10, SW11, SW12, SW13, SW14, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23, SW24 +42
8LOGOLOGOG***, G***, G***, G***, G***, G***, G***, G***
7SW_PushPCM_marbastlib-mx:SW_MX_1.25uSW54, SW55, SW56, SW58, SW59, SW60, SW61
4MX_stabPCM_marbastlib-mx:STAB_MX_2uS1, S2, S3, S4
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
2SW_PushPCM_marbastlib-mx:SW_MX_1.5uSW15, SW28
1MX_stabPCM_marbastlib-mx:STAB_MX_6.25uS5
1RaspberryPi_PicoModule:RaspberryPi_Pico_Common_THTA1
1RotaryEncoder_SwitchRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm_CircularMountingHolesSW67
1SW_PushPCM_marbastlib-mx:SW_MX_1.75uSW29

Similar boards

  • 2 layers121.5 × 136.5 mmStm32, the printed circuit board in 3D

    Stm32

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    155 parts208
  • 2 layers305.9 × 135.1 mmGigan rev2, the printed circuit board in 3D

    Gigan rev2

    Skycode22/HIDs

    HID projects

    155 parts132
  • 2 layers285 × 94.6 mmSgh60, the printed circuit board in 3D

    Sgh60

    sago35/tinygo-keyboard

    USB HID keyboard firmware for tinygo

    155 parts119MIT
  • 2 layers254 × 134.6 mmFPGA Z80 (no traces), the printed circuit board in 3D

    FPGA Z80 (no traces)

    douggilliland/Retro-Computers

    Retro-Computer Designs (Z80, 65C816, etc)

    155 parts87
  • 2 layers334.6 × 122.8 mmProductionPCB, the printed circuit board in 3D

    ProductionPCB

    compressionKeyboards/compression4c

    This repo contains the files to order a custom PCB for (4c), checkout the zmk layout to build firmware!

    155 parts60
  • 2 layers285.4 × 94.9 mmRosaline ortho, the printed circuit board in 3D

    Rosaline ortho

    peej/rosaline-keyboard

    40% staggered through-hole component keyboard PCB for standard 60% cases

    155 parts53MIT
  • 2 layers60.3 × 128.3 mmDAC II, the printed circuit board in 3D

    DAC II

    Blinken-Lights/ASCII

    ASCII Modular hardware and software repo

    155 parts50MIT
  • 2 layers209.6 × 154.9 mmY BUS Ctrl, the printed circuit board in 3D

    Y BUS Ctrl

    cherry-takuan/nlp

    NLP(Nand Logic Processor)のリポジトリ

    155 parts45CC-BY-SA-4.0

Questions

How big is the Keyboard PCB?

It measures 381 × 104.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Keyboard use?

155 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 Keyboard KiCad files?

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

Can I use the Keyboard design in my own project?

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