Skip to the content
PCBKitNew board
2 layers78.7 × 38.1 mmMX Cherry 4x2, the printed circuit board in 3D

Stackable PCB module of MX Cherry switches with 1U Keycaps using button matrix with diode topology and LED matrix

Size
78.7 × 38.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
26
Nets
36
Pads
112
Tracks, vias
361, 34
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
2 Sep 2026
Updated
2 Sep 2026

Overview

MX Cherry 4x2 is an open-source printed circuit board by Stalis, from the Stalis/MX-Cherry-4x2-array-with-LED repository on GitHub. It is a 2-layer board of 78.7 × 38.1 mm with 26 parts on 36 nets, routed with 361 tracks and 34 vias.

Its parts include 8 diodes, 8 switches and 2 connectors. It belongs with the lEDs and displays boards of this library.

README

README.md

MX Cherry 4x2

PCB Renders

Top-side PCB render Bottom-side PCB render

Compact 8-key Cherry MX keyboard module: 4 columns x 2 rows. It has no onboard microcontroller and is intended for connection to an external controller or breadboard.

Features

  • 8 Cherry MX 1U, PCB-mount switch footprints on a 19.05 mm pitch.
  • 4x2 switch matrix with one diode per key.
  • Independent 4x2 LED matrix with one LED per key.
  • Two parallel SMD socket connectors, J1 and J2: 2x10, 2.54 mm pitch, on the bottom side of the board.
  • Two-layer, 1.6 mm thick PCB measuring 78.74 x 38.10 mm.

Matrices

Key layout:

COL_0COL_1COL_2COL_3
ROW_0SW1 / D1 / RLED1SW2 / D2 / RLED2SW3 / D3 / RLED3SW4 / D4 / RLED4
ROW_1SW5 / D5 / RLED5SW6 / D6 / RLED6SW7 / D7 / RLED7SW8 / D8 / RLED8

Each key has a series diode, D1 through D8, to prevent ghosting during matrix scanning. LEDs RLED1 through RLED8 form an independent matrix with the same four columns and two rows.

Connections

J1 and J2 are electrically identical: use either connector, or both to mount the module. Pin numbering follows the standard 2x10 connector convention: odd pins are on one row and even pins on the other.

PinSignalFunction
1SW_0_ROW_0switch-matrix row 0
2LED_0_ROW_0LED-matrix row 0
3SW_0_ROW_1switch-matrix row 1
4LED_0_ROW_1LED-matrix row 1
5-12NCnot connected
13SW_0_COL_0switch-matrix column 0
14LED_0_COL_0LED-matrix column 0
15SW_0_COL_1switch-matrix column 1
16LED_0_COL_1LED-matrix column 1
17SW_0_COL_2switch-matrix column 2
18LED_0_COL_2LED-matrix column 2
19SW_0_COL_3switch-matrix column 3
20LED_0_COL_3LED-matrix column 3

The controller must scan both matrices externally. The PCB has no LED current-limiting resistors; use an external current-limiting circuit or LED driver.

Components

QuantityReferencesFootprint
8SW1-SW8Cherry MX 1U, PCB mount
8D1-D8SOD-323F
8RLED1-RLED8LED 1206, 3216 Metric
2J1, J2SMD socket 2x10, 2.54 mm

The schematic does not specify diode ratings or LED color and electrical parameters. Select them for the voltage and current of the external driver.

DRC Notes

The following DRC findings are expected for this layout and should be excluded individually with a comment in KiCad after mechanical clearance is confirmed. Do not disable these checks globally.

DRC checkCountRationale
npth_inside_courtyard8The Cherry MX locating holes are through-holes, while J1 and J2 are bottom-side SMD connectors. The overlaps are courtyard-only; verify the connector body and pads clear the switch locating pins.
courtyards_overlap8Each top-side LED is intentionally placed at its associated switch for backlighting.
footprint_symbol_field_mismatch8 warningsDiodes D1-D8 have a schematic-only Sim.Device field that is absent from their footprints. This does not affect fabrication or electrical connectivity.

Repository Files

  • MX Cherry 4x2.kicad_pro - KiCad project.
  • MX Cherry 4x2.kicad_sch - main schematic.
  • MX Cherry 4x2.kicad_pcb - PCB layout.
  • switch_module.kicad_sch and led_module.kicad_sch - reusable sheets for one switch with a diode and one LED.
  • jlcpcb/ and production/ - previously exported manufacturing files.

The BOM and CPL files in jlcpcb/ and production/ are outdated relative to the current schematic and PCB. They omit RLED1 through RLED8 and describe the connectors as 1x10. Re-export Gerbers, BOM, and CPL from the current project before ordering.

Opening and Checking

The project was created with KiCad 10. Open MX Cherry 4x2.kicad_pro in KiCad, or check it from the command line:

sh
/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli sch erc "MX Cherry 4x2.kicad_sch"
/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli pcb drc --schematic-parity "MX Cherry 4x2.kicad_pcb"

Parts

26
QtyValueFootprintReferences
8DDiode_SMD:D_SOD-323FD1, D2, D3, D4, D5, D6, D7, D8
8LEDLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderRLED1, RLED2, RLED3, RLED4, RLED5, RLED6, RLED7, RLED8
8SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8
2Conn_02x10_Odd_EvenConnector_PinSocket_2.54mm:PinSocket_2x10_P2.54mm_Vertical_SMDJ1, J2

Questions

How big is the MX Cherry 4x2 PCB?

It measures 78.7 × 38.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MX Cherry 4x2 use?

26 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 MX Cherry 4x2 KiCad files?

From the Stalis/MX-Cherry-4x2-array-with-LED repository on GitHub, at the commit this page was made from: the board is MX Cherry 4x2.kicad_pcb and its schematic MX Cherry 4x2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MX Cherry 4x2 design in my own project?

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

Similar boards

  • 2 layers57.3 × 19 mm11ua, the printed circuit board in 3D

    11ua

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    26 parts990GPL-3.0
  • 2 layers98 × 59.5 mmMCP23017 PCB, the printed circuit board in 3D

    MCP23017 PCB

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    26 parts915
  • 2 layers142.9 × 98.5 mmCantor MX, the printed circuit board in 3D

    Cantor MX

    diepala/cantor

    Cantor keyboard, a 42 key diodeless split keyboard.

    26 parts756GPL-3.0
  • 2 layers103.8 × 50 mmGalagino pcb set, the printed circuit board in 3D

    Galagino pcb set

    harbaum/galagino

    A Galaga, Pac-Man and Donkey Kong arcade emulator for the ESP32

    26 parts558
  • 2 layers20.3 × 34.8 mmL0 ESP32, the printed circuit board in 3D

    L0 ESP32

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    26 parts546MIT
  • 2 layers40.6 × 50.8 mmWALTsm, the printed circuit board in 3D

    WALTsm

    google/walt

    A device for measuring latency of physical sensors and outputs on phones and computers

    26 parts474Apache-2.0
  • 2 layers158.5 × 75 mmDoj v2, the printed circuit board in 3D

    Doj v2

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    26 parts463