Skip to the content
4 layersOhmbedded RP2040-PCB Template, the printed circuit board in 3D

Ohmbedded RP2040-PCB Template

hlord2000/Ohmbedded-RP2040-PCB-Template26

An RP2040-based keyboard PCB KiCAD Template Project

Copper layers
4
Thickness
1.6 mm
Parts
43
Nets
66
Pads
203
Tracks, vias
170, 26
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
25 Jun 2023
Updated
25 Mar 2025

Overview

Ohmbedded RP2040-PCB Template is an open-source printed circuit board by hlord2000, from the hlord2000/Ohmbedded-RP2040-PCB-Template repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 4-layer board with 43 parts on 66 nets, routed with 170 tracks and 26 vias.

It is built around the RP2040, ZD25D40CNJGR and USBLC6-2SC6. Its parts include 17 capacitors, 6 resistors, 6 switches, 5 diodes and 4 ICs. It belongs with the keyboards and input boards and the RP2040 boards of this library.

Main components

3

README

README.md

Keyboard PCB Integration with Microcontrollers

This GitHub project provides guidance on integrating microcontrollers into keyboard PCBs. It focuses on the RP2040 microcontroller from the Raspberry Pi foundation, which offers several features such as a dual-core Arm Cortex-M0+ processor, multiple communication interfaces, and QMK/Via/Vial support.

Schematic

Schematic Capture

Before proceeding with board layout, it is important to understand the steps involved in schematic capture. The README provides an overview of the RP2040 microcontroller, including its integrated 3.3V->1.1V regulator, pin connections like TESTEN and RUN_, and the need for additional components such as decoupling capacitors.

Power Supply and USB Bootloader

The RP2040 is powered through USB and features a built-in USB bootloader for easy programming. The README mentions the use of a 3.3V fixed regulator, USBLC6 ESD protection IC, PTC resettable fuse, and a ferrite bead for EMI suppression.

PCB Connectors

The project includes information about the USB-C port, its orientation detection pins (CC1/CC2), and the 5.1k resistors used for USB power delivery. Additionally, a JST connector is introduced for use with a Unified Daughter Board.

Crystal and External Flash

A crystal is employed to provide accurate timing for USB functionality. The README also covers the connections to the RP2040's external flash, including buttons for forcing the ROM bootloader and resetting the microcontroller.

Indicator LED and Switch Matrix

An indicator LED example for caps lock indication is given, along with considerations for selecting an appropriate LED resistor value. The README highlights the use of diodes in the switch matrix to prevent "ghosting" and enable n-key rollover.

Parts

43
QtyValueFootprintReferences
10100nCapacitor_SMD:C_0402_1005MetricC4, C5, C6, C7, C8, C9, C11, C14, C16, C17
51uCapacitor_SMD:C_0402_1005MetricC3, C10, C12, C13, C15
4D_SmallDiode_SMD:D_SOD-123D1, D2, D3, D4
4MX_SW_soldermarbastlib-mx:SW_MX_1uSW1, SW2, SW3, SW4
222Resistor_SMD:R_0402_1005MetricR1, R2
230pCapacitor_SMD:C_0402_1005MetricC1, C2
25.1kResistor_SMD:R_0402_1005MetricR4, R5
2SW_PushButton_Switch_SMD:SW_SPST_SKQG_WithoutStemSW72, SW73
1100 Ohm @ 100 MHzInductor_SMD:L_0402_1005MetricFB1
112MHz Crystal 3225Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
11kResistor_SMD:R_0402_1005MetricR3
13.3V Fixed RegulatorPackage_TO_SOT_SMD:TSOT-23U4
1700mAFuse:Fuse_0402_1005MetricF1
1JST - 1.00mm 4 PinConnector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_HorizontalJ2
1LEDmarbastlib-mx:LED_MX_3mmD65
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm_ThermalViasU1
1R_Small_USResistor_SMD:R_0402_1005MetricR7
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U3
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_GCT_USB4085J1
1ZD25D40CNJGRUSON8:USON-8_1.5x1.5mm_P0.45mmU5

Similar boards

  • 4 layersAmperkatana RP2040-PCB, the printed circuit board in 3D

    Amperkatana RP2040-PCB

    SeebM/Amperkatana-RP2040-PCB

    An RP2040-based Ampersand replacement PCB with Katana stagger

    125 partsCERN-OHL-P-2.0
  • 4 layers227.1 × 75.5 mmKoneko40Stagger, the printed circuit board in 3D

    Koneko40Stagger

    LordsBoards/Koneko40Stagger

    stagger_pcb

    134 parts3
  • 2 layers290.1 × 130 mmPro V2, the printed circuit board in 3D

    Pro V2

    kata0510/Lily58

    6×4+4keys column-staggered split keyboard.

    312 parts2.3k
  • 4 layers299 × 127 mmLaunch, the printed circuit board in 3D

    Launch

    system76/launch

    System76 Launch Configurable Keyboard

    385 parts1.4kGPL-3.0
  • 2 layers42 × 67 mmLalboard, the printed circuit board in 3D

    Lalboard

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    65 parts993
  • 2 layers120 × 60 mmOverglade Badges, the printed circuit board in 3D

    Overglade Badges

    KaiPereira/Overglade-Badges

    NFC hackathon badges for the Overglade game jam in Singapore!

    69 parts126
  • 2 layers307.7 × 89.2 mmChonky, the printed circuit board in 3D

    Chonky

    weteor/ChonkyKong

    60 key ortho keyboard with numpad and makro rows

    161 parts62CERN-OHL-P-2.0
  • 2 layers352.5 × 120 mmPyKey87, the printed circuit board in 3D

    PyKey87

    jpconstantineau/PyKey60

    The PyKey60 is a custom programmable mechanical keyboard with a standard ANSI 60% keyboard layout compatible with any cases made for the GH60. The PyKey60 uses mechanical switches (Cherry MX type).

    310 parts57

Questions

What parts does the Ohmbedded RP2040-PCB Template use?

43 parts, built around the RP2040, ZD25D40CNJGR and USBLC6-2SC6. 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 Ohmbedded RP2040-PCB Template KiCad files?

From the hlord2000/Ohmbedded-RP2040-PCB-Template repository on GitHub, at the commit this page was made from: the board is PCB.kicad_pcb and its schematic PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ohmbedded RP2040-PCB Template design in my own project?

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