Skip to the content
4 layers40 × 28.4 mmRp2040, the printed circuit board in 3D

Mcu Design With Rasperry Pi's RP2040

Size
40 × 28.4 mm
Copper layers
4
Thickness
1.6 mm
Parts
34
Nets
73
Pads
181
Tracks, vias
468, 73
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
27 Oct 2026
Updated
27 Oct 2026

Overview

Rp2040 is an open-source printed circuit board by bauzel, from the bauzel/rp2040-mcu-design repository on GitHub, published under the CC0-1.0 licence. It is a 4-layer board of 40 × 28.4 mm with 34 parts on 73 nets, routed with 468 tracks and 73 vias.

It is built around the RP2040 and W25Q32JVSSIQ. Its parts include 18 capacitors, 6 resistors, 4 connectors, 3 ICs and 2 switches. It belongs with the RP2040 boards of this library.

Main components

2

README

README.md

RP2040 Minimal Development Board

English

A minimal RP2040 board with a USB-C connector, designed in KiCad on a 4-layer PCB. This is my first SMD PCB design. I built it by following the "RP2040 Minimal Circuit Design" guide on schemalyzer.com.

Status

The board has not been manufactured or tested yet.

The design currently passes KiCad's ERC (schematic) and DRC (PCB) checks only. Nothing has been verified on real hardware, so please run your own checks before ordering this design.

Known DRC exceptions

A few DRC items are excluded on purpose:

  • USB-C connector (4 items): The distance between the connector's two locating holes (NPTH) and the neighboring GND pads is 0.1944 mm, while my rule is 0.25 mm. This value comes from the connector footprint's own geometry. It is close to the NPTH clearance a PCB fab states, so it should be checked in the fab's DFM review before ordering.
  • Board edge (1 item): A pad on the front copper layer (F.Cu) is 0.4 mm from the board edge, while my rule is 0.5 mm. This is above the fab's minimum for outer layers.

Features

  • MCU: RP2040 (QFN-56)
  • Flash: Winbond W25Q32JVSS (4 MB, QSPI)
  • Clock: 12 MHz crystal with two 33 pF load capacitors
  • Power: USB-C VBUS (5 V) feeding an XC6206-series 3.3 V LDO. The LDO has a low current limit, so check its datasheet if you plan to power external loads.
  • USB: USB-C connector, 27 Ω series resistors on D+/D−, separate 5.1 kΩ resistors on CC1 and CC2
  • Buttons: BOOTSEL and RESET
  • Debug: 3-pin SWD header
  • PCB: 4 layers (F.Cu / In1.Cu GND plane / In2.Cu +3.3 V plane / B.Cu), 0603 passives

Programming

Hold the BOOTSEL button while plugging the board into USB (or hold it while pressing RESET). The board appears as a USB mass-storage device, and you can drag and drop a .uf2 file onto it. This flow has not been tried on a real board yet.

Broken-out pins

Only 11 of the RP2040's 30 GPIOs are routed to the headers. The remaining GPIOs are not connected and are left open for anyone who wants to extend the design (the corresponding header pins are unused).

Header pin numbers are the pad numbers on the PCB (pin 1 has a square pad).

Top header

Header pinGPIO
9GPIO6
10GPIO5
11GPIO4
12GPIO3
13GPIO2
14GPIO1
15GPIO0

Bottom header

Header pinGPIO
12GPIO20
13GPIO21
14GPIO25
15GPIO22

SWD (debug) header

PinSignal
1SWCLK
2GND
3SWD (SWDIO)

The pin order was chosen to match the Raspberry Pi Debug Probe cable. Please verify this against the probe's documentation before connecting it.

Notes and verification against the datasheet

I compared the design with the RP2040 datasheet and Raspberry Pi's "Hardware design with RP2040" document:

  • Power and decoupling: 100 nF on each IOVDD (6) and DVDD (2) pin, on USB_VDD and on ADC_AVDD, 1 µF on VREG_VIN and VREG_VOUT, TESTEN tied to GND and 27 Ω series resistors on USB_DP/USB_DM all follow the datasheet's requirements.
  • QSPI pin numbers: This project uses the numbers from the datasheet pin table (QSPI_SD3 = 51, SCLK = 52, SD0 = 53, SD2 = 54, SD1 = 55, SS = 56, GND pad = 57). Most QSPI pin numbers in the guide's flash table do not match the datasheet (it lists QSPI_SS as pin 57, for example), and some pin ranges in its GPIO table are off as well.
  • Crystal circuit (deviation from the reference): Raspberry Pi's reference design uses the Abracon ABM8-272-T3 (12 MHz, CL = 10 pF, ESR up to 50 Ω), two 15 pF load capacitors and a 1 kΩ series resistor on XOUT, and states that any deviation needs extensive testing. This board follows the guide instead: a 20 pF crystal with 2 × 33 pF load capacitors and no series resistor. The load capacitance math is consistent (33 pF / 2 + 3 pF stray ≈ 19.5 pF), but this is not the reference circuit and has not been tested.
  • Load capacitor values: The guide's text and BOM disagreed (33 pF vs. 27 pF). This project uses 33 pF for a 20 pF crystal.
  • QSPI_SS pull-up: There is no external pull-up on QSPI_SS. Raspberry Pi's reference design leaves it unpopulated for the W25Q flash, but it may matter if you use a different flash.

