Skip to the content
PCBKitNew board
2 layers169.2 × 105 mmDeck, the printed circuit board in 3D

One 2-layer board under the plate that replaces the plate's handwiring: rows, columns, diodes, power buses and screen jumpers. Fits the printed parts as they are: no plate, frame, dock or lid reprint.

Size
169.2 × 105 mm
Copper layers
2
Thickness
1.6 mm
Parts
67
Nets
41
Pads
182
Tracks, vias
589, 11
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
14 Oct 2026
Updated
14 Oct 2026

Overview

Deck is an open-source printed circuit board by unbleavabl, from the unbleavabl/deck-macropad repository on GitHub. It is a 2-layer board of 169.2 × 105 mm with 67 parts on 41 nets, routed with 589 tracks and 11 vias.

Its parts include 17 switches, 14 diodes and 3 capacitors.

README

macropad/pcb/README.md

Plate PCB (v1, not yet ordered)

One 2-layer board under the plate that replaces the plate's handwiring: rows, columns, diodes, power buses and screen jumpers. Fits the printed parts as they are: no plate, frame, dock or lid reprint. Same pins as the handwired build, so the firmware doesn't change.

top bottom

How it sits

  • Parallel to the plate, its top face 5 mm below the plate's top, the standard MX height. The switches clip into the plate and solder to the board. The board hangs from their pins and the screens' pins; it has no screws.
  • Screens sit on their glue pegs as before, 0.4 mm above the board. Their 4 header pins go straight through it. Pry the black plastic spacer off each module's pins first (flush cutters under it, lever it down the pins). Pin order on the board, left to right seen from the top: GND VCC SCL SDA. Check it against your module's printing before soldering. The pegs pass through 3.2 mm holes.
  • A window under each screen (17 x 21 mm) clears the parts on the module's back. Check that none of those parts sits outside the window, i.e. within ~2.5 mm of the header row.
  • Slide pots and encoders are too tall to solder flat (the pots are about 7 mm deep, the encoders 6.5 mm plus the 3 mm spacer). They keep their plate mounts and pass through cutouts. A short wire joins each pin to a labelled pad beside its cutout:
    • pot: pins 1 and 2 at the back end, pads 1 (3V3) and 2 (wiper); pin 3 at the front end, pad 3 (GND). The 100 nF cap is on the board (C1-C3).
    • encoder: column of 5 pads left of the cutout, front to back A C B SW SW (A, C, B = the 3-pin side; the two SW pads take the two push pins, either way round). The push diode is on the board (D13, D14).
  • Lid unchanged. The mux and BlackPill stay where they are, and plugs A-E stay as they are. The 27 ribbon wires solder into the pad groups A-E in the two channels between the key columns, one wire per labelled pad (silk names the BlackPill pin or mux channel). The square pad is each group's first pin. Empty positions (B15 in D, 5V in C) keep the plug spacing, so you can fit male headers and Dupont plugs at this end too.

Parts on the board

RefPartSide
K1-K12MX switch (3- or 5-pin)top, through the plate
D1-D141N4148, through-holebottom; band (square pad, K) toward the row
C1-C3100 nF ceramic, 2.5 mm pitchbottom
S1-S5the screens' own pinstop
JA-JEharness wires (or 2.54 male headers)from the bottom
J_P*, J_E*pot / encoder lead padswires from the bottom

Build order

  1. Solder diodes and caps on the bottom. Trim the leads flush on the top: there is only 2 mm under the plate.
  2. Plate upside down: switches clipped in, screens on their pegs (spacers off the pins), pots and encoders mounted as before.
  3. Lower the board onto the switch pins, screen pins and pegs together, then solder all of them.
  4. Short wires from the pot and encoder pins to their pads.
  5. Ribbon wires into JA-JE. Test with a meter, as in wiring/wiring.html's checklist.

Ordering (JLCPCB)

Upload deck-gerbers.zip. It's 169.3 x 105.1 mm, 2 layers, 1.6 mm, HASL, any colour. Over 100 mm, so the $2 price doesn't apply. Rules used: 0.25 mm tracks (a few necked to 0.15 at pads), 0.25 mm clearance, 0.35 mm via drill, GND pour on both layers.

