xiao-nrf52840-sense-arduino

Guide Arduino firmware development for the XIAO nRF52840 Sense with pinouts and BLE.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a comprehensive Arduino development reference for the Seeed XIAO nRF52840 Sense, helping developers write firmware, understand pin mappings, and integrate onboard sensors and BLE.

Core Features & Use Cases

  • Pinout and GPIO mapping for D0–D10 and internal sensors (IMU and PDM microphone)
  • I2C, SPI, and UART configuration guidance for external peripherals
  • BLE peripheral examples and basic ArduinoBLE usage
  • Setup guidance for Seeed board packages, libraries, and example sketches

Quick Start

Install the Seeed XIAO NRF52840 Sense board package, select the XIAO nRF52840 Sense board in the Arduino IDE, and upload a simple blink sketch.

Frequently Asked Questions about xiao-nrf52840-sense-arduino

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

FAQPage Schema
How do I set up the Seeed XIAO nRF52840 Sense board in the Arduino IDE?

To set up the XIAO nRF52840 Sense, install the Seeed board package in the Arduino IDE, select the specific board from the tools menu, and upload a simple blink sketch to verify the configuration.

What are the Arduino pin mappings for the XIAO nRF52840 Sense?

The XIAO nRF52840 Sense provides pinout and GPIO mapping for pins D0 through D10, alongside dedicated configurations for wiring external peripherals via I2C, SPI, and UART interfaces.

Which Arduino libraries do I need for the XIAO nRF52840 Sense internal sensors?

Configuring the internal sensors requires the LSM6DS3 library for the IMU and the PDM library for the onboard microphone, enabling you to capture motion and audio data within your Arduino sketches.

Can I build BLE peripheral projects with the XIAO nRF52840 Sense and Arduino?

Yes, you can build BLE peripheral projects by utilizing the ArduinoBLE library, which provides the necessary functions to configure Bluetooth Low Energy services and characteristics on the nRF52840 board.

Does the XIAO nRF52840 Sense support connecting external peripherals via SPI and I2C?

Yes, the XIAO nRF52840 Sense supports connecting external peripherals by providing specific configuration guidance for SPI, I2C, and UART communication protocols directly through its Arduino pinout mappings.

Why is my XIAO nRF52840 Sense IMU sensor not working in Arduino?

If the IMU sensor is not working, verify that the LSM6DS3 Arduino library is correctly installed and that the I2C pins in your sketch match the board's specific internal sensor pinout configuration.