xiao-rp2040-arduino

Reference Seeed XIAO RP2040 pinouts, GPIO mappings, and Arduino setup.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/therebelrobot/microcontroller-base --skill xiao-rp2040-arduino
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xiao-rp2040-arduino
Source: https://github.com/therebelrobot/microcontroller-base/tree/main/.roo/skills/XIAO-RP2040-Arduino
Command: npx skills add https://github.com/therebelrobot/microcontroller-base --skill xiao-rp2040-arduino

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a concise, definitive reference for Arduino development on the Seeed XIAO RP2040, including pinouts, GPIO mappings, and board setup.

Core Features & Use Cases

  • Pinout and GPIO mapping reference for the XIAO RP2040
  • I2C, SPI, UART peripheral usage guidance
  • Arduino core setup, example sketches, and wiring notes

Quick Start

Open this guide to start writing Arduino firmware for the XIAO RP2040 and wire your first peripherals.

Frequently Asked Questions about xiao-rp2040-arduino

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure the Arduino IDE for the Seeed XIAO RP2040 board?

To set up the XIAO RP2040 in the Arduino IDE, you must install the compatible Arduino core for the RP2040. This configuration provides the necessary board definitions, pin mappings, and compilation settings to start uploading firmware.

What is the correct GPIO pinout mapping for the Seeed XIAO RP2040?

The XIAO RP2040 pinout maps the physical board pins to their corresponding GPIO numbers for firmware configuration. This GPIO mapping reference ensures correct pin assignments when wiring peripherals or writing custom Arduino sketches.

How do I wire I2C and SPI peripherals to the XIAO RP2040?

Wiring I2C and SPI peripherals to the XIAO RP2040 requires connecting the correct SDA, SCL, MOSI, MISO, and SCK pins based on the board's pinout. The reference provides specific wiring guidance and example sketches for configuring these serial communication interfaces.

Can I use standard Arduino libraries with the XIAO RP2040?

Yes, standard Arduino libraries are compatible with the XIAO RP2040 once the specific Arduino core for the RP2040 platform is installed. This setup allows you to utilize common libraries for GPIO control, I2C, SPI, and UART peripheral communication.

Does the XIAO RP2040 support UART serial communication in Arduino?

Yes, the XIAO RP2040 supports UART serial communication for Arduino development. The reference includes guidance on assigning the correct TX and RX pins and provides example sketches to help you establish serial data transmission between devices.

Why is my Arduino sketch not recognizing the XIAO RP2040 pins correctly?

If your Arduino sketch fails to recognize XIAO RP2040 pins, the Arduino core for the RP2040 board may be missing or misconfigured. Verifying the board manager installation and checking the specific GPIO pinout mapping will resolve most pin assignment errors.