BoardRaspberry Pi

Raspberry Pi Pico

Raspberry Pi Pico board record: RP2040 with 2 MB flash, no module layer, complete 40-pin J1/J2 header mapping, internal-function GPIOs and every published field with its fixed official source.

Specifications

Specifications
Flash2 MB
VSYS input range1.8–5.5 V

Assembly & compatibility

Revisions

Order codes

SKUFlashPSRAMSource
Pico H——

Pinout

Raspberry Pi PicoJ1 (left header, physical pins 1-20)GP0GP1GNDGP2GP3GP4GP5GNDGP6GP7GP8GP9GNDGP10GP11GP12GP13GNDGP14GP15J2 (right header, physical pins 21-40)VBUSVSYSGND3V3_EN3V3ADC_VREFGP28AGNDGP27GP26RUNGP22GNDGP21GP20GP19GP18GNDGP17GP16

power · ground · GPIO / signal · onboard LED

J1 (left header, physical pins 1-20) (20 pins)

Contact names and functions follow the official Pico pinout figure (Raspberry Pi documentation repository, same board revision as the datasheet) cross-checked against the datasheet text: the seven non-GPIO header positions named there (VBUS, VSYS, 3V3_EN, 3V3, ADC_VREF, AGND, RUN) match this table. Type letters are an editorial summary (I/O = 3.3 V GPIO, G = ground, P = power); the datasheet itself does not publish a typed pin table. · Source: Raspberry Pi Pico Datasheet (RP-008307-DS-2, Release 21) · RP-008307-DS-2-pico-datasheet.pdf#section-2-1-raspberry-pi-pico-pinout

No.NameTypeGPIOFunction
1GP0I/O0GPIO0 (UART0 TX per SDK board header)
2GP1I/O1GPIO1 (UART0 RX per SDK board header)
3GNDGGround
4GP2I/O2GPIO2
5GP3I/O3GPIO3
6GP4I/O4GPIO4 (I2C0 SDA per SDK board header)
7GP5I/O5GPIO5 (I2C0 SCL per SDK board header)
8GNDGGround
9GP6I/O6GPIO6
10GP7I/O7GPIO7
11GP8I/O8GPIO8
12GP9I/O9GPIO9
13GNDGGround
14GP10I/O10GPIO10
15GP11I/O11GPIO11
16GP12I/O12GPIO12
17GP13I/O13GPIO13
18GNDGGround
19GP14I/O14GPIO14
20GP15I/O15GPIO15

J2 (right header, physical pins 21-40) (20 pins)

Same provenance as J1. The ADC-capable pins GP26-28 have an internal reverse diode to the 3V3 rail: the input voltage must not exceed 3V3 plus about 300 mV, and driving them while the board is unpowered leaks current into the 3V3 rail (datasheet section 5.2). · Source: Raspberry Pi Pico Datasheet (RP-008307-DS-2, Release 21) · RP-008307-DS-2-pico-datasheet.pdf#section-2-1-raspberry-pi-pico-pinout

No.NameTypeGPIOFunction
21GP16I/O16GPIO16 (SPI0 RX / MISO per SDK board header)
22GP17I/O17GPIO17 (SPI0 CSn per SDK board header)
23GNDGGround
24GP18I/O18GPIO18 (SPI0 SCK per SDK board header)
25GP19I/O19GPIO19 (SPI0 TX / MOSI per SDK board header)
26GP20I/O20GPIO20
27GP21I/O21GPIO21
28GNDGGround
29GP22I/O22GPIO22
30RUNIRP2040 enable; internal ~50 kOhm pull-up to 3.3 V, short low to reset
31GP26I/O26GPIO26 / ADC0
32GP27I/O27GPIO27 / ADC1
33AGNDGAnalog ground reference for GPIO26-29 (separate analog ground plane)
34GP28I/O28GPIO28 / ADC2
35ADC_VREFPADC power supply/reference, 3.3 V filtered on-board; can be driven by an external reference
363V3P3.3 V output from on-board SMPS; keep external load below 300 mA
373V3_ENISMPS enable, pulled up to VSYS via 100 kOhm; short low to disable 3.3 V
38GNDGGround
39VSYSPMain system input voltage, 1.8 V to 5.5 V
40VBUSPMicro-USB input voltage, nominally 5 V (0 V when USB unpowered)

