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
Hover or tap any pin on the board
LEFT header · pin 4
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. | Pin | Signals | Status |
|---|---|---|---|
| 1 | 5V | 5 V from USB, or a 5 V input when USB isn't used. | |
| 2 | GND | Ground | |
| 3 | 3V3 | 3.3 V from the on-board regulator. | |
| 4 | GPIO29 | SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B, ADC3 | OK |
| 5 | GPIO28 | SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, ADC2 | OK |
| 6 | GPIO27 | SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, ADC1 | OK |
| 7 | GPIO26 | SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, ADC0 | OK |
| 8 | GPIO15 | SPI1 TX, UART0 RTS, I2C1 SCL, PWM7 B | OK |
| 9 | GPIO14 | SPI1 SCK, UART0 CTS, I2C1 SDA, PWM7 A | OK |
| 10 | GPIO9 | SPI1 CSn, UART1 RX, I2C0 SCL, PWM4 B | OK |
RIGHT · right side
| No. | Pin | Signals | Status |
|---|---|---|---|
| 1 | GPIO0 | SPI0 RX, UART0 TX, I2C0 SDA, PWM0 A | OK |
| 2 | GPIO1 | SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 B | OK |
| 3 | GPIO2 | SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 A | OK |
| 4 | GPIO3 | SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 B | OK |
| 5 | GPIO4 | SPI0 RX, UART1 TX, I2C0 SDA, PWM2 A | OK |
| 6 | GPIO5 | SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 B | OK |
| 7 | GPIO6 | SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 A | OK |
| 8 | GPIO7 | SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 B | OK |
| 9 | GPIO8 | SPI1 RX, UART1 TX, I2C0 SDA, PWM4 A | OK |
| 10 | GPIO13 | SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B | OK |
BOTTOM · bottom side
| No. | Pin | Signals | Status |
|---|---|---|---|
| 1 | GPIO10 | SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A | OK |
| 2 | GPIO11 | SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B | OK |
| 3 | GPIO12 | SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A | OK |
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
Enter the bootloader
Hold BOOT and tap RESET (or hold BOOT while plugging in). An RPI-RP2 drive appears.
- 2
Drag a .uf2 onto it
MicroPython, CircuitPython or an Arduino build.
- 3
Light the RGB LED
It's a WS2812 on GPIO16: use a NeoPixel library.
- 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.
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
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.
More From This Board
6More Waveshare RP2040-Zero guides worth reading.

Raspberry Pi Pico W Web Server with MicroPython: Control an LED from a Browser
9mXIAO RP2040 Pinout: D0–D10, Analog, I2C, SPI, UART and LEDs
7mAdafruit Feather RP2040 Pinout: Labels vs GPIO, I2C, SPI, Battery
7mRaspberry Pi Pico Pinout: Every GP Pin, ADC, I2C, SPI, UART and Power
7mRP2040-Zero Pinout: GPIO Pads, Analog, RGB LED and Power
7m
Raspberry Pi Flask Web Server: Setup, GPIO Control, ESP32 Data and Autostart
8m