Skip to content
Board reference

Raspberry Pi Pico

The original RP2040 board

Raspberry Pi Pico · RP2040

The original Pico: an RP2040 (two Cortex-M0+ cores at up to 133 MHz) with 2 MB of flash, 26 GPIOs at 3.3 V, three analog inputs and a user LED on GP25, with no radio.

Tested in the SolderHub Simulator. Opens a ready-wired circuit that runs in your browser.

CPU
2 × 133 MHz
GPIO
26
SRAM / Flash
264 kB / 2 MB
Analog
3 (GP26–28)

Every header pin at a glance

  • 26 safe I/O
  • 0 use with care
  • 0 avoid
  • 0 not available
  • 14 power, ground & other

01Pinout

Every pin, live

Pins 1–20 down the left, 21–40 up the right, numbered as on the board. Every GP pin has SPI, UART, I2C and PWM options.

40 of 40 pins match

GP0GP1GNDGP2GP3GP4GP5GNDGP6GP7GP8GP9GNDGP10GP11GP12GP13GNDGP14GP15VBUSVSYSGND3V3_EN3V3(OUT)ADC_VREFGP28AGNDGP27GP26RUNGP22GNDGP21GP20GP19GP18GNDGP17GP16

Hover or tap any pin on the board

PINS 1–20 header · pin 1

GP0

GP0

Safe to use

Nothing else on the board depends on this pin. A good first choice for sensors, LEDs and buttons.

Can be used as

  • SPI (direct)
  • UART
  • I2C
  • PWM out

Signals on this pad

  • GPIO0
  • SPI0 RX
  • UART0 TX
  • I2C0 SDA
  • PWM0 A
Full header tables (PINS 1–20, PINS 21–40)

PINS 1–20 · left side

No.PinSignalsStatus
1GP0SPI0 RX, UART0 TX, I2C0 SDA, PWM0 AOK
2GP1SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 BOK
3GNDGround
4GP2SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 AOK
5GP3SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 BOK
6GP4SPI0 RX, UART1 TX, I2C0 SDA, PWM2 AOK
7GP5SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 BOK
8GNDGround
9GP6SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 AOK
10GP7SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 BOK
11GP8SPI1 RX, UART1 TX, I2C0 SDA, PWM4 AOK
12GP9SPI1 CSn, UART1 RX, I2C0 SCL, PWM4 BOK
13GNDGround
14GP10SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 AOK
15GP11SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 BOK
16GP12SPI1 RX, UART0 TX, I2C0 SDA, PWM6 AOK
17GP13SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 BOK
18GNDGround
19GP14SPI1 SCK, UART0 CTS, I2C1 SDA, PWM7 AOK
20GP15SPI1 TX, UART0 RTS, I2C1 SCL, PWM7 BOK

PINS 21–40 · right side

No.PinSignalsStatus
21GP16SPI0 RX, UART0 TX, I2C0 SDA, PWM0 AOK
22GP17SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 BOK
23GNDGround
24GP18SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 AOK
25GP19SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 BOK
26GP20SPI0 RX, UART1 TX, I2C0 SDA, PWM2 AOK
27GP21SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 BOK
28GNDGround
29GP22SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 AOK
30RUNRP2040 enable, pulled up internally. Short to GND to reset.
31GP26SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, ADC0OK
32GP27SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, ADC1OK
33AGNDGround reference for the ADC (GP26–28).
34GP28SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, ADC2OK
35ADC_VREFADC reference, filtered from 3.3 V. Feed an external reference here for better accuracy.
363V3(OUT)3.3 V from the on-board SMPS. Keep the load under 300 mA.
373V3_ENSMPS enable, pulled high. Short to GND to switch off 3.3 V and the RP2040.
38GNDGround
39VSYSMain system input, 1.8 to 5.5 V, into the buck-boost SMPS.
40VBUSMicro-USB 5 V (0 V when USB isn't connected).

02Specs

Full specifications

Microcontroller

Chip
Raspberry Pi RP2040Dual Arm Cortex-M0+, up to 133 MHz.
SRAM
264 kB
Flash
2 MB (on board)
PIO
8 state machines

Power

Logic level
3.3 V
VSYS input
1.8 to 5.5 VOn-board buck-boost SMPS makes the 3.3 V.
3V3 output
Keep under 300 mA

Board

USB
Micro-USB
User LED
GP25 (not on the header)
Debug
3-pad SWD header (SWCLK, GND, SWDIO)

03Buses

Where each bus lives

I2C

I2C0 and I2C1, each on several pin pairs. Arduino (arduino-pico) Wire uses GP4/GP5; every GP pin has an I2C option.

SPI

SPI0 on GP0–7 and GP16–22, SPI1 on GP8–15 and GP26–28. Arduino SPI uses GP16 (RX), GP17 (CS), GP18 (SCK), GP19 (TX).

UART

UART0 and UART1. Arduino Serial1 is GP0 (TX) / GP1 (RX); Serial over USB is separate.

PWM

8 slices × 2 channels; every GP pin can output PWM.

ADC

ADC0–2 on GP26–28, 12-bit. ADC3 (GPIO29) measures VSYS/3 on the board.

04Power & start

Power it up and get connected

Power options

  • Micro-USB5 V on VBUS; also BOOTSEL drag-and-drop programming and USB serial.
  • VSYS pin1.8 to 5.5 V, e.g. a battery pack. The buck-boost SMPS keeps 3.3 V steady.
  • 3V3(OUT)Powers sensors and modules; keep the total under 300 mA.
  • 3V3_ENShort to ground to switch the whole board off.
  1. 1

    Hold BOOTSEL and plug in

    The Pico appears as a USB drive called RPI-RP2.

  2. 2

    Drag a .uf2 onto the drive

    Copying a .uf2 (MicroPython, CircuitPython or your own build) flashes it and restarts the board.

  3. 3

    Blink the LED

    from machine import Pin; Pin(25, Pin.OUT).toggle()

    In MicroPython the on-board LED is GP25 (also Pin("LED")).

  4. 4

    No board on your desk?

    Open a Pico circuit in the SolderHub Simulator below.

05Gotchas

Things that trip people up

01

GPIO23, 24, 25 and 29 aren't on the header

The board uses them for the SMPS mode, VBUS sensing, the LED and VSYS/3. Plan with GP0–22 and GP26–28.

02

Only three analog pins

GP26, GP27 and GP28. Use AGND as their ground for cleaner readings.

03

It's a 3.3 V board

Don't feed 5 V signals into GP pins; use a level shifter or divider.

04

Mind the 3V3 budget

Keep the load on 3V3(OUT) under 300 mA.

06SolderHub Simulator

Wire up the Raspberry Pi Pico without the hardware

The simulator runs Raspberry Pi Pico sketches in your browser. Start from the tested board circuit, then change the wiring or the code.

Board Basics

Introduction, pinout, and protocols — all in one guide.

Board basics guide coming soon

Sensor Modules & Library

Wiring sensors and modules, plus the library you need to talk to them.

Sensor Integration

Coming soon

Library & Setup

Coming soon

Projects

No Raspberry Pi Pico projects yet — we're adding them soon

SolderHub Simulator

Raspberry Pi Pico circuits you can run in the browser

Ready-wired circuits with working code. Open one, press run, then change the wiring or the sketch.

Tested on Raspberry Pi Pico

More From This Board

1

More Raspberry Pi Pico guides worth reading.