xiao-mg24-arduino

Provide Arduino firmware guidance and pin mappings for the XIAO MG24.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide provides a centralized reference for developing Arduino firmware on the Seeed Studio XIAO MG24, including pinout mappings, board setup, and practical usage guidance to accelerate firmware development.

Core Features & Use Cases

  • Pinout reference and GPIO mapping for D0–D18 and board peripherals
  • Arduino core setup, board manager installation, and example sketches
  • Guidance for BLE, Zigbee, Thread, and Matter peripherals on the XIAO MG24

Quick Start

Open the Arduino IDE, install the Silicon Labs core, select Silicon Labs XIAO MG24, and upload a sketch.

Frequently Asked Questions about xiao-mg24-arduino

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

FAQPage Schema
How do I set up the Arduino IDE for the XIAO MG24 board?

To set up the XIAO MG24 in Arduino, install the Silicon Labs core via the Board Manager, select the Silicon Labs XIAO MG24 board, and upload your sketch. This provides the necessary firmware compilation environment.

What is the pinout mapping for GPIOs on the XIAO MG24?

The XIAO MG24 pinout maps D0 through D18 to specific GPIO configurations. This reference guides pin assignments for integrating peripherals like I2C and SPI, ensuring correct hardware connections.

Can I use BLE and Zigbee peripherals with XIAO MG24 Arduino firmware?

Yes, the XIAO MG24 supports configuring BLE, Zigbee, Thread, and Matter peripherals. You can integrate these wireless protocols directly when writing Arduino code for network communication.

How do I configure I2C and SPI peripherals on the XIAO MG24?

Configuring I2C and SPI peripherals on the XIAO MG24 involves referencing the specific GPIO pin mappings for these interfaces. The guidance provides pin assignments to establish serial communication with external sensors.

Are there example sketches available for the XIAO MG24 Arduino core?

Yes, example sketches are provided alongside the Arduino core installation. These examples demonstrate board setup and peripheral usage to accelerate firmware development on the XIAO MG24 platform.