Skip to the content
2 layers318.5 × 163 mmKEYBOARDTOP, the printed circuit board in 3D

This project is a custom 75% mechanical keyboard PCB designed around the Raspberry Pi RP2040 microcontroller.

Size
318.5 × 163 mm
Copper layers
2
Thickness
1.6 mm
Parts
210
Nets
137
Pads
759
Tracks, vias
938, 59
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
24 May 2025
Updated
19 Jun 2025

Overview

KEYBOARDTOP is an open-source printed circuit board by bartekp-i, from the bartekp-i/myMechanicalKeyboard repository on GitHub, published under the MIT licence. It is a 2-layer board of 318.5 × 163 mm with 210 parts on 137 nets, routed with 938 tracks and 59 vias.

It is built around the RP2040, W25Q16JVUXIQ and ABM8-272-T3, with the PRTR5V0U2X,215-ES, SKRPABE010 and SPX5205M5-L-3-3/TR among its other parts. Its parts include 80 diodes, 56 switches, 19 capacitors, 7 resistors and 2 connectors. It belongs with the RP2040 boards of this library.

Main components

6

README

README.md

75% Custom Mechanical Keyboard PCB Documentation

A compact, RP2040-powered keyboard with USB-C and OLED support.


Overview

This project is a custom 75% mechanical keyboard PCB designed around the Raspberry Pi RP2040 microcontroller. It features a non-standard QWERTY layout with 83 keys, USB-C connectivity with robust signal filtering, ESD protection, and support for a 0.96-inch RGB OLED module. The PCB is manufactured by JLCPCB and ready for soldering and programming.


Features

  • RP2040 Microcontroller: Dual-core ARM Cortex-M0+ for flexible firmware customization.
  • USB-C Connectivity: Built-in signal filtering and ESD protection (TVS diode) on D+/D- lines.
  • Power Regulation: 3.3V LDO Regulator (SPX5205M5-L-3-3/TR) for stable power delivery.
  • QSPI Flash: W25Q16JVUXIQ (2MB) for firmware storage.
  • Precision Timing: ABM8-272-T3 12MHz crystal oscillator.
  • OLED Support: Pads/THT headers for a 0.96-inch RGB OLED module.
  • Debugging: SWD (Serial Wire Debug) pins for firmware flashing/troubleshooting.
  • Mechanical Design:
    • 75% layout (83 keys).
    • Custom plate and back panel.
    • Stabilizers for Space, Shift, Enter, and Backspace keys.
    • AKKO V3 Pro Yellow switches (pre-lubed linear).
    • Switching diodes for every key (anti-ghosting).

Hardware Details

RP2040 Microcontroller

  • Handles key matrix scanning, USB communication, and peripheral control.
  • Connected peripherals:
    • QSPI Flash: Stores firmware and configuration data.
    • ABM8-272-T3 Oscillator: Provides precise timing for USB communication.
    • Boot Button: For entering firmware update mode.
    • SWD Pins: 1x3 header for programming/debugging.

USB-C and Signal Integrity

  • ESD Protection: TVS diodes on D+/D- lines to protect against electrostatic discharge.
  • Filtering: Ferrite beads/RC filters to reduce noise on data lines.

Power Regulation

  • SPX5205M5-L-3-3/TR LDO: Converts USB 5V to 3.3V for RP2040 and peripherals.
  • Max current: 150mA (sufficient for RP2040, OLED, and peripherals).

Keyboard Matrix

  • 83-Key Layout: Non-standard 75% design (see Layout/ directory for matrix mapping).
  • Switching Diodes: Each key has a diode (1N4148 or similar) to prevent "ghosting" by blocking reverse current in the matrix.

Stabilizers

  • Required for longer keys: Spacebar, Enter, Backspace, and Shift (supports Cherry-style stabilizers).

OLED Module

  • 0.96-inch RGB OLED: Connected via SPI.
  • Mounting: THT pads or header pins for secure attachment.
  • Finally I decided to not use it due to current draw considerations.

Design & Manufacturing

  • PCB: Designed in KiCad (files in Hardware/).
  • Manufacturing:
    • JLCPCB 2-layer PCB with white solder mask finish.
    • SMD components can be pre-soldered.

Firmware

  • Coded using QMK-RP2040 is compatible with this software.
  • Example firmware available in Firmware/.

Build Instructions

  1. Solder Components:
    • Diodes (orient cathode stripe correctly).
    • RP2040, USB-C port, oscillator, and regulator.
    • SWD header and OLED pins.
  2. Mount Stabilizers: Clip-in Cherry stabilizers for large keys.
  3. Install Switches: Secure AKKO V3 Pro switches into the plate and solder to PCB.
  4. Attach OLED: Solder headers or directly mount the OLED module.
  5. Flash Firmware: Use SWD or UF2 bootloader (press boot button while plugging in USB).

Acknowledgements

  • JLCPCB for PCB manufacturing.
  • Raspberry Pi Foundation for RP2040.

📸 Photos!

Keyboard layout keyboard-layout

Schematic image image

PCB Layout image

Keyboard Plate image

Back Plate image

3D PCB Layout image

3D Keyboard Plate image

3D Back Plate image

Boards After Manufacturing de2a45c0-26ce-4094-b5c6-7f7046fe6de4 ff16e77b-f6f2-4f7a-a8ca-ae126aca71c9 aa148c33-f10a-49f3-b886-1f6bd5d3fd8b 42f9e057-b715-42d8-a504-73b2bb60c914