The Raspberry Pi Pico is an RP2040 microcontroller board with 2 MB of on-board flash, a micro-USB B port for power, data and drag-and-drop flashing, and a 40-pin 2.54 mm castellated/through-hole DIP footprint (51 x 21 mm) usable on a breadboard or as a surface-mount module. This page renders the MCUID data record: the complete J1/J2 header mapping, the GPIOs consumed by internal board functions, and every published field tied to a fixed official source.

Start developing

Common questions this site answers

Also known as: pico 1, raspberry pi pico, rpi pico

No module layer

Unlike Espressif evaluation boards, the Pico has no module layer: the RP2040 chip, flash (Winbond W25Q16JV) and power circuitry are soldered directly on the board. The compatible-modules list below is intentionally empty — we do not invent a module record for a board that has none.

GPIOs used by internal board functions

The datasheet's pinout section lists four GPIOs that the board design itself consumes:

Unlike GP0–GP22 and GP26–GP28, these four GPIOs are not brought out on the J1/J2 header — the board routes them to the LED, the SMPS, VBUS and the VSYS divider, and the 40-pin contact table reflects exactly that. The claim table pins each one to its datasheet wording.

Flashing: BOOTSEL and UF2

Hold BOOTSEL while powering the board (e.g. while plugging in USB) and it enumerates as a USB mass-storage device; drag a .uf2 file onto it to reprogram the flash. The USB boot code lives in on-chip ROM and cannot be accidentally overwritten. The 3-pin SWD pads at the bottom edge (SWDIO, GND, SWCLK — no power pin) offer the debug alternative.

ADC pins: the reverse-diode limit

The ADC-capable pins GP26-GP28 (and GP29) have an internal reverse diode to the 3V3 rail: never exceed 3V3 + ~300 mV on them, and do not drive them while the board is unpowered — current leaks through the diode into the 3V3 rail. Normal digital GPIOs 0-25 do not have this diode — a difference in input structure, not a 5 V tolerance claim; per-pin absolute maximums remain a datasheet matter.

Default UART/I2C/SPI pins

The pico-sdk board header (tag 2.3.1) defines the software defaults — a pin-function convention, not a hardware restriction:

FunctionPinPhysical position
UART0 TX / RXGP0 / GP1J1 pin 1 / 2
I2C0 SDA / SCLGP4 / GP5J1 pin 6 / 7
SPI0 RX (MISO)GP16J2 pin 21
SPI0 CSnGP17J2 pin 22
SPI0 SCKGP18J2 pin 24
SPI0 TX (MOSI)GP19J2 pin 25

Pico H — the pre-soldered variant

The Raspberry Pi Pico H is this board with header pins pre-soldered. Per the official documentation, Pico and Pico H offer identical hardware capabilities — RP2040, 2 MB flash, the same 40-pin layout — with exactly two physical differences:

  1. Pre-soldered headers instead of castellated holes you solder yourself (the H suffix; the second generation spells this "with headers").
  2. Debug connector style: the H uses a small keyed three-pin connector (JST-style) at the bottom edge where the plain Pico has three castellated through-hole pads — same three signals (SWDIO/GND/SWCLK), no power pin. The keyed connector fits the Raspberry Pi Debug Probe without modification.

Everything on this page — pinout, pin functions, strapping notes, the ADC reverse-diode limit — applies to the Pico H unchanged. See the official variant table and the debug-connector table (commit 21d772e7).

The Raspberry Pi Pico 2 keeps the same pinout and board layout with an RP2350: officially stated hardware and software compatibility, double the flash and SRAM.