Skip to the content
2 layers298.7 × 121.3 mmHeawood42 MX hotswap, the printed circuit board in 3D

Heawood42 MX hotswap

triliu/Heawood4266

Files for the Heawood42 ortholinear split keyboard

Size
298.7 × 121.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
116
Nets
86
Pads
718
Tracks, vias
1,288, 121
Pours
12
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
14 Mar 2024
Updated
9 Aug 2025

Overview

Heawood42 MX hotswap is an open-source printed circuit board by triliu, from the triliu/Heawood42 repository on GitHub. It is a 2-layer board of 298.7 × 121.3 mm with 116 parts on 86 nets, routed with 1,288 tracks and 121 vias.

It is built around the SK6812MINI-E. Its parts include 41 inductors, 40 switches and 3 connectors. It belongs with the keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

Heawood42

The Heawood42 is a diodeless 42-key ortho-linear split keyboard that uses any pro micro microcontroller. The Heawood42 utilises a new type of circuit design stemming from graph theory and mathematical design theory. All previous diodeless keyboards work using one pin per key, such as the sweep, which uses 17 pins to control 17 keys per side, the sweeeeep, which uses 17 pins to control 17 keys per side, the cantor, which uses 18 pins to control 18 keys per side, and the piantor, which uses 21 pins to control 21 keys per side. The first two keyboards can use any pro micro-style board (traditionally, the pro micro-style boards have 18 pins available, but one of these pins is required for communication among the halves). The third and fourth keyboard requires the use of a larger microcontroller, the BlackPills and the Raspberry Pi Pico, respectively.

The Heawood42 is the first split diodeless keyboard requiring fewer pins than keys. Each side uses 14 pins to control 21 keys. This means that even on a typical pro micro-style board, the Heawood42 may have inter-board communication, addressable RGB lights, and an OLED screen.

Due to its diodeless-ness, the Heawood42 is ideal in several cases, as it reduces the cost and complexity of making a custom mechanical keyboard.

Why 'Heawood'?

Typical mechanical keyboards arrange their keys in a grid pattern. In such a grid, there are cycles of four keys. If no diodes were used and three keys of a four-key cycle were pressed, the keyboard would act like all four keys were being pressed. See https://pcbheaven.com/wikipages/How_Key_Matrices_Works/ for an explainer of this phenomenon. By adding a diode to every key, the keyboard becomes "n-key rollover", meaning that the keyboard can theoretically distinguish all combinations of keypresses. In software, however, 6-key rollover is typically used, meaning the software assumes that if more than six keys are being pressed, then keys were pressed on accident. The USB keyboard protocol is limited to a 6-key rollover. For split keyboards, a 6-key rollover on each half is excessive, as typically one finger would only press one key at a time, and even a 5-key rollover is more than is needed.

In graph theory, it is possible to make graphs that do not contain small cycles. Each graph can be converted into a new type of key matrix, with differing characteristics. The Heawood graph is a graph that is the incidence graph of a projective plane of order 2, and has 14 vertices, 21 edges, and a girth of 6. For more details on this graph, see House of Graphs. This graph converts to a key matrix with just a 4-key rollover. However, by designing the board specifically, all problematic 5-key and 6-key sequences may be practically eliminated, yielding the Heawood42.

This design is powered using any pro micro-style microcontroller.

Versions

  • Regular MX-hotswap version
    • 19.05 x 19.05 spacing
    • MX hot-swap style holes (requires 42 MX hot-swap sockets)
    • Per-key RGB LEDs (optional)
  • Choc-hotswap version
    • 18 x 17 spacing
    • Choc hot-swap style holes (requires 42 choc hot-swap sockets)
    • Per-key RGB LEDs (optional)

Parts

