Skip to the content
2 layers308.8 × 99.3 mmHem, the printed circuit board in 3D

A 65% ANSI keyboard PCB with an RP2040 on the board

Size
308.8 × 99.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
302
Nets
177
Pads
1,036
Tracks, vias
3,410, 258
Pours
80
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
13 Oct 2026
Updated
13 Oct 2026

Overview

Hem is an open-source printed circuit board by marcocampione, from the marcocampione/Hem-keyboard repository on GitHub, published under the MIT licence. It is a 2-layer board of 308.8 × 99.3 mm with 302 parts on 177 nets, routed with 3,410 tracks and 258 vias.

It is built around the RP2040, 74AHCT1G125SE and W25Q128JVSIQ, with the AP2112K-3.3, 1N4148W and SK6812MINI-E among its other parts. Its parts include 86 capacitors, 67 diodes, 62 switches, 6 resistors and 4 ICs. It belongs with the keyboards and input boards and the RP2040 boards of this library.

Main components

6

README

README.md

hem

A 65% ANSI keyboard PCB with an RP2040 on the board, per-key RGB and a small OLED. The back of the PCB is a street map of central Stockholm, with a pin at home ("hem" in Swedish), 59°20'34"N 18°02'58"E. It is meant to be seen through a clear acrylic bottom. The case files will follow.

The back of the PCB: mitt stockholm

What's in this repo

FolderContents
pcb/hem_gerbers.zip (Gerbers + drills), hem_bom.csv and hem_cpl.csv (assembly), hem_layers.pdf (every layer at 1:1, for checking)
pcb/kicad/The KiCad 10 board (hem.kicad_pcb), with its project and design rules
firmware/hem/QMK keyboard definition and default keymap
images/Renders

Specs

  • 65% ANSI layout, 67 keys, MX switches (soldered)
  • RP2040, 16 MB flash, USB-C via a Unified Daughterboard (C5 JSH or C3) on a JST-SH cable
  • 67 reverse-mount SK6812MINI-E RGB LEDs, one under each switch
  • 0.91" 128 x 32 SSD1306 OLED on a JST-SH connector
  • PCB-mount (screw-in) stabilizers: 3 x 2u + 1 x 6.25u
  • PCB: 308.8 x 99.25 mm, 2 layers

Ordering the PCB

Upload pcb/hem_gerbers.zip to PCBWay or JLCPCB: 2 layers, FR-4 1.6 mm, black solder mask, white silkscreen, ENIG, 1 oz copper, min track/space 0.15 mm (6 mil), min hole 0.3 mm, internal cut-outs (LED holes and slots).

For assembly, add hem_bom.csv and hem_cpl.csv. There are 235 SMD parts on both sides: 18 on the top and 217 on the bottom. Mark the SK6812MINI-E as reverse-mount. You solder the switches yourself.

Firmware

text
cp -r firmware/hem <qmk_firmware>/keyboards/hem
qmk compile -kb hem -km default

To flash: hold BOOT, plug in USB (or press RESET while holding BOOT), and copy the .uf2 file to the RPI-RP2 drive.

Before the first plug-in

Measure 5 V, 3.3 V and GND for shorts with a multimeter.

License

MIT, see LICENSE. The map on the back of the PCB is made from OpenStreetMap data: © OpenStreetMap contributors, available under the Open Database License (ODbL), https://www.openstreetmap.org/copyright

Parts