Before ordering: print fit-check-1to1.pdf at 100 % (no "fit to page"), check a key's 14 mm square measures 14 mm, cut out the outline, and hold it under the plate. Every switch, peg, pot slot and encoder hole should line up.

Rebuilding

./route.sh runs the whole thing: build_pcb.py places parts from the deck geometry (mirrors case/scad/deck.scad; change sizes there and here together), freerouting autoroutes, then GND pour, DRC (drc.rpt, must be clean), Gerbers, renders and the fit-check PDF. Needs KiCad 10 (pacman -S kicad kicad-library), Java 25 (mise install java@temurin-25) and freerouting-2.5.0.jar in ~/.cache/freerouting/ (GitHub releases). deck.kicad_pcb opens in KiCad for hand edits, but route.sh overwrites it.

Parts

67
QtyValueFootprintReferences
20pegdeck:PegHole_3.2mmH1LB, H1LF, H1RB, H1RF, H2LB, H2LF, H2RB, H2RF, H3LB, H3LF, H3RB, H3RF, H4LB, H4LF, H4RB, H4RF +4
141N4148D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14
12MXSW_Cherry_MX_1.00u_PCBK1, K2, K3, K4, K5, K6, K7, K8, K9, K10, K11, K12
5PinHeader_1x04_P2.54mm_VerticalPinHeader_1x04_P2.54mm_VerticalS1, S2, S3, S4, S5
4PinHeader_1x01_P2.54mm_VerticalPinHeader_1x01_P2.54mm_VerticalJ_P1G, J_P2G, J_P3G, JE
3100nC_Disc_D3.0mm_W1.6mm_P2.50mmC1, C2, C3
3PinHeader_1x02_P2.54mm_VerticalPinHeader_1x02_P2.54mm_VerticalJ_P1, J_P2, J_P3
3PinHeader_1x05_P2.54mm_VerticalPinHeader_1x05_P2.54mm_VerticalJ_E1, J_E2, JC
2PinHeader_1x10_P2.54mm_VerticalPinHeader_1x10_P2.54mm_VerticalJA, JB
1PinHeader_1x03_P2.54mm_VerticalPinHeader_1x03_P2.54mm_VerticalJD

Questions

How big is the Deck PCB?

It measures 169.2 × 105 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Deck use?

67 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 Deck KiCad files?

From the unbleavabl/deck-macropad repository on GitHub, at the commit this page was made from: the board is macropad/pcb/deck.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Deck design in my own project?

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

Similar boards

  • 2 layers138.1 × 114.3 mmSilakka54, the printed circuit board in 3D

    Silakka54

    Squalius-cephalus/silakka54

    54-key column staggered split keyboard

    67 parts638MIT
  • 2 layers133.1 × 53.8 mmELEC PANEL, the printed circuit board in 3D

    ELEC PANEL

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    67 parts431
  • 2 layers160 × 100.1 mmArdumower mega shield svn, the printed circuit board in 3D

    Ardumower mega shield svn

    Ardumower/ardumower

    Develop an open source robotic lawn mower (HW+SW reference platform)

    67 parts282
  • 2 layers65 × 56 mmZpui shld wg12864b, the printed circuit board in 3D

    Zpui shld wg12864b

    CRImier/MyKiCad

    My KiCad boards. Can't be bothered uploading individually anymore, so here you go.

    67 parts253GPL-3.0
  • 2 layers138.1 × 89.7 mmTPS42, the printed circuit board in 3D

    TPS42

    crehmann/TPS42

    An ergonomic split keyboard with TrackPoint support

    67 parts236
  • 2 layers51 × 30 mmPicociaa, the printed circuit board in 3D

    Picociaa

    ciaa/Hardware

    Hardware de la CIAA

    67 parts216
  • 2 layers93.5 × 55 mmStm32, the printed circuit board in 3D

    Stm32

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    67 parts208
  • 2 layers58.4 × 101.6 mmDual VCA #2 Main, the printed circuit board in 3D

    Dual VCA #2 Main

    mzuelch/CATs-Eurosynth

    Analog Synth Eurorack Modules

    67 parts166MIT