RP2040-Zero Pinout Gotchas You Should Know

RP2040-Zero Pinout Gotchas You Should Know

Published

Updated

The Waveshare RP2040-Zero looks like a smaller Raspberry Pi Pico, but the pinout has a few details that are easy to miss. If you only look at the GPIO numbers, it feels like any other RP2040 board. But once you start blinking the onboard LED, powering it from a battery, or trying to debug firmware, you quickly find out that this board has its own personality.

This article focuses on the RP2040-Zero pinout quirks that actually matter in real projects.

GP16 Is Connected to the Onboard RGB LED

The first surprise is the onboard LED.

On many development boards, the onboard LED is just a normal single-color LED connected to one GPIO pin. You set the pin high, the LED turns on. You set it low, the LED turns off.

The RP2040-Zero is different. Its onboard LED is a WS2812 RGB LED connected to GP16. That means it is not controlled like a normal LED. A basic blink sketch using digitalWrite(16, HIGH) is not the right way to drive it.

A WS2812 LED needs a timed data signal. In Arduino, you usually control it with a library such as Adafruit NeoPixel or FastLED. In MicroPython, you use the neopixel module.

So when you see GP16 on the RP2040-Zero pinout, do not think of it as just another clean GPIO pin. It is already tied to the onboard RGB LED.

Use GP16 when you want to control the onboard RGB LED. Avoid GP16 when you need a plain external GPIO pin for a sensor, button, relay signal, or communication line.

The 5V / VSYS Pin Needs Extra Care

The next important quirk is power.

The RP2040-Zero can be powered from USB-C, and it can also be powered externally. But the external power path is not as beginner-proof as some larger boards.

Waveshare notes that the RP2040-Zero’s VSYS pin is directly connected to the VUSB pin. If you connect a battery directly to VSYS, Waveshare recommends adding a diode to avoid backflow. They also state that the board has no battery protection function.

This matters because many users see a 5V or VSYS pin and assume it behaves like a simple safe battery input. It does not.

For normal beginner use, the safest approach is:

  • Power the board from USB-C.
  • Use the 3V3 pin only for small 3.3V modules.
  • Do not connect a LiPo battery directly unless you understand the power path.
  • Add proper battery protection and charging circuitry if the project needs battery power.

Also remember that 5V is only for board power. It is not a 5V logic level for GPIO pins.

The RP2040-Zero Is a 3.3V Board

This is not unique to the RP2040-Zero, but it is still worth repeating because the small board size makes it tempting to connect it directly to random Arduino modules.

The GPIO pins are 3.3V logic pins. Do not feed 5V signals into GP0 to GP29.

This is especially important for:

  • 5V sensors
  • relay modules
  • old Arduino shields
  • UART modules powered from 5V
  • analog sensors with 0–5V output

If a module outputs 5V, use a level shifter or voltage divider before connecting it to the RP2040-Zero.

Some GPIO Pins Are Not Header-Friendly

Waveshare describes the RP2040-Zero as having 29 GPIO pins, but only 20 can be led out through pin headers. The remaining pins need soldering.

This is a common source of confusion. A user may look at the pinout and assume every GPIO is equally easy to use on a breadboard. That is not really the case.

For breadboard-friendly projects, start with the main edge pins first. Use the smaller solder pads only when you really need the extra GPIO and you are comfortable soldering to smaller pads.

This is one reason the RP2040-Zero is better viewed as a compact project board, not just a smaller Pico replacement. It gives you many pins, but some of them are meant more for permanent soldered builds than quick breadboard experiments.

SWD Debugging Is Not Conveniently Available

Another important difference is debugging.

The RP2040 supports SWD debugging, but the RP2040-Zero does not conveniently expose the SWD pins. Waveshare’s FAQ states that the board does not pin out the SWD pins.

For many Arduino or MicroPython users, this will not matter. USB programming is enough for simple projects.

But for firmware developers, this is a real limitation. If you want breakpoints, stepping, register inspection, or proper hardware debugging, another RP2040 board with exposed SWD pins may be a better choice.

The RP2040-Zero is great when you want a small RP2040 module for a finished project. It is less ideal when you want a comfortable debugging board for firmware development.

Boot Mode Uses BOOT and RESET

The RP2040-Zero has BOOT and RESET buttons. To enter flashing mode, Waveshare describes the sequence as pressing RESET first, pressing BOOT, releasing RESET first, then releasing BOOT.

Once in bootloader mode, the board appears as a USB mass storage device and you can copy a UF2 file to it.

This is worth knowing because the board may not always appear as a USB drive automatically. If it seems “not detected,” it may simply need to be forced into bootloader mode.

Practical Pin Choices

For most projects, treat the pins this way:

Use these first:

Use Suggested Pins
General GPIO GP0 to GP15, GP17 to GP25
Analog input GP26, GP27, GP28, GP29
Onboard RGB LED GP16
External 3.3V modules 3V3 and GND
External board power 5V / VSYS, with power-path caution

Be careful with these:

Pin / Area Why
GP16 Connected to onboard WS2812 RGB LED
5V / VSYS Can cause backflow if externally powered incorrectly
3V3 Regulated output; do not overload
Solder-only pads Not as beginner-friendly as header pins
SWD Not conveniently broken out

Final Thoughts

The RP2040-Zero is a very useful board, but it is not just a shrunken Raspberry Pi Pico. The pinout has a few board-specific details that can trip up beginners and firmware developers alike.

The biggest one is GP16. It controls a WS2812 RGB LED, not a normal blink LED. The second is power: VSYS and USB power are closely tied together, so battery-powered projects need more care. Add the solder-only GPIO pads and missing SWD pins, and you have a board that is excellent for compact projects but not always the easiest board for first-time debugging.

If you remember only one thing from this guide, remember this: on the RP2040-Zero, GP16 is for the onboard RGB LED, and VSYS is not a protected battery input.