302
QtyValueFootprintReferences
79100nFC_0402_1005MetricC1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C15, C30, CL1, CL10, CL11, CL12 +63
671N4148WD_SOD-123D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +51
67SK6812MINI-ELED_SK6812MINI-E_3.2x2.8mm_P1.5mm_ReverseMountRGB1, RGB2, RGB10, RGB11, RGB12, RGB13, RGB14, RGB15, RGB16, RGB17, RGB18, RGB19, RGB20, RGB21, RGB22, RGB23 +51
210uFC_0603_1608MetricC20, C21
215pFC_0402_1005MetricC13, C14
21kR_0402_1005MetricR3, R4
21uFC_0402_1005MetricC11, C12
227R_0402_1005MetricR5, R6
24.7kR_0402_1005MetricR9, R10
1'SW_Cherry_MX_1.00u_PCBSW42
1,SW_Cherry_MX_1.00u_PCBSW53
1-SW_Cherry_MX_1.00u_PCBSW12
1.SW_Cherry_MX_1.00u_PCBSW54
1/SW_Cherry_MX_1.00u_PCBSW55
10SW_Cherry_MX_1.00u_PCBSW11
11SW_Cherry_MX_1.00u_PCBSW2
112MHzCrystal_SMD_3225-4Pin_3.2x2.5mmY1
12SW_Cherry_MX_1.00u_PCBSW3
122uFC_0603_1608MetricC31
13SW_Cherry_MX_1.00u_PCBSW4
14SW_Cherry_MX_1.00u_PCBSW5
15SW_Cherry_MX_1.00u_PCBSW6
16SW_Cherry_MX_1.00u_PCBSW7
17SW_Cherry_MX_1.00u_PCBSW8
174AHCT1G125SOT-23-5U4
18SW_Cherry_MX_1.00u_PCBSW9
19SW_Cherry_MX_1.00u_PCBSW10
1;SW_Cherry_MX_1.00u_PCBSW41
1=SW_Cherry_MX_1.00u_PCBSW13
1ASW_Cherry_MX_1.00u_PCBSW32
1AP2112K-3.3SOT-23-5U2
1BSW_Cherry_MX_1.00u_PCBSW50
1BOOTSELSW_SPST_B3U-1000PSW_BOOT
1BSPCSW_Cherry_MX_2.00u_PCBSW14
1CSW_Cherry_MX_1.00u_PCBSW48
1CAPSSW_Cherry_MX_1.75u_PCBSW31
1DSW_Cherry_MX_1.00u_PCBSW34
1DELSW_Cherry_MX_1.00u_PCBSW15
1DOWNSW_Cherry_MX_1.00u_PCBSW66
1ESW_Cherry_MX_1.00u_PCBSW19
1ENDSW_Cherry_MX_1.00u_PCBSW58
1ENTSW_Cherry_MX_2.25u_PCBSW43
1FSW_Cherry_MX_1.00u_PCBSW35
1FNSW_Cherry_MX_1.00u_PCBSW64
1GSW_Cherry_MX_1.00u_PCBSW36
1HSW_Cherry_MX_1.00u_PCBSW37
1ISW_Cherry_MX_1.00u_PCBSW24
1JSW_Cherry_MX_1.00u_PCBSW38
1KSW_Cherry_MX_1.00u_PCBSW39
1LSW_Cherry_MX_1.00u_PCBSW40
1LALTSW_Cherry_MX_1.25u_PCBSW61
1LCTLSW_Cherry_MX_1.25u_PCBSW59
1LEFTSW_Cherry_MX_1.00u_PCBSW65
1LGUISW_Cherry_MX_1.25u_PCBSW60
1LSFTSW_Cherry_MX_2.25u_PCBSW45
1MSW_Cherry_MX_1.00u_PCBSW52
1NSW_Cherry_MX_1.00u_PCBSW51
1OSW_Cherry_MX_1.00u_PCBSW25
1OLED I2CJST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_HorizontalJ2
1PSW_Cherry_MX_1.00u_PCBSW26
1PGDNSW_Cherry_MX_1.00u_PCBSW44
1PGUPSW_Cherry_MX_1.00u_PCBSW30
1QSW_Cherry_MX_1.00u_PCBSW17
1RSW_Cherry_MX_1.00u_PCBSW20
1RALTSW_Cherry_MX_1.00u_PCBSW63
1RESETSW_SPST_B3U-1000PSW_RST
1RGHTSW_Cherry_MX_1.00u_PCBSW67
1RP2040QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU1
1RSFTSW_Cherry_MX_1.75u_PCBSW56
1SSW_Cherry_MX_1.00u_PCBSW33
1SPCSW_Cherry_MX_6.25u_PCBSW62
1TSW_Cherry_MX_1.00u_PCBSW21
1TABSW_Cherry_MX_1.50u_PCBSW16
1USW_Cherry_MX_1.00u_PCBSW23
1UPSW_Cherry_MX_1.00u_PCBSW57
1VSW_Cherry_MX_1.00u_PCBSW49
1WSW_Cherry_MX_1.00u_PCBSW18
1W25Q128JVSSOIC-8_5.3x5.3mm_P1.27mmU3
1XSW_Cherry_MX_1.00u_PCBSW47
1YSW_Cherry_MX_1.00u_PCBSW22

The 296 most common of 302 parts.

Similar boards

  • 4 layers100 × 142.5 mmKeeb4x4, the printed circuit board in 3D

    Keeb4x4

    TheRealBluesun/keeb4x4

    4x4 macropad: STM32G431, per-key RGB, ScreenKey display keycaps, encoder. KiCad + Rust/Embassy firmware, USB bootloader, host CLI, printable base.

    127 partsCERN-OHL-P-2.0
  • 2 layers446.9 × 141.7 mmPerson keyboard, the printed circuit board in 3D

    Person keyboard

    jtljac/person-keyboard

    My personal Keyboard Design

    374 parts
  • 2 layers347.9 × 119.3 mmSupport All PCBS, the printed circuit board in 3D

    Support All PCBS

    Jubakuba/Keycult-TKL-Kicad

    Keycult TKL PCB Replacement with per key rgb.

    401 parts
  • 2 layers344.7 × 123.6 mmFuyu, the printed circuit board in 3D

    Fuyu

    JulianDomingo/pcbs

    Public PCB files for my keyboard projects!

    331 parts1MIT
  • 2 layers232 × 123.6 mmGamepad, the printed circuit board in 3D

    Gamepad

    FlyLeaff/kbgamepad

    a modification of the flatbox

    123 parts
  • 2 layers120 × 102.5 mmDsug cctv BOARD, the printed circuit board in 3D

    Dsug cctv BOARD

    LucasLHenry/spelltwister

    This is the third version of the code for the Spelltwister module with CCTV. This version uses the Arduino platform and the RP2040, a chip developed by Raspberry Pi for their RPi Pico board.

    251 partsMIT
  • 2 layers92.3 × 115.4 mmMacropad, the printed circuit board in 3D

    Macropad

    wwintjong/macropad

    My take on a macropad that I think will suit me. The layout is a 5x4 keys with hot-swappable switch and LED. Current iteration has no knobs or display implemented, but that is an idea for future versions.

    120 parts
  • 2 layers131.2 × 132.5 mmMacropad, the printed circuit board in 3D

    Macropad

    earthtojake/text-to-cad

    Design physical products with AI

    73 parts26kMIT

Questions

How big is the Hem PCB?

It measures 308.8 × 99.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Hem use?

302 parts, built around the RP2040, 74AHCT1G125SE, W25Q128JVSIQ and AP2112K-3.3. 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 Hem KiCad files?

From the marcocampione/Hem-keyboard repository on GitHub, at the commit this page was made from: the board is pcb/kicad/hem.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Hem design in my own project?

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