Skip to the content
2 layers298.8 × 136 mmMechaCore, the printed circuit board in 3D

A Fully Custom-Built Keyboard with Striking Style

Size
298.8 × 136 mm
Copper layers
2
Thickness
1.6 mm
Parts
128
Nets
104
Pads
531
Tracks, vias
787, 58
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
16 Aug 2026
Updated
20 Sep 2026

Overview

MechaCore is an open-source printed circuit board by aryanprabhuin-ship-it, from the aryanprabhuin-ship-it/MechaCore repository on GitHub. It is a 2-layer board of 298.8 × 136 mm with 128 parts on 104 nets, routed with 787 tracks and 58 vias.

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

README

README.md

MechaCore

MechaCore is my custom 60% (61 key) wired mechanical keyboard, its built around a Raspberry Pi Pico 2 and a completely hand routed 2 layer PCB.

so basicaly i wanted to make a keyboard where i didnt just download somebody elses pcb and put switches in it.. i wanted to actualy understand the matrix, diodes, stabilizers, routing, plate tolerances and how the pcb fits inside a real printable case. i designed the layout, schematic, pcb and the full case from scratch using kicad + fusion 360 and ngl the case part took way more trys then i expected lol

MechaCore Rev D fastenerless enclosure

why i made this

i use a keyboard for school, coding and pretty much everything, but most custom boards i liked was either super expensive or still used a ready made pcb. making MechaCore was kinda my excuse to learn the full hardware pipeline instead of only assembling parts

main goals i set for myself :

  • design a proper 60% ANSI PCB in kicad with 61 switches
  • wire the full matrix directly to a Raspberry Pi Pico 2
  • hand route every row, column and diode connection on a real 2 layer board
  • support screw-in stabilizers for backspace, enter, both shifts and the 6.25u spacebar
  • make a rounded 3d printable bottom case + switch plate in fusion 360
  • keep the files actualy manufacturable, not just make a nice looking render
  • learn the full pipeline : keyboard layout -> schematic -> pcb -> 3d export -> case -> production files

the routing was easily the most painful bit because the board has 61 switches and basically no room for lazy paths 😭 after alot of moving tracks between front/back copper the pcb reached 0 unconnected items, which felt kinda unreal after staring at ratsnest lines for so long

project status

this repo has the full hardware design, cad, manufacturing exports and the Pico 2 firmware. the PCB and case geometry is done, the matrix pinout is locked and the firmware is ready to copy straight onto the controller. the current enclosure is Rev D, a two-piece fastenerless design with no screw heads or locator tips visible from the top

whats included :

  • kicad project, schematic and fully routed pcb
  • full 3d cad (.f3d, .step and printable .stl files)
  • current Rev D fused bottom case and blind-snap switch plate exports
  • retained Rev B and Rev C CAD archives for design-history / rollback
  • production files (bom, positions, designators, ipc netlist and gerber zip)
  • 60% ANSI keyboard layout json
  • schematic and individual fabrication layer PDFs
  • complete Pico 2 firmware with the matching CircuitPython UF2

current hardware summary :

Layout60% ANSI, 61 keys
ControllerRaspberry Pi Pico 2
Connectivitywired USB through the Pico
Matrix14 columns x 5 rows, directly connected to the Pico
Diodes61x Slkor 1N4148W switching diodes, one per key (SOD-123, COL2ROW)
StabilizersDurock Clear screw-in V2 (6.25u space + 2u / 2.25u / 2.75u)
SwitchesAkko V3 Penguin Pro
KeycapsPlum Blossom cherry profile shine-through PBT
Case2 printed parts: fused bottom shell + blind-snap switch plate, no loose case hardware
PCB2 layer FR4, 300mm x 135.8mm, 1.6mm, green soldermask
Firmwaredependency free CircuitPython 10.2.1 USB HID firmware, 2 layers

the dark rounded case and the big MechaCore name on the plate is what kinda gave the whole board its look. the pink plum blossom keycaps should contrast with it nicely, atleast thats the plan once it becomes a real physical board