Fully Assembled Product image image


Designed with Kicad by Bartosz Piotrowski.

Parts

210
QtyValueFootprintReferences
80D_SmallDiode_SMD:D_SOD-323_HandSolderingD1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +64
8100nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC7, C8, C9, C10, C11, C12, C13, C21
215pFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC19, C20
21uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC17, C18
21uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC4, C5
227RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4, R5
25.1kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2
2MX_stabPCM_marbastlib-mx:STAB_MX_P_2.25uS3, S4
1"PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW55
1"~`"PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW14
1+PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW26
1-PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW25
10PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW24
10.1uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC2
11PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW15
110nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1
110uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3
1120/100MHZResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderFB1
11KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7
11kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3
12PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW16
12u2Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC22
13PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW17
14PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW18
15PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW19
16PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW20
17PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW21
18PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW22
19PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW23
1:PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW54
1<PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW66
1>PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW67
1?PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW68
1ABM8-272-T3CRYSTAL_12MHZ:ABM8-272-T3_ABRX1
1Conn_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1Conn_01x07Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ2
1ESCPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW1
1F1PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW2
1F10PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW11
1F11PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW12
1F12PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW13
1F2PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW3
1F3PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW4
1F4PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW5
1F5PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW6
1F6PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW7
1F7PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW8
1F8PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW9
1F9PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW10
1MX_stabPCM_marbastlib-mx:STAB_MX_P_2uS2
1MX_stabPCM_marbastlib-mx:STAB_MX_P_6.25uS1
1NO-FIT(10u)Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC6
1No-Fit(1k)Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6
1PRTR5V0U2X_215ESD_Protect:SOT143B_PRTR5V0U2X_215_NEXESD1
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU3
1SKRPABE010DEbug_Button:SW4_SKRPABE010_ALPSBOOT1
1SPX5205M5-L-3-3/TRLDO_REG_3V3:SP6201EM5REG1
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalUSB1
1W25Q16JVUXIQQSPI_Flash:W25Q16JVUXIQ_WINQSPI1
1[PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW40
1]PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW41
1aPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW45
1altPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW75
1altPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.25uSW73
1arrow_downPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW79
1arrow_leftPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW78
1arrow_rightPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW80
1arrow_upPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW70
1bPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW63
1backspacePCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_2.00uSW27
1cPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW61
1capsPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.75uSW44
1ctrlPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.25uSW71
1ctrlPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW77
1dPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW47
1deletePCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW57
1ePCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW32
1enterPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_2.25uSW56
1fPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW48
1fnPCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW76

The 172 most common of 210 parts.

Similar boards

  • 2 layers16 × 34.8 mmServo beunboard, the printed circuit board in 3D

    Servo beunboard

    nickyu42/feetech-servo-controller

    Replacement controller board for Feetech FT6335M servos.

    14 parts
  • 4 layers36 × 26 mmNina project, the printed circuit board in 3D

    Nina project

    slemanz/nina-project

    Integrated hardware and firmware solution for a data acquisition device based on the u-blox NINA-B306 (nRF52840) Open CPU.

    43 parts4MIT
  • 2 layers178.6 × 66 mmESP32S3comV3.2, the printed circuit board in 3D

    ESP32S3comV3.2

    leeyumsk/IRL-Subtitles

    Using techniques similar to human perception to localize sounds and speakers.

    69 parts2
  • 4 layers72.4 × 87.3 mmUi tile kicad, the printed circuit board in 3D

    Ui tile kicad

    arista/ultranetMonitor

    Project for creating an ultranet audio monitor

    64 parts
  • 8 layers74 × 128 mmLimejig, the printed circuit board in 3D

    Limejig

    taskx6004/limejig

    Open-source LimeJig fixture firmware, host tools, KiCad source, and synthetic test examples

    92 parts1MIT
  • 2 layers21 × 51 mmCybdopico, the printed circuit board in 3D

    Cybdopico

    Cybdo/cybdopico

    rp2040 devboard using pico footprint with some extra features like usbc, usb protection, and a touch button! inspired by orpheuspico

    35 partsMIT
  • 4 layers81 × 37 mmMaidenhead pocket locator, the printed circuit board in 3D

    Maidenhead pocket locator

    EdmundLimBoEn/gps-maidenhead-device

    Open-source portable GNSS Maidenhead grid locator with a 16x2 LCD

    117 parts
  • 2 layers67 × 104 mmDaydreamorg, the printed circuit board in 3D

    Daydreamorg

    sophiayduan/sprig-speedrun

    A vertical handheld RP2040 Sprig game console

    75 partsMIT

Questions

How big is the KEYBOARDTOP PCB?

It measures 318.5 × 163 mm and has 2 copper layers, 1.6 mm thick.

What parts does the KEYBOARDTOP use?

210 parts, built around the RP2040, W25Q16JVUXIQ, ABM8-272-T3 and PRTR5V0U2X,215-ES. 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 KEYBOARDTOP KiCad files?

From the bartekp-i/myMechanicalKeyboard repository on GitHub, at the commit this page was made from: the board is Hardware/KEYBOARDTOP.kicad_pcb and its schematic Hardware/KEYBOARD.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the KEYBOARDTOP 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).