RP2040-Zero - Raspberry Pi Microcontroller PICO Development

SKU: ST3009-1
RP2040-Zero board, top view with USB-C port, BOOT and RESET buttons and loose pin header strips
RP2040-Zero board at an angle with 24 mm by 18 mm dimensions marked and pin labels visible
Underside of the RP2040-Zero showing the RP2040 chip, crystal and castellated solder edges
RP2040-Zero pinout diagram showing GPIO, ADC, SPI, I2C and UART functions and the GP16 RGB LED

RP2040-Zero - Raspberry Pi Microcontroller PICO Development

SKU: ST3009-1
Default
Regular price $9.99
/
  • Free shipping on all orders over $100
  • Secure payments
  • Low stock - 10 items left
  • Inventory on the way

Add $100.00 more for free shipping

Tax included. Shipping calculated at checkout.

You'll also need

RP2040-Zero is a compact Raspberry Pi RP2040 board with USB-C, 2 MB of flash and 20 pins on its edges, in a 24 × 18 mm package.

It packs a dual-core Cortex-M0+ microcontroller, an onboard RGB LED and BOOT/RESET buttons into a stamp-sized board. It suits wearables, small enclosures and breadboard projects where a full-size Pico will not fit.

Chip
RP2040 dual-core, 133 MHz
Memory
264 KB SRAM + 2 MB flash
I/O
20 edge GPIO, 4 × 12-bit ADC
USB
USB Type-C

Why choose it

  • Small footprint — the board measures 24 × 18 mm, with castellated edges for soldering straight onto a carrier board.
  • Ready to test — an onboard WS2812 RGB LED on GP16 and BOOT/RESET buttons let you check the board without any extra parts.
  • Familiar tools — the RP2040 runs MicroPython, Arduino (arduino-pico) and the Raspberry Pi Pico SDK.

Specifications

Core
Microcontroller Raspberry Pi RP2040
CPU Dual-core Arm Cortex-M0+, up to 133 MHz
SRAM 264 KB
Flash 2 MB onboard
I/O
GPIO 29 GPIO pins on the chip; 20 on the edge pins, the rest via solder pads
Interfaces 2 × UART, 2 × SPI, 2 × I2C
PWM 16 channels
ADC 4 channels, 12-bit (GP26–GP29), plus internal temperature sensor
PIO 8 state machines
USB USB 1.1, host and device
Board
USB connector USB Type-C
Onboard WS2812 RGB LED (GP16), BOOT and RESET buttons
Mounting Castellated edges for soldering directly to a carrier board
Dimensions 24 × 18 mm
Power input 5 V via USB-C or the 5V pin

Compatibility

Platform Works Notes
Arduino UNO / Nano (5 V) ◐ With adapter RP2040 pins are 3.3 V logic. Use a level shifter for 5 V signals.
ESP32 / ESP8266 (3.3 V) ✓ Yes Same 3.3 V logic level.
Raspberry Pi (3.3 V GPIO) ✓ Yes Same 3.3 V logic level.
Software ✓ Yes MicroPython (Thonny), Arduino IDE with the arduino-pico core, or C/C++ with the Raspberry Pi Pico SDK. See the Waveshare page.

In the box

Included
  • 1 × RP2040-Zero board

Applications

  • Learning MicroPython on a very small board
  • Compact sensor and display projects built on a breadboard or carrier board
  • Status lights and colour effects using the onboard RGB LED

Tutorial

What you'll build: make the onboard RGB LED cycle through red, green and blue, then print the chip's temperature on your computer every second. No wiring needed. About 20 minutes.

Part 1 — Set up MicroPython (once only)

1
Install Thonny
Download and install the free Thonny editor from thonny.org. Thonny is the program you type code into and run it from.
2
Get the MicroPython firmware
Firmware is the program that lets the board understand Python. Download the RP2040 MicroPython firmware from the Waveshare RP2040-Zero page (use the firmware for RP2040 boards).
3
Enter flashing mode
Unplug the board. Hold the BOOT button, plug in a USB-C data cable, then let go of BOOT. A drive called RPI-RP2 appears on your computer. If it does not, hold RESET, press and release BOOT, then release RESET.
4
Copy the firmware
Drag the firmware file you downloaded onto the RPI-RP2 drive. The drive disappears and the board restarts by itself.
5
Pick the interpreter
Open Thonny, click the bottom-right corner, choose MicroPython (Raspberry Pi Pico) and select the board's port.

✓ Check: in Thonny's Shell, type print("hello") and press Enter. The Shell answers hello.

Part 2 — Run your first program: the RGB LED