images

current Rev D enclosure

the final top surface is continuous. all six screw stacks from the earlier revisions were removed and both kinematic locator receivers were made blind, so there are no fastener heads or locator dots visible around the key field

Rev D clean top with no visible fasteners

the bottom case still uses six reinforced mounting stations, dual load-spreader spines and the round/expansion datum system. the screw sockets are now undercut receivers for the fused plate collets

Rev D fused bottom-case interior

each plate lock has a split 3.6mm shaft, stepped insertion pilot and 4.3mm retention bead. the relief direction alternates around the plate to reduce sensitivity to print-axis anisotropy

Rev D fused snap-collet detail

the four hollow-cup feet, three PCB deflection catches and six underside ejector ports are fused into the two main printed bodies instead of being separate hardware

Rev D integral feet and ejector ports

PCB and electronics

the complete 14x5 matrix, all 61 switches, 61 diodes, stabilizer symbols and Pico connections are kept in the same KiCad project

MechaCore PCB routing in KiCad MechaCore schematic PCB top view in KiCad 3D Viewer Exported PCB STEP checked in CAD

earlier enclosure development

these views show the original shell/plate work and are kept as design-history references. the Rev D files below are the current manufacturing set

Original switch and stabilizer plate cutouts Original bottom case shell

repository structure

text
MechaCore/
├── 3D/
│   ├── Case/                 Fusion archives, STEP assemblies and case/plate STLs
│   └── PCB/                  PCB reference model exported as STEP and STL
├── BOM Pics/                 supplier/cart screenshots used during BOM research
├── firmware/                 CircuitPython firmware, boot setup and Pico 2 UF2
├── Images/                   README-ready project, PCB and CAD images
├── layout/                   60% ANSI keyboard-layout JSON
├── PCB/                      KiCad project, schematic, routed PCB and backups
├── PDFs/                     schematic plus individual fabrication-layer PDFs
├── production/               Gerbers, BOM, positions, designators and IPC netlist
├── Working screen shot/      working CAD captures, including Rev B, C and D views
├── bom.csv                   build-cost and purchase-planning BOM
└── README.md

Images/ contains the curated screenshots used by this README. Working screen shot/ keeps the corresponding working captures so the documentation images can be replaced or compared without opening Fusion or KiCad.

repo file checklist

important current files in this repo :

  • PCB/Mechacore.kicad_pro
  • PCB/Mechacore.kicad_sch
  • PCB/Mechacore.kicad_pcb
  • 3D/Case/Mechacore-overengineered-revD.f3d (editable current enclosure)
  • 3D/Case/Mechacore-overengineered-revD.step (current neutral CAD assembly)
  • 3D/Case/Plate-blind-snap-revD.stl (print-ready plate with fused collets)
  • 3D/Case/Bottom-case-fused-revD.stl (print-ready fused case)
  • 3D/PCB/Mechacore.step
  • 3D/PCB/Mechacore.stl
  • layout/keyboard-layout.json
  • production/bom.csv
  • production/positions.csv
  • production/designators.csv
  • production/netlist.ipc
  • production/Mechacore.zip (gerbers)
  • bom.csv (build cost / purchase list)
  • PDFs/Mechacore.pdf (schematic print)
  • firmware/code.py (MechaCore key scanner + keymap)
  • firmware/boot.py (USB name + HID setup)
  • firmware/adafruit-circuitpython-raspberry_pi_pico2-en_US-10.2.1.uf2

cad

designed in Fusion 360. the current editable enclosure is 3D/Case/Mechacore-overengineered-revD.f3d, with a STEP assembly beside it and separate production STLs for the case and plate

Rev D is intentionally overengineered while keeping the physical part count low. the Fusion timeline contains 289 items and 52 parameters, but the finished enclosure is exactly two printable solids with no component/hardware occurrences:

  • six fused, split snap collets on the plate underside
  • six matching undercut sockets inside the reinforced case bosses
  • 0.10mm radial retention interference and 0.05mm controlled seating travel
  • alternating collet-split directions for print-anisotropy compensation
  • round + expansion kinematic locators hidden below a 0.6mm plate roof
  • six 1.2mm underside ejector ports for non-destructive service removal
  • fused hollow-cup feet and fused PCB anti-sag catches
  • existing wall gussets and dual load-spreader spines retained for the clamp/load path

