Raspberry Pi Pico Pinout

The Raspberry Pi Pico is a low-cost microcontroller board released in 2020, built around Raspberry Pi’s RP2040 chip. It features a dual-core Arm Cortex-M0+ processor running up to 133 MHz, 264 KB of SRAM, 2 MB of onboard flash, and flexible I/O support including GPIO, ADC, PWM, UART, SPI, I2C, USB, and PIO for custom digital interfaces. Its wide input voltage range and breadboard-friendly design make it suitable for embedded projects, prototyping, robotics, sensors, and educational electronics.

Manufacturer
Raspberry Pi
Package
Dev Board
Raspberry Pi Pico pinout diagram

Pin reference

PinNameFunctionsDescription
1GP0GPIO, PIO, PWM, SPI0_RX, I2C0_SDA, UART0_TX<p>RP2040 GPIO0 pin with PIO, PWM, and alternate SPI0_RX, I2C0_SDA, and UART0_TX functions.</p>
2GP1GPIO, PIO, PWM, SPI0_CSn, I2C0_SCL, UART0_RX<p>RP2040 GPIO1 pin with PIO, PWM, and alternate SPI0_CSn, I2C0_SCL, and UART0_RX functions.</p>
3GNDGround<p>Ground reference pin.</p>
4GP2GPIO, PIO, PWM, SPI0_SCK, I2C1_SDA, UART0_CTS<p>RP2040 GPIO2 pin with PIO, PWM, and alternate SPI0_SCK, I2C1_SDA, and UART0_CTS functions.</p>
5GP3GPIO, PIO, PWM, SPI0_TX, I2C1_SCL, UART0_RTS<p>RP2040 GPIO3 pin with PIO, PWM, and alternate SPI0_TX, I2C1_SCL, and UART0_RTS functions.</p>
6GP4GPIO, PIO, PWM, SPI0_RX, I2C0_SDA, UART1_TX<p>RP2040 GPIO4 pin with PIO, PWM, and alternate SPI0_RX, I2C0_SDA, and UART1_TX functions.</p>
7GP5GPIO, PIO, PWM, SPI0_CSn, I2C0_SCL, UART1_RX<p>RP2040 GPIO5 pin with PIO, PWM, and alternate SPI0_CSn, I2C0_SCL, and UART1_RX functions.</p>
8GNDGround<p>Ground reference pin.</p>
9GP6GPIO, PIO, PWM, SPI0_SCK, I2C1_SDA, UART1_CTS<p>RP2040 GPIO6 pin with PIO, PWM, and alternate SPI0_SCK, I2C1_SDA, and UART1_CTS functions.</p>
10GP7GPIO, PIO, PWM, SPI0_TX, I2C1_SCL, UART1_RTS<p>RP2040 GPIO7 pin with PIO, PWM, and alternate SPI0_TX, I2C1_SCL, and UART1_RTS functions.</p>
11GP8GPIO, PIO, PWM, SPI1_RX, I2C0_SDA, UART1_TX<p>RP2040 GPIO8 pin with PIO, PWM, and alternate SPI1_RX, I2C0_SDA, and UART1_TX functions.</p>
12GP9GPIO, PIO, PWM, SPI1_CSn, I2C0_SCL, UART1_RX<p>RP2040 GPIO9 pin with PIO, PWM, and alternate SPI1_CSn, I2C0_SCL, and UART1_RX functions.</p>
13GNDGround<p>Ground reference pin.</p>
14GP10GPIO, PIO, PWM, SPI1_SCK, I2C1_SDA, UART1_CTS<p>RP2040 GPIO10 pin with PIO, PWM, and alternate SPI1_SCK, I2C1_SDA, and UART1_CTS functions.</p>
15GP11GPIO, PIO, PWM, SPI1_TX, I2C1_SCL, UART1_RTS<p>RP2040 GPIO11 pin with PIO, PWM, and alternate SPI1_TX, I2C1_SCL, and UART1_RTS functions.</p>
16GP12GPIO, PIO, PWM, SPI1_RX, I2C0_SDA, UART0_TX<p>RP2040 GPIO12 pin with PIO, PWM, and alternate SPI1_RX, I2C0_SDA, and UART0_TX functions.</p>
17GP13GPIO, PIO, PWM, SPI1_CSn, I2C0_SCL, UART0_RX<p>RP2040 GPIO13 pin with PIO, PWM, and alternate SPI1_CSn, I2C0_SCL, and UART0_RX functions.</p>
18GNDGround<p>Ground reference pin.</p>
19GP14GPIO, PIO, PWM, SPI1_SCK, I2C1_SDA, UART0_CTS<p>RP2040 GPIO14 pin with PIO, PWM, and alternate SPI1_SCK, I2C1_SDA, and UART0_CTS functions.</p>
20GP15GPIO, PIO, PWM, SPI1_TX, I2C1_SCL, UART0_RTS<p>RP2040 GPIO15 pin with PIO, PWM, and alternate SPI1_TX, I2C1_SCL, and UART0_RTS functions.</p>
21GP16GPIO, PIO, PWM, SPI0_RX, I2C0_SDA, UART0_TX<p>RP2040 GPIO16 pin with PIO, PWM, and alternate SPI0_RX, I2C0_SDA, and UART0_TX functions.</p>
22GP17GPIO, PIO, PWM, SPI0_CSn, I2C0_SCL, UART0_RX<p>RP2040 GPIO17 pin with PIO, PWM, and alternate SPI0_CSn, I2C0_SCL, and UART0_RX functions.</p>
23GNDGround<p>Ground reference pin.</p>
24GP18GPIO, PIO, PWM, SPI0_SCK, I2C1_SDA, UART0_CTS<p>RP2040 GPIO18 pin with PIO, PWM, and alternate SPI0_SCK, I2C1_SDA, and UART0_CTS functions.</p>
25GP19GPIO, PIO, PWM, SPI0_TX, I2C1_SCL, UART0_RTS<p>RP2040 GPIO19 pin with PIO, PWM, and alternate SPI0_TX, I2C1_SCL, and UART0_RTS functions.</p>
26GP20GPIO, PIO, PWM, SPI0_RX, I2C0_SDA, UART1_TX<p>RP2040 GPIO20 pin with PIO, PWM, and alternate SPI0_RX, I2C0_SDA, and UART1_TX functions.</p>
27GP21GPIO, PIO, PWM, SPI0_CSn, I2C0_SCL, UART1_RX<p>RP2040 GPIO21 pin with PIO, PWM, and alternate SPI0_CSn, I2C0_SCL, and UART1_RX functions.</p>
28GNDGround<p>Ground reference pin.</p>
29GP22GPIO, PIO, PWM, SPI0_SCK, I2C1_SDA, UART1_CTS<p>RP2040 GPIO22 pin with PIO, PWM, and alternate SPI0_SCK, I2C1_SDA, and UART1_CTS functions.</p>
30RUNReset / Run Control<p>RP2040 run/reset control pin. Pull low to reset or hold the chip in reset; leave high for normal operation.</p>
31GP26GPIO, PIO, PWM, SPI1_SCK, I2C1_SDA, UART1_CTS, ADC0<p>RP2040 GPIO26 pin with PIO, PWM, and alternate SPI1_SCK, I2C1_SDA, and UART1_CTS functions. Also supports ADC0 analog input; keep analog input within the ADC reference range.</p>
32GP27GPIO, PIO, PWM, SPI1_TX, I2C1_SCL, UART1_RTS, ADC1<p>RP2040 GPIO27 pin with PIO, PWM, and alternate SPI1_TX, I2C1_SCL, and UART1_RTS functions. Also supports ADC1 analog input; keep analog input within the ADC reference range.</p>
33AGNDAnalog Ground<p>Analog ground reference for the RP2040 ADC inputs. Connect to ground, preferably as the quiet analog reference return for ADC circuits.</p>
34GP28GPIO, PIO, PWM, SPI1_RX, I2C0_SDA, UART0_TX, ADC2<p>RP2040 GPIO28 pin with PIO, PWM, and alternate SPI1_RX, I2C0_SDA, and UART0_TX functions. Also supports ADC2 analog input; keep analog input within the ADC reference range.</p>
35ADC_VREFADC Reference Voltage<p>ADC reference input. This sets the full-scale reference for ADC0, ADC1, and ADC2 on the exposed analog pins.</p>
363V3_OUT3.3V Output<p>Regulated 3.3 V output from the Pico onboard regulator. Available current depends on input supply and total board load.</p>
373V3_EN3.3V Regulator Enable<p>Enable pin for the onboard 3.3 V regulator. Pull low to disable the regulator and 3.3 V rail.</p>
38GNDGround<p>Ground reference pin.</p>
39VSYSSystem Power Input<p>Main system supply input for the Pico power supply circuit. Can be used to power the board from an external supply within the supported VSYS range.</p>
40VBUSUSB 5V Power<p>USB 5 V bus voltage. Present when the Pico is powered from USB and can be used for USB-power detection or as a 5 V source within USB/current limits.</p>
41SWDIOSerial Wire Debug Data<p>Serial Wire Debug data pad for programming and debugging the RP2040.</p>
42GNDGround<p>Ground reference pin.</p>
43SWCLKSerial Wire Debug Clock<p>Serial Wire Debug clock pad for programming and debugging the RP2040.</p>

Report an error on this page