Skip to main content

Board pinout

Raspberry Pi Pico Pinout

RP2040 dual-core with 26 GPIO and programmable PIO. Cheap and capable in MicroPython or C/C++. It runs at 3.3V logic with 26 usable GPIO pins. Every value below is verified against the pin map Banana Board uses to check real designs.

MCU
RP2040
Logic
3.3V
GPIO
26
PWM
26
Analog
3
Ground pins
8

Interfaces

PWM pins26 pins
Analog inputsGP26, GP27, GP28

Watch out for

3.3V logic: pins are not 5V tolerant, so level-shift or divide any 5V signal into an input.

Pins by capability

A quick map of which pins do what. Colours match the pin table below.

Power
RUNADC_VREF3V3(OUT)3V3_ENVSYSVBUS
Ground
GNDGNDGNDGNDGNDGNDGNDGND
PWM
GP0GP1GP2GP3GP4GP5GP6GP7GP8GP9GP10GP11GP12GP13GP14GP15GP16GP17GP18GP19GP20GP21GP22GP26GP27GP28
Analog / ADC
GP26GP27GP28

Starter circuits to learn with

Beginner projects for the Raspberry Pi Pico. The pins below come straight from its real pin map, so they are safe to wire as shown.

Blink an LED

GP0

Drive an LED (through a ~220Ω resistor) from GP0 and toggle it in loop(). The classic first sketch.

digitalWrite()

Fade an LED (PWM)

GP0

Use GP0 with analogWrite() to smoothly ramp an LED from off to full brightness.

analogWrite()

Read a potentiometer

GP26

Wire a potentiometer's wiper to GP26 and read its position with analogRead().

analogRead()

Read a button

GP1

Connect a push button between GP1 and GND, set the pin to INPUT_PULLUP, and skip the external resistor.

digitalRead() + INPUT_PULLUP

Try it without the hardware

Describe one of these circuits in the Studio and Banana Board wires it to these exact Raspberry Pi Pico pins, validates it, and lets you simulate before you build.

Build & simulate in the Studio

Full Raspberry Pi Pico pin map

PinGPIOCapabilitiesVoltageNotes
GP000txDigitalPWMI2CSPIUART0 TX (default Serial1 TX).
GP111rxDigitalPWMI2CSPIUART0 RX (default Serial1 RX).
GNDGND0V
GP222DigitalPWMI2CSPI
GP333DigitalPWMI2CSPI
GP444sdaDigitalPWMSPIDefault Wire SDA (I2C0).
GP555sclDigitalPWMSPIDefault Wire SCL (I2C0).
GNDGND0V
GP666DigitalPWMI2CSPI
GP777DigitalPWMI2CSPI
GP888DigitalPWMI2CSPI
GP999DigitalPWMI2CSPI
GNDGND0V
GP101010DigitalPWMI2CSPI
GP111111DigitalPWMI2CSPI
GP121212DigitalPWMI2CSPI
GP131313DigitalPWMI2CSPI
GNDGND0V
GP141414DigitalPWMI2CSPI
GP151515DigitalPWMI2CSPI
GP161616misoDigitalPWMI2CDefault SPI MISO (SPI0 RX).
GP171717csDigitalPWMI2CDefault SPI CS (SPI0 CSn).
GNDGND0V
GP181818sckDigitalPWMI2CDefault SPI SCK (SPI0 SCK).
GP191919mosiDigitalPWMI2CDefault SPI MOSI (SPI0 TX).
GP202020DigitalPWMI2CSPI
GP212121DigitalPWMI2CSPI
GNDGND0V
GP222222DigitalPWMI2CSPI
RUNPower3.3VRP2040 global reset / enable; pull low to reset the chip, leave floating for normal operation.
GP2626 A026DigitalPWMI2CSPIADCADC0ADC0 input. Also default Wire1 SDA (I2C1).
GP2727 A127DigitalPWMI2CSPIADCADC1ADC1 input. Also default Wire1 SCL (I2C1).
GNDGND0V
GP2828 A228DigitalPWMI2CSPIADCADC2ADC2 input.
ADC_VREFPower3.3VADC reference voltage (filtered 3V3); sets full-scale for the GP26/GP27/GP28 ADC inputs.
3V3(OUT)3V3 3V3_OUTPower3.3V3.3V output from the onboard SMPS regulator (a few hundred mA available for external circuitry).
3V3_EN3V3ENPower3.3VEnable for the onboard 3V3 regulator (pulled high by default); tie to GND to disable the 3V3 rail.
GNDGND0V
VSYSPower5VMain system input, 1.8-5.5V; feeds the onboard SMPS that generates 3V3 and can power the board from an external source.
VBUSPower5VUSB 5V bus voltage (present only when powered over the micro-USB connector).

40 of 40 pins shown. Data verified against the board pin map Banana Board uses to check every design.

AI PCB designer

Design a Raspberry Pi Pico PCB from a sentence

Describe your Raspberry Pi Pico project and Banana Board wires it to these exact pins, validates it, then places and routes a fab-ready 2-layer board.

Start vibe PCB designing

Frequently asked questions

Is the Raspberry Pi Pico 3.3V or 5V logic?

The Raspberry Pi Pico runs at 3.3V logic. Its GPIO pins are not 5V tolerant, so use a level shifter or divider when connecting 5V signals to an input.

How many GPIO pins does the Raspberry Pi Pico have?

The Raspberry Pi Pico exposes 26 usable GPIO pins, plus 6 power and 8 ground pins.

Which pins are PWM-capable on the Raspberry Pi Pico?

Most GPIO pins on the Raspberry Pi Pico can output PWM (26 pins in total).

How many analog (ADC) inputs does the Raspberry Pi Pico have?

The Raspberry Pi Pico has 3 ADC-capable pins: GP26, GP27, GP28.

Build it, do not just look it up

Describe your circuit in one sentence and Banana Board wires it to these exact pins, validates it, and lays out a fab-ready PCB.

Start building free