xiao-samd21-arduino

Provide Arduino pinout references and board specifications for the Seeed Studio XIAO SAMD21.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pinout references, board specifications, and Arduino C++ development guidance for the Seeed Studio XIAO SAMD21. Use when writing Arduino firmware for the XIAO SAMD21, wiring peripherals, or configuring pins. Keywords: XIAO, SAMD21, Arduino, ATSAMD21G18, Cortex-M0+, pinout, GPIO, I2C, SPI, UART, DAC, analog, digital, PWM.

Core Features & Use Cases

  • Pinout reference covering digital and analog pins, D0–D10, DAC on D0/A0, and related peripherals.
  • Comprehensive board specifications including MCU, clock speed, flash, RAM, voltage, interfaces, and package dimensions.
  • Arduino-focused setup guidance with example sections for common peripherals (I2C, SPI, UART) and basic GPIO usage.

Quick Start

Install the Seeed SAMD core in Arduino IDE and start a project by wiring the XIAO SAMD21 per the reference guide.

Frequently Asked Questions about xiao-samd21-arduino

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

FAQPage Schema
How do I configure Arduino pins for the Seeed Studio XIAO SAMD21?

To configure Arduino pins for the Seeed Studio XIAO SAMD21, reference the pinout guide covering digital and analog pins D0 through D10. It provides mappings for GPIO, I2C, SPI, UART, and the DAC on D0/A0 for firmware development.

What are the board specifications for the XIAO SAMD21?

The XIAO SAMD21 board specifications include an ATSAMD21G18 MCU, Cortex-M0+ architecture, specific clock speed, flash, RAM, operating voltage, interfaces, and package dimensions. These details help determine hardware limits before wiring peripherals.

Does the XIAO SAMD21 support I2C, SPI, and UART interfaces?

Yes, the XIAO SAMD21 supports I2C, SPI, and UART interfaces. The guide provides Arduino-focused setup guidance with example sections for wiring these common peripherals and configuring basic GPIO usage.

How do I set up the Arduino IDE for the Seeed XIAO SAMD21?

To set up the Arduino IDE for the Seeed XIAO SAMD21, install the Seeed SAMD core. Once installed, you can start a project by wiring the board per the reference guide and writing firmware.

Can I use the DAC on the XIAO SAMD21 for analog output?

Yes, you can use the DAC on the XIAO SAMD21 for analog output. The pinout reference specifically maps the DAC functionality to pin D0, which is also designated as A0, for Arduino development.