Skip to content

Guide

RP2040-Zero Pinout: GPIO Pads, Analog, RGB LED and Power

A complete Waveshare RP2040-Zero pinout: which GPIOs reach the edge pads, the four analog inputs, the WS2812 on GPIO16, and how to power and program it.

RP2040-Zero Pinout: GPIO Pads, Analog, RGB LED and Power

Waveshare's RP2040-Zero is a tiny castellated RP2040 board with a USB-C port, 2 MB of flash, BOOT and RESET buttons and a WS2812 RGB LED. The RP2040 itself sits on the back; the front carries the buttons, the LED and the pads.

Quick answer: the pads are labelled with their GPIO numbers. 20 GPIOs reach the edge pads: GP0–GP15 and GP26–GP29. GP26–GP29 are the four analog inputs. The RGB LED is a WS2812 on GPIO16 (not on the edge). Logic is 3.3 V, and there are no SWD pins.

Waveshare RP2040-Zero pinout diagram
5VGND3V3GPIO29GPIO28GPIO27GPIO26GPIO15GPIO14GPIO9GPIO0GPIO1GPIO2GPIO3GPIO4GPIO5GPIO6GPIO7GPIO8GPIO13

Highlighted on the SolderHub Simulator Waveshare RP2040-Zero. Explore every pin on the Waveshare RP2040-Zero board page.

Every edge pad on the SolderHub Simulator RP2040-Zero, labelled with its GPIO number. GP10–12 are the three pads along the bottom edge.

What's Actually on the Board

On the front: the USB-C socket, the BOOT and RESET buttons, and the WS2812 RGB LED on GPIO16. The RP2040 and its 2 MB flash are on the back. Waveshare brings 20 GPIOs to the edge pads; the rest are only on small pads underneath, for soldering.

What’s on an RP2040-Zero: USB-C, BOOT and RESET buttons and the WS2812 RGB LED on GPIO16, labelled on the SolderHub Simulator RP2040-Zero
Interactive RP2040-Zero pinout: tap any pad

23 of 23 pins match

5VGND3V3GPIO29GPIO28GPIO27GPIO26GPIO15GPIO14GPIO9GPIO0GPIO1GPIO2GPIO3GPIO4GPIO5GPIO6GPIO7GPIO8GPIO13

Hover or tap any pin on the board

LEFT header · pin 4

29

GPIO29

Safe to use

12-bit analog input ADC3 (0–3.3 V).

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
  • Analog in

Signals on this pad

  • GPIO29
  • SPI1 CSn
  • UART0 RX
  • I2C0 SCL
  • PWM6 B
  • ADC3
Tap or hover any pin for its functions and warnings.

Pad Map

EdgePads (top to bottom)
Left5V, GND, 3V3, GP29, GP28, GP27, GP26, GP15, GP14, GP9 (corner)
RightGP0–GP8, GP13 (corner)
BottomGP10, GP11, GP12

Every one of those GPIOs has I2C, SPI, UART and PWM options on the RP2040, so the "default" pins come from your software. With the arduino-pico core: Serial1 on GP0 (TX) / GP1 (RX), Wire on GP4 (SDA) / GP5 (SCL), SPI on GP2 (SCK), GP3 (MOSI), GP4 (MISO), GP5 (CS).

Analog inputs GP26–29
5VGND3V3GPIO29GPIO28GPIO27GPIO26GPIO15GPIO14GPIO9GPIO0GPIO1GPIO2GPIO3GPIO4GPIO5GPIO6GPIO7GPIO8GPIO13

Highlighted on the SolderHub Simulator Waveshare RP2040-Zero. Explore every pin on the Waveshare RP2040-Zero board page.

Analog Inputs

GP26, GP27, GP28 and GP29 are the RP2040's four ADC channels (12-bit, 0–3.3 V). They sit together on the left edge, which makes the RP2040-Zero a neat little analog front end.

Arduino Serial1: GP0 (TX), GP1 (RX)
5VGND3V3GPIO29GPIO28GPIO27GPIO26GPIO15GPIO14GPIO9GPIO0GPIO1GPIO2GPIO3GPIO4GPIO5GPIO6GPIO7GPIO8GPIO13

Highlighted on the SolderHub Simulator Waveshare RP2040-Zero. Explore every pin on the Waveshare RP2040-Zero board page.

Arduino SPI: GP2 SCK, GP3 MOSI, GP4 MISO, GP5 CS
5VGND3V3GPIO29GPIO28GPIO27GPIO26GPIO15GPIO14GPIO9GPIO0GPIO1GPIO2GPIO3GPIO4GPIO5GPIO6GPIO7GPIO8GPIO13

Highlighted on the SolderHub Simulator Waveshare RP2040-Zero. Explore every pin on the Waveshare RP2040-Zero board page.

The RGB LED (GPIO16)

It's a WS2812 ("NeoPixel"), so a plain digitalWrite won't light it: use a NeoPixel library.

main.py
import machine, neopixel
np = neopixel.NeoPixel(machine.Pin(16), 1)
np[0] = (0, 32, 0)   # dim green
np.write()

Power

USB-C supplies 5 V; when USB isn't connected you can feed 5 V into the 5V pad instead. The 3V3 pad is a 3.3 V output for sensors. Waveshare points out the board has no battery protection, so if you run it from a cell, protect that cell yourself.

Power pads: 5V, GND, 3V3
5VGND3V3GPIO29GPIO28GPIO27GPIO26GPIO15GPIO14GPIO9GPIO0GPIO1GPIO2GPIO3GPIO4GPIO5GPIO6GPIO7GPIO8GPIO13

Highlighted on the SolderHub Simulator Waveshare RP2040-Zero. Explore every pin on the Waveshare RP2040-Zero board page.

RP2040-Zero won’t take a program?
You want to upload new code
Q1 Is there no RPI-RP2 drive?
yes → Hold BOOT, tap RESET, then release BOOT (or hold BOOT while plugging in).
no
Q2 Are you trying to debug over SWD?
yes → The RP2040-Zero doesn't break out SWD; program it over USB instead.
no
Check the USB-C cable carries data.
From Waveshare’s RP2040-Zero wiki.

Try your pin plan on a virtual RP2040-Zero. The SolderHub Simulator has the same RP2040-Zero you see in these figures, so you can check the wiring before you touch real hardware.

FAQ

Which pin is the RGB LED? GPIO16, a WS2812.

How many GPIOs reach the edge? 20: GP0–15 and GP26–29.

Which pins are analog? GP26–29.

Can I debug it with a Pico probe? Not easily: there are no SWD pins.

Continue learning

Related articles

All articles

Signal In

Built from what makers search for

The lookups piling up in SolderHub's search bar every day shape what we publish next — new component pages, board guides, and firmware notes, sent out as they go live.

By subscribing you agree to our Privacy Policy. Unsubscribe anytime.