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.
Highlighted on the SolderHub Simulator Waveshare RP2040-Zero. Explore every pin on the Waveshare RP2040-Zero board page.
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.
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
Pad Map
| Edge | Pads (top to bottom) |
|---|---|
| Left | 5V, GND, 3V3, GP29, GP28, GP27, GP26, GP15, GP14, GP9 (corner) |
| Right | GP0–GP8, GP13 (corner) |
| Bottom | GP10, 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).
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.
Highlighted on the SolderHub Simulator Waveshare RP2040-Zero. Explore every pin on the Waveshare RP2040-Zero board page.
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.
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.
Highlighted on the SolderHub Simulator Waveshare RP2040-Zero. Explore every pin on the Waveshare RP2040-Zero board page.
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.