116
QtyValueFootprintReferences
40SW_PUSHPCM_marbastlib-xp-mx:SW_MX_HS_KS-2P02B01-01_1uSW11, SW12, SW13, SW14, SW15, SW16, SW17, SW21, SW22, SW23, SW24, SW25, SW26, SW31, SW32, SW33 +24
20SK6812MINIHeawood_Kbd:LED_MX_6812miniEL17, L21, L22, L23, L24, L25, L26, L27, L36, L37, r_L12, r_L13, r_L14, r_L15, r_L16, r_L31 +4
20SK6812MINIHeawood_Kbd:LED_MX_6812miniE_revL11, L12, L13, L14, L15, L31, L32, L33, L34, L35, r_L17, r_L21, r_L22, r_L23, r_L24, r_L25 +4
14, , , , , , , , , , , , ,
85.5mmPCM_marbastlib-various:mousebites_5p5mm_easysnapMB5, MB5, MB5, MB5, MB5, MB5, MB5, MB5
2 kbd:JPC2JP1, r_JP1
2MJ-4PP-9PCM_marbastlib-xp-various:CON_MJ-4PP-9J2, r_J2
2ProMicrokbd:ProMicro_v3.5r_U1, U1
2SW_PUSHPCM_marbastlib-xp-mx:SW_MX_HS_KS-2P02B01-01_1.5ur_SW27, SW27
2SW_PUSHkbd:ResetSWr_RSW1, RSW1
1OLEDkbd:OLEDJ1
1SK6812MINI-eHeawood_Kbd:LED_MX_6812miniE_revL16
1SK6812MINI-eHeawood_Kbd:LED_MX_6812miniEr_L11
1r_OLEDkbd:OLEDr_J1

More from triliu/Heawood42

4
  • 2 layers139.2 × 93.3 mmHeawood, the printed circuit board in 3D

    Heawood

    triliu/Heawood42

    Files for the Heawood42 ortholinear split keyboard

    66 parts66
  • 2 layers147 × 100.9 mmHeawood42 MX, the printed circuit board in 3D

    Heawood42 MX

    triliu/Heawood42

    Files for the Heawood42 ortholinear split keyboard

    62 parts66
  • 2 layers133.8 × 91.4 mmCorne heawood flip, the printed circuit board in 3D

    Corne heawood flip

    triliu/Heawood42

    Files for the Heawood42 ortholinear split keyboard

    56 parts66
  • 2 layers133.8 × 91.4 mmCorne heawood, the printed circuit board in 3D

    Corne heawood

    triliu/Heawood42

    Files for the Heawood42 ortholinear split keyboard

    54 parts66

Similar boards

  • 4 layers234 × 84 mmMain panel, the printed circuit board in 3D

    Main panel

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    234 parts3kApache-2.0
  • 4 layers180.8 × 300.3 mmDilemma, the printed circuit board in 3D

    Dilemma

    Bastardkb/Dilemma

    The Dilemma is a vertical stagger low-profile keyboard with mods.

    383 parts590
  • 4 layers48 × 32 mmFlatSat, the printed circuit board in 3D

    FlatSat

    Pwnsat/FlatSat

    Flatsat v1.0 is a hardware based platform for aerospace cybersecurity research

    106 parts575GPL-2.0
  • 2 layersDemo, the printed circuit board in 3D

    Demo

    adamws/kicad-kbplacer

    KiCad plugin for automatic keyboard's key placement and routing

    48 parts547GPL-3.0
  • 2 layers97 × 78.5 mmDumbpad, the printed circuit board in 3D

    Dumbpad

    imchipwood/dumbpad

    Simple 4x4 numpad with rotary encoder. Powered by QMK via ATmega32u4 Pro Micro

    62 parts517GPL-2.0
  • 4 layers82.5 × 39.4 mmV4head, the printed circuit board in 3D

    V4head

    makerforgetech/modular-biped

    An open source framework for creating a bipedal modular companion robot.

    26 parts493GPL-3.0
  • 2 layers115.7 × 95.7 mmFifi split keeb, the printed circuit board in 3D

    Fifi split keeb

    raychengy/fifi_split_keeb

    Fifi Keyboard 🐶 ⌨️

    66 parts334
  • 4 layers70 × 54 mmPicoLab, the printed circuit board in 3D

    PicoLab

    CoretechR/PicoLab

    Web-GUI Embedded Multitool

    285 parts327GPL-3.0

Questions

How big is the Heawood42 MX hotswap PCB?

It measures 298.7 × 121.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Heawood42 MX hotswap use?

116 parts, built around the SK6812MINI-E. 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 Heawood42 MX hotswap KiCad files?

From the triliu/Heawood42 repository on GitHub, at the commit this page was made from: the board is MX-hotswap/Ver 0.3/Kicad/Heawood42_MX_hotswap.kicad_pcb and its schematic MX-hotswap/Ver 0.3/Kicad/Heawood42_MX_hotswap.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Heawood42 MX hotswap design in my own project?

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