Possible improvements

  • Break out the remaining GPIOs to the headers
  • ESD protection on the USB lines and protection on VBUS
  • Test points and mounting holes
  • Match Raspberry Pi's reference crystal circuit (ABM8-272-T3, 2 × 15 pF, 1 kΩ series resistor on XOUT), or characterize the current one over temperature
  • A 3.3 V regulator with a higher current rating
  • A BOM and production files (Gerber, pick-and-place)

Tools

  • KiCad (schematic and PCB)

License

This work is dedicated to the public domain under CC0 1.0 Universal. You can copy, modify and use it for any purpose, including commercially, without asking for permission. See the LICENSE file.

This design is provided as is, without warranty of any kind. The author takes no responsibility for any damage or loss resulting from its use. Build and use it at your own risk.

Parts

34
QtyValueFootprintReferences
12100nfCapacitor_SMD:C_0603_1608MetricC7, C8, C12, C15, C16, C17, C18, C19, C20, C21, C22, C23
21uFCapacitor_SMD:C_0603_1608MetricC1, C2
21ufCapacitor_SMD:C_0603_1608MetricC4, C6
227 ΩResistor_SMD:R_0603_1608MetricR3, R4
233pfCapacitor_SMD:C_0603_1608MetricC3, C5
25.1kΩResistor_SMD:R_0603_1608MetricR1, R2
2Conn_01x15Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_VerticalJ2, J3
110kResistor_SMD:R_0603_1608MetricR6
112MHzCrystal:Crystal_SMD_5032-2Pin_5.0x3.2mmY1
11kResistor_SMD:R_0603_1608MetricR5
1BOOTSELButton_Switch_SMD:SW_SPST_B3U-1000PSW1
1Conn_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU1
1SW_PushButton_Switch_SMD:SW_SPST_B3U-1000PSW2
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ1
1W25Q32JVSSPackage_SO:SOIC-8_5.3x5.3mm_P1.27mmU2
1XC6206PxxxMRPackage_TO_SOT_SMD:SOT-23-3U3

Similar boards

  • 2 layers78 × 60 mmIce viz, the printed circuit board in 3D

    Ice viz

    muni-works/vcad

    BRep CAD kernel in Rust/WASM

    44 parts442Apache-2.0
  • 4 layers22.9 × 61 mmPico ice, the printed circuit board in 3D

    Pico ice

    tinyvision-ai-inc/pico-ice

    Raspberry Pi PICO board + Lattice iCE40 FPGA's

    109 parts203MIT
  • 4 layers59.8 × 41.1 mmSmartPowerBoard, the printed circuit board in 3D

    SmartPowerBoard

    murexrobotics/electrical

    Highly integrated electronics design and printed circuit boards (PCBs) for the MATE ROV Competition. Attempt the impossible.

    117 parts192MIT
  • 2 layers30 × 16 mmBlaustahl, the printed circuit board in 3D

    Blaustahl

    machdyne/blaustahl

    Blaustahl Storage Device

    38 parts134
  • 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 layers76.2 × 69.9 mmStartrckr pcb, the printed circuit board in 3D

    Startrckr pcb

    NikodemBartnik/StarTrckr

    Open source star tracker for deep sky astrophotography

    59 parts98
  • 4 layers65 × 100 mmAudcalc, the printed circuit board in 3D

    Audcalc

    jonbro/Audcalc

    pocket sized groovebox

    218 parts62MIT
  • 4 layers102.6 × 107.3 mmPro rev1, the printed circuit board in 3D

    Pro rev1

    TheRetroWeb/PicoPOST

    RPi Pico based POST (Power-On Self Test) Diagnostic Card

    136 parts58

Questions

How big is the Rp2040 PCB?

It measures 40 × 28.4 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Rp2040 use?

34 parts, built around the RP2040 and W25Q32JVSSIQ. 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 Rp2040 KiCad files?

From the bauzel/rp2040-mcu-design repository on GitHub, at the commit this page was made from: the board is rp2040mcu/rp2040.kicad_pcb and its schematic rp2040mcu/rp2040.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rp2040 design in my own project?

Its repository publishes it under the CC0-1.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).