Seeed XIAO RP2040
An RP2040 the size of a thumbnail
Seeed Studio XIAO RP2040
A thumb-sized RP2040 board (21 × 17.5 mm): 11 castellated GPIO pads (D0–D10), four of them analog, a USB-C port, 2 MB of flash, an RGB user LED and a NeoPixel, all at 3.3 V.
Tested in the SolderHub Simulator. Opens a ready-wired circuit that runs in your browser.
- CPU
- 2 × 133 MHz
- GPIO
- 11
- Analog
- 4 (A0–A3)
- Flash
- 2 MB
Every header pin at a glance
- 11 safe I/O
- 0 use with care
- 0 avoid
- 0 not available
- 3 power, ground & other
01Pinout
Every pin, live
Labelled D0–D10 as on Seeed's pinout; the detail card shows each pad's RP2040 GPIO.
14 of 14 pins match
Hover or tap any pin on the board
LEFT header · pin 1
D0
Safe to use
12-bit analog input ADC0 (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
- GPIO26
- A0
- SPI1 SCK
- UART1 CTS
- I2C1 SDA
- PWM5 A
- ADC0
Full header tables (LEFT, RIGHT)
LEFT · left side
| No. | Pin | Signals | Status |
|---|---|---|---|
| 1 | D0 | A0, SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, ADC0 | OK |
| 2 | D1 | A1, SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, ADC1 | OK |
| 3 | D2 | A2, SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, ADC2 | OK |
| 4 | D3 | A3, SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B, ADC3 | OK |
| 5 | D4 | SDA, SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 A | OK |
| 6 | D5 | SCL, SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 B | OK |
| 7 | D6 | TX, SPI0 RX, UART0 TX, I2C0 SDA, PWM0 A | OK |
RIGHT · right side
| No. | Pin | Signals | Status |
|---|---|---|---|
| 1 | 5V | USB 5 V (VBUS) in or out. | |
| 2 | GND | Ground | |
| 3 | 3V3 | 3.3 V from the on-board DC-DC converter. | |
| 4 | D10 | MOSI, SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 B | OK |
| 5 | D9 | MISO, SPI0 RX, UART1 TX, I2C0 SDA, PWM2 A | OK |
| 6 | D8 | SCK, SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 A | OK |
| 7 | D7 | RX, SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 B | OK |
02Specs
Full specifications
Microcontroller
- Chip
- Raspberry Pi RP2040Dual Arm Cortex-M0+, up to 133 MHz.
- Flash
- 2 MB on board
Power
- Logic level
- 3.3 VSeeed warns that more than 3.3 V on an I/O pin may damage the chip.
- Input
- USB-C 5 V, or 5 V on the 5V pad
- 3.3 V
- On-board DC-DC converter
Board
- User LED
- RGB, on GPIO17 / 16 / 25, active LOW
- Buttons
- R (reset) and B (boot)
03Buses
Where each bus lives
I2C
SDA on D4 (GPIO6), SCL on D5 (GPIO7).
SPI
SCK D8 (GPIO2), MISO D9 (GPIO4), MOSI D10 (GPIO3).
UART
TX D6 (GPIO0), RX D7 (GPIO1).
Analog
A0–A3 on D0–D3 (GPIO26–29), 12-bit.
04Power & start
Power it up and get connected
Power options
- USB-C5 V in, plus programming and USB serial.
- 5V padUSB 5 V in or out.
- 3V3 pad3.3 V from the DC-DC converter for sensors.
- 1
Enter the bootloader
Hold B, plug in USB-C (or press R while holding B). A drive called RPI-RP2 appears.
- 2
Drag a .uf2 onto it
MicroPython, CircuitPython or an Arduino build flashes and restarts the board.
- 3
No board on your desk?
Open a XIAO RP2040 circuit in the SolderHub Simulator below.
05Gotchas
Things that trip people up
01
3.3 V only
Seeed warns that more than 3.3 V on an I/O pin may damage the chip. Level-shift 5 V signals.
02
The user LED is active LOW
Drive GPIO16/17/25 LOW to light it.
03
No battery charger
The standard XIAO RP2040 has no charging circuit; Seeed says not to connect USB-C while a battery is connected.
04
Don't lift the shield
Seeed's wiki asks you not to remove the metal cover.
06SolderHub Simulator
Wire up the Seeed XIAO RP2040 without the hardware
The simulator runs Seeed XIAO RP2040 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
Seeed XIAO RP2040 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 Seeed XIAO RP2040 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
7m
Raspberry Pi Flask Web Server: Setup, GPIO Control, ESP32 Data and Autostart
8mRP2040-Zero Pinout: GPIO Pads, Analog, RGB LED and Power
7m