Skip to content
Board reference

Waveshare RP2040‑Zero

Tiny castellated RP2040 with USB-C

Waveshare RP2040-Zero

A tiny castellated RP2040 board with USB-C: 2 MB flash, 20 GPIO on the edge pads (GP0–15 and GP26–29), four analog inputs, a WS2812 RGB LED on GPIO16, and BOOT and RESET buttons.

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

CPU
2 × 133 MHz
Edge GPIO
20
Analog
4 (GP26–29)
Flash
2 MB

Every header pin at a glance

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

01Pinout

Every pin, live

Pads are labelled with their GPIO numbers, as on the board.

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
Full header tables (LEFT, RIGHT, BOTTOM)

LEFT · left side

No.PinSignalsStatus
15V5 V from USB, or a 5 V input when USB isn't used.
2GNDGround
33V33.3 V from the on-board regulator.
4GPIO29SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B, ADC3OK
5GPIO28SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, ADC2OK
6GPIO27SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, ADC1OK
7GPIO26SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, ADC0OK
8GPIO15SPI1 TX, UART0 RTS, I2C1 SCL, PWM7 BOK
9GPIO14SPI1 SCK, UART0 CTS, I2C1 SDA, PWM7 AOK
10GPIO9SPI1 CSn, UART1 RX, I2C0 SCL, PWM4 BOK

RIGHT · right side

No.PinSignalsStatus
1GPIO0SPI0 RX, UART0 TX, I2C0 SDA, PWM0 AOK
2GPIO1SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 BOK
3GPIO2SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 AOK
4GPIO3SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 BOK
5GPIO4SPI0 RX, UART1 TX, I2C0 SDA, PWM2 AOK
6GPIO5SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 BOK
7GPIO6SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 AOK
8GPIO7SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 BOK
9GPIO8SPI1 RX, UART1 TX, I2C0 SDA, PWM4 AOK
10GPIO13SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 BOK

BOTTOM · bottom side

No.PinSignalsStatus
1GPIO10SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 AOK
2GPIO11SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 BOK
3GPIO12SPI1 RX, UART0 TX, I2C0 SDA, PWM6 AOK

02Specs

Full specifications

Microcontroller

Chip
Raspberry Pi RP2040
Memory
264 KB SRAM, 2 MB flash

Board

USB
USB-C
RGB LED
WS2812 on GPIO16 (not on the edge)
Buttons
BOOT and RESET
Debug
No SWD pins broken out

Power

Logic level
3.3 V
Inputs
USB-C, or 5 V on the 5V pad

03Buses

Where each bus lives

I2C

Arduino (arduino-pico) Wire uses GP4/GP5; every GP pin has an I2C option.

SPI

Arduino SPI uses GP2 (SCK), GP3 (TX/MOSI), GP4 (RX/MISO), GP5 (CS).

UART

Arduino Serial1 is GP0 (TX) / GP1 (RX).

Analog

GP26–29, 12-bit.

04Power & start

Power it up and get connected

Power options

  • USB-C5 V in, programming and USB serial.
  • 5V pad5 V input when USB isn't connected.
  • 3V3 pad3.3 V output for sensors.
  1. 1

    Enter the bootloader

    Hold BOOT and tap RESET (or hold BOOT while plugging in). An RPI-RP2 drive appears.

  2. 2

    Drag a .uf2 onto it

    MicroPython, CircuitPython or an Arduino build.

  3. 3

    Light the RGB LED

    It's a WS2812 on GPIO16: use a NeoPixel library.

  4. 4

    No board on your desk?

    Open an RP2040-Zero circuit in the SolderHub Simulator below.

05Gotchas

Things that trip people up

01

No battery protection

Waveshare notes the board has no battery protection: don't over-charge or over-discharge a cell you wire to it.

02

No SWD debugging

The SWD pins aren't broken out, so program it over USB (BOOT + RESET).

03

GP10–12 sit on the bottom edge

Three pads along the end; the GPIOs that don't reach the edge are only on the underside pads.

04

It's a 3.3 V board

Level-shift 5 V signals.

06SolderHub Simulator

Wire up the Waveshare RP2040-Zero without the hardware

The simulator runs Waveshare RP2040-Zero 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 Waveshare RP2040-Zero projects yet — we're adding them soon

SolderHub Simulator

Waveshare RP2040-Zero 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 Waveshare RP2040-Zero