6
Paste the example
Copy the code below into Thonny's editor. It uses MicroPython's built-in neopixel module to talk to the onboard LED on GP16.
▸ Example 1 — Cycle the onboard RGB LED
# Wiring: none - the RGB LED (WS2812) is on the board, data pin GP16
import machine, neopixel, time

LED_PIN = 16          # GP16 - onboard RGB LED
np = neopixel.NeoPixel(machine.Pin(LED_PIN), 1)  # 1 LED

print("OK - epartners.co.nz test")   # printed once at start

colours = [(32, 0, 0), (0, 32, 0), (0, 0, 32)]  # red, green, blue (kept dim) - you can change this

while True:
    for c in colours:
        np[0] = c      # set the colour
        np.write()     # send it to the LED
        time.sleep(0.5)  # you can change this (seconds)
7
Run it
Click the green Run button (or press F5). Click the red Stop button to end the program.

✓ Check: the Shell prints OK - epartners.co.nz test once, and the LED changes colour every half second.

Part 3 — Read the chip temperature

8
Run the temperature example
Replace the code with the program below and run it. The RP2040 has a temperature sensor built into the chip, so you need no extra parts.
▸ Example 2 — Print the RP2040 chip temperature
# Wiring: none - reads the temperature sensor inside the RP2040 chip
import machine, time

sensor = machine.ADC(4)       # ADC channel 4 = internal temperature sensor
CONV = 3.3 / 65535            # convert the 16-bit reading to volts

while True:
    volts = sensor.read_u16() * CONV
    temp_c = 27 - (volts - 0.706) / 0.001721   # formula from the RP2040 datasheet
    print("Chip temperature: {:.1f} C".format(temp_c))
    time.sleep(1)             # you can change this (seconds)

✓ Check: the Shell prints a new Chip temperature line every second. Touch the chip gently and the number rises slowly. This is the chip's own temperature, not the room temperature.

9
Keep a program on the board (optional)
To run a program every time the board gets power, choose File → Save as → MicroPython device and name it main.py.

Troubleshooting

Problem Likely cause Fix
The RPI-RP2 drive does not appear The board was not in flashing mode, or the USB cable is charge-only Use a data USB-C cable. Hold BOOT while plugging in, or hold RESET, tap BOOT, then release RESET. If no port appears, install the USB driver for your board.
Thonny says it cannot find the board Wrong interpreter or port selected, or no MicroPython installed yet Choose MicroPython (Raspberry Pi Pico) at the bottom right, pick the port, and repeat Part 1 if the Shell stays empty.
The LED stays dark The program is not running, or the colours are too dim Check that Run is active (the Stop button is red). Raise the 32 values in the colours list (maximum 255).
The temperature looks different from the room The sensor measures the chip, which is warmer than the air around it This is normal. Use it as a rough chip reading only.

Try next: use machine.Pin(15, machine.Pin.OUT) to blink an external LED (with a resistor) on GP15, or read a potentiometer on GP26 (ADC0).

Spotted a problem in this tutorial? Email support@epartners.co.nz and we'll check it and update the tutorial.

Good to know
  • GPIO pins are 3.3 V logic. Do not connect 5 V signals directly.
  • Only 20 of the 29 GPIO pins are on the edge pins. The other pins are on the underside solder pads.
  • The board has no battery protection. Power it from USB-C or the 5V pin.

Video guide

Resources

FAQ

▸ What is the difference between the RP2040-Zero and a Raspberry Pi Pico?

The RP2040-Zero uses the same RP2040 chip but is much smaller (24 × 18 mm), has USB-C, 2 MB of flash and an onboard RGB LED, and brings out 20 GPIO pins on its edges.

▸ Can I program it with MicroPython?

Yes. Install Thonny, put the board in flashing mode with the BOOT button, copy the MicroPython firmware and run your code from Thonny. The Tutorial above walks through each step.

▸ Does it work with 5 V sensors?

The pins are 3.3 V logic, so use a level shifter or a 3.3 V sensor. Do not feed 5 V signals into the GPIO pins.

▸ Where is the onboard LED connected?

The WS2812 RGB LED data pin is GP16.

Technical question about this part? Email support@epartners.co.nz with your board and wiring, and we'll help you get it working.

Shipping: $5.99 urban, $9.99 rural. Free shipping on orders of $100 or more.

Order by 10:30am (NZT), Monday to Friday, and we dispatch the same day. Orders placed after 10:30am, on weekends or on public holidays are dispatched the next business day.

Delivery usually takes 1–2 business days after dispatch (2–3 for rural addresses). See our Shipping Policy for full details.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.

Recently viewed