to assemble it, align the blind locator pair and press evenly above the six edge stations until the retention beads seat in their undercut cavities. for removal, release the stations progressively through the underside ejector ports instead of bending one side of the plate

older CAD is intentionally kept in the same folder:

RevisionPurpose
Original / unsuffixedinitial shell and plate baseline
Rev Bfirst proper six-point M2.5 screw mounting system
Rev Cscrews, inserts, isolation washers, compression stops, feet and PCB supports
Rev Dcurrent two-piece blind-snap design with fused service features

the exact pcb was also exported as both STEP and STL in 3D/PCB/. i used that model inside the case design instead of guessing the board outline, especially for the rounded corners, Pico usb opening, solder clearance and stabilizer holes

firmware

firmware is finaly in the repo under firmware/. its a small dependency free CircuitPython setup written just for MechaCore, so theres no KMK folder, package install or placeholder pin list to fix later. the GPIO map was copied directly from the finished kicad PCB and the bundled UF2 is the official stable CircuitPython Pico 2 build

RuntimeCircuitPython 10.2.1 for Raspberry Pi Pico 2
RowsGP0, GP1, GP2, GP3, GP4
ColumnsGP5 through GP18
Matrix5 rows x 14 columns, 61 populated positions
Diodescolumn anode to row cathode (columns_to_anodes=True)
Debounce3 stable scans at 2ms, around 6ms total
USBstandard keyboard + consumer control HID
Rollover6 normal keys plus all modifiers

the base layer follows the actual keycap layout :

text
`     1   2   3   4   5   6   7   8   9   0   -   =   Backspace
Tab   Q   W   E   R   T   Y   U   I   O   P   [   ]   \
Caps  A   S   D   F   G   H   J   K   L   ;   '       Enter
Shift Z   X   C   V   B   N   M   ,   .   /           Shift
Ctrl  Win Alt             Space             Alt Win Menu/Fn Ctrl

the Menu key still works like a normal Menu key when tapped. hold it for 180ms or press it together with another key and it becomes Fn

  • Fn + backtick = Escape
  • Fn + 1 through Fn + = = F1 through F12
  • Fn + Backspace = Delete
  • Fn + U / I / O / P = Home / Up / End / Page Up
  • Fn + J / K / L / ; = Left / Down / Right / Page Down
  • Fn + Q / W / E = Previous track / Play-Pause / Next track
  • Fn + M, Fn + ,, Fn + ., Fn + / = Mute / Volume Down / Volume Up / Play-Pause

flashing it

  1. hold the BOOTSEL button on the Pico 2 while plugging the keyboard into usb
  2. open the new RP2350 drive and copy firmware/adafruit-circuitpython-raspberry_pi_pico2-en_US-10.2.1.uf2 onto it
  3. after it restarts as CIRCUITPY, copy firmware/boot.py and firmware/code.py to the root of that drive
  4. unplug and reconnect once so the USB setup from boot.py loads cleanly

thats it, no pin edits or extra libraries are needed. the keyboard shows up as MechaCore and the files stay editable from the CIRCUITPY drive if i ever wanna change the layout later

bom (summary)

full purchase list is in bom.csv. these prices are the rough planned cost in indian rupees, nothing was ordered yet

#NamePurposeQtyCost (₹)DistributorLink
1PCB fabrication2 layer MechaCore boards5 boards5288RobuBuy
23D printed casebottom shell + plate1 setown fundedHack Club—
3Plum Blossom Cherry Profile Shine-Through PBT Keycap Setkeycaps to actualy type on1 setown fundedCuriosity CapsBuy
4Durock Clear Screw-In Stabilizers V2keeps the large keys stable1 set1595StacksKBBuy
5Akko V3 Penguin Pro Switch (Pack of 45)mechanical switches + spares1 pack1,199StacksKBBuy
6Raspberry Pi Pico 2microcontroller / the brains1519RobuBuy
7Slkor 1N4148W SOD-123 switching diodesone diode per switch + some spares70 pcs100.10RobuBuy

rough total bom cost : ₹8,701.10


thanks for reading,, if you build one or spot something weird feel free to open a issue. this was my first full keyboard pcb + case made from scratch so its deffinately not perfect but i learnt a insane amount making it :)

Parts

128
QtyValueFootprintReferences
61DDiode_SMD:D_SOD-123D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +45
46SW_Push_45degPCM_marbastlib-mx:SW_MX_1uSW1, SW2, SW10, SW11, SW12, SW13, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23, SW24, SW25 +30
7SW_Push_45degPCM_marbastlib-mx:SW_MX_1.25uSW54, SW55, SW56, SW58, SW59, SW60, SW61
2SW_Push_45degPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_2.25uSW41, SW42
2SW_Push_45degPCM_marbastlib-mx:SW_MX_1.5uSW15, SW28
2SW_Push_45degPCM_marbastlib-mx:STAB_MX_2.25uSW63, SW64
1RaspberryPi_PicoModule:RaspberryPi_Pico_Common_UnspecifiedA1
1SW_Push_45degPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_2.00uSW14
1SW_Push_45degPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_6.25uSW57
1SW_Push_45degPCM_marbastlib-mx:STAB_MX_2.75uSW65
1SW_Push_45degPCM_marbastlib-mx:STAB_MX_6.25uSW66
1SW_Push_45degPCM_marbastlib-mx:SW_MX_1.75uSW29
1SW_Push_45degPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_2.75uSW53
1SW_Push_45degPCM_marbastlib-mx:STAB_MX_2uSW62

Similar boards

  • 2 layers98.4 × 190.5 mmChainlinkBase, the printed circuit board in 3D

    ChainlinkBase

    scottbez1/splitflap

    DIY split-flap display

    128 parts4.2k
  • 2 layers39.6 × 99.1 mmESP32-Eurorack Audio, the printed circuit board in 3D

    ESP32-Eurorack Audio

    ctag-fh-kiel/ctag-tbd

    CTAG TBD >>to be determined<< an extendible open source Eurorack sound module

    128 parts260
  • 2 layers165 × 103.8 mmOutput pcb, the printed circuit board in 3D

    Output pcb

    QuinnFreedman/modular

    A collection of free & open source DIY synthesizer module designs for Eurorack

    128 parts116
  • 2 layers141.4 × 115.9 mmKapl, the printed circuit board in 3D

    Kapl

    keyzog/kapl

    The Kapl is a split ergonomic keyboard with 70 keys (7x5)

    128 parts88MIT
  • 2 layers97.2 × 58.9 mmDecentUSB2040, the printed circuit board in 3D

    DecentUSB2040

    bleroy/3d-junkyard

    Random 3D models

    128 parts69
  • 2 layers264 × 141.2 mmKorris, the printed circuit board in 3D

    Korris

    yanghu/unicorne

    A one-piece 40% ortho keyboard design inspired by crkbd, Kyria and Ferris.

    128 parts63MIT
  • 2 layers86 × 86 mmProduction, the printed circuit board in 3D

    Production

    kerikun11/IR-Station

    Infrared Remote Controller with ESP8266 WiFi-module. You can control your home appliances with your smartphone or laptop.

    128 parts54MIT
  • 2 layers149 × 104 mmUaBrain gm e38, the printed circuit board in 3D

    UaBrain gm e38

    rusefi/rusefi-hardware

    128 parts52

Questions

How big is the MechaCore PCB?

It measures 298.8 × 136 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MechaCore use?

128 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 MechaCore KiCad files?

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

Can I use the MechaCore design in my own project?

Its repository states no licence, so its author keeps all rights: ask aryanprabhuin-ship-it before reusing the design.