seeed studio XIAO nRF52840 Sense
Seeed Studio XIAO nRF52840 Sense User Manual
Model: XIAO nRF52840 Sense
1. Introduction
The Seeed Studio XIAO nRF52840 Sense is a compact yet powerful microcontroller unit (MCU) designed for a wide range of applications, particularly in wearable devices and Internet of Things (IoT) projects. It integrates a Nordic nRF52840 MCU with Bluetooth 5.0 and NFC capabilities, along with onboard sensors for enhanced functionality.
This manual provides essential information for setting up, operating, maintaining, and troubleshooting your XIAO nRF52840 Sense. Please read it thoroughly before use.

Image: Top view of the Seeed Studio XIAO nRF52840 Sense, showcasing its compact size and the USB-C port.
2. Key Features
- Powerful CPU: Equipped with a Nordic nRF52840 MCU, featuring a 32-bit ARM Cortex-M4 CPU with FPU operating at 64MHz.
- Wireless Capabilities: Integrated Bluetooth 5.0 and NFC module with an onboard antenna, enabling wireless connectivity for various applications.
- Rich Interface: Supports UART, IIC, and SPI serial ports. Includes a tiny reset button, a three-in-one LED, and a power LED. Features an onboard 2MB flash memory for programming with Arduino, MicroPython, or CircuitPython.
- Extra Onboard Sensors:
- Digital microphone (PDM module) for real-time audio data reception and audio recognition.
- 6-axis Inertial Measurement Unit (IMU) for applications like gesture recognition in TinyML projects.
- Ultra-small Size: Classic Seeed XIAO series form-factor (21 x 17.5mm), ideal for wearable devices.
3. Package Contents
Ensure all items are present before proceeding with setup:
- Seeed XIAO BLE Sense - nRF52840 (1 unit)
- 7 Pins Header (2 units)
4. Setup Guide
4.1 Initial Connection
- Connect to Computer: Use a USB-C cable to connect the XIAO nRF52840 Sense to your computer. The device should be recognized as a serial port.
- Driver Installation (if necessary): For some operating systems, you might need to install specific drivers. Refer to the official Seeed Studio documentation for detailed instructions on driver installation for your OS.

Image: Angled view of the Seeed Studio XIAO nRF52840 Sense, highlighting its compact design and compatibility with Amazon Sidewalk.
4.2 Software Setup
The XIAO nRF52840 Sense supports various programming environments. This guide focuses on Arduino IDE and CircuitPython.
4.2.1 Arduino IDE Setup
- Install Arduino IDE: Download and install the latest version of Arduino IDE from the official Arduino website (www.arduino.cc/en/software).
- Add Board Manager URL:
- Go to File > Preferences.
- In the "Additional Boards Manager URLs" field, add the URL for Seeed Studio nRF52 boards. Refer to Seeed Studio's official wiki for the most up-to-date URL.
- Install Board Package:
- Go to Tools > Board > Boards Manager...
- Search for "Seeed nRF52" and install the corresponding package.
- Select Board: Go to Tools > Board > Seeed nRF52 Boards and select "Seeed XIAO nRF52840 Sense".
- Install Libraries: Depending on your project, you may need to install specific libraries for the IMU (e.g., LSM6DS3) or PDM microphone. Use the Library Manager (Sketch > Include Library > Manage Libraries...) to search and install.
4.2.2 CircuitPython Setup
- Download CircuitPython Firmware: Visit the official CircuitPython website (circuitpython.org/downloads) and download the latest CircuitPython firmware for the "Seeed Studio XIAO nRF52840 Sense".
- Enter Bootloader Mode: Double-press the reset button on the XIAO nRF52840 Sense. The onboard LED should pulse, and a new USB drive named "XIAO-SENSEBOOT" (or similar) will appear on your computer.
- Drag and Drop Firmware: Drag the downloaded CircuitPython .uf2 file onto the "XIAO-SENSEBOOT" drive. The device will automatically restart and run CircuitPython.
- Access CIRCUITPY Drive: After restarting, a new drive named "CIRCUITPY" will appear. This is where you can save your Python code.
5. Operating Your XIAO nRF52840 Sense
5.1 Basic Programming (Arduino Example)
Here's a simple example to blink the onboard LED using Arduino IDE:
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // Initialize the built-in LED pin as an output
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED on (HIGH is the voltage level)
delay(1000); // Wait for a second
digitalWrite(LED_BUILTIN, LOW); // Turn the LED off by making the voltage LOW
delay(1000); // Wait for a second
}
Upload this code to your XIAO nRF52840 Sense using the Arduino IDE. The onboard LED should start blinking.

Image: The Seeed Studio XIAO nRF52840 Sense with pin headers attached, ready for breadboard integration.
5.2 Utilizing Onboard Sensors
The XIAO nRF52840 Sense includes a digital microphone and a 6-axis IMU. You can access these sensors through their respective libraries in your chosen programming environment.
5.2.1 Digital Microphone (PDM)
The PDM microphone allows for audio input. Libraries like PDM in Arduino or adafruit_pdm in CircuitPython can be used to read audio data. This is useful for voice commands or sound detection projects.
5.2.2 6-axis IMU
The Inertial Measurement Unit provides accelerometer and gyroscope data. This data can be used for motion sensing, gesture recognition, and orientation tracking. Common libraries include LSM6DS3 for Arduino or adafruit_lsm6ds for CircuitPython.

Image: Bottom view of the Seeed Studio XIAO nRF52840 Sense, showing the pinout and battery pads.
5.3 Bluetooth and NFC
The nRF52840 chip natively supports Bluetooth Low Energy (BLE) 5.0 and NFC. You can develop applications that utilize these wireless communication protocols for data transfer, device pairing, or NFC tag emulation.
Refer to the Nordic Semiconductor SDK documentation or specific Arduino/CircuitPython BLE/NFC libraries for implementation details.
Video: An overview of the Seeed Studio XIAO series, demonstrating their compact size and various applications, including integration with other components and software environments. This video highlights the versatility and power of these tiny MCUs.
6. Maintenance
- Cleaning: Use a soft, dry cloth to clean the board. Avoid using liquids or abrasive cleaners.
- Storage: Store the XIAO nRF52840 Sense in a dry, anti-static environment when not in use. Protect it from extreme temperatures and humidity.
- Handling: Handle the board by its edges to avoid touching components, especially the sensitive sensors. Static electricity can damage electronic components.
- Firmware Updates: Periodically check the official Seeed Studio website or GitHub repository for firmware updates. Keeping the firmware updated can provide new features, performance improvements, and bug fixes.
7. Troubleshooting
| Problem | Possible Cause | Solution |
|---|---|---|
| Board not recognized by computer. | Missing drivers, faulty USB cable, incorrect USB port. | Install necessary drivers. Try a different USB-C cable or USB port. Ensure the cable supports data transfer. |
| Code upload fails. | Incorrect board selection, wrong serial port, board not in bootloader mode (for CircuitPython). | Verify board selection and serial port in IDE. Double-press reset button to enter bootloader mode if needed. |
| Onboard LED not lighting up. | No power, faulty board, incorrect code. | Check USB connection. Test with a simple blink sketch. Ensure power LED is on. |
| Sensors not providing data. | Missing or incorrect libraries, sensor not initialized correctly in code. | Install required sensor libraries. Review example code for sensor initialization. Check connections if external sensors are used. |
| Bluetooth/NFC not working. | Incorrect library usage, antenna interference, firmware issue. | Ensure correct BLE/NFC libraries are used. Avoid placing metal objects near the antenna. Update firmware. |
For further assistance, refer to the official Seeed Studio documentation and community forums.
8. Technical Specifications
| Feature | Detail |
|---|---|
| Microcontroller | Nordic nRF52840 (32-bit ARM Cortex-M4 with FPU) |
| Clock Speed | 64 MHz |
| Flash Memory | 2 MB |
| Wireless Connectivity | Bluetooth 5.0, NFC |
| Onboard Sensors | 6-axis IMU, Digital PDM Microphone |
| Interfaces | UART, IIC, SPI, 6xADC |
| Dimensions (L x W) | 21 x 17.5 mm (0.83 x 0.69 inches) |
| Operating Voltage | 3.3V (via USB-C or battery) |
| Input Voltage (VIN) | 5V |
| Low Power Mode | ~5µA |
| Operating System Support | Arduino, MicroPython, CircuitPython, FreeRTOS, Zephyr |

Image: The Seeed Studio XIAO nRF52840 Sense shown with measurement rulers, illustrating its compact dimensions of 21 x 17.5 mm.
9. Warranty and Support
9.1 Warranty Information
Seeed Studio products typically come with a limited warranty covering manufacturing defects. For specific warranty terms and conditions, please refer to the official Seeed Studio website or contact their customer service. Keep your proof of purchase for warranty claims.
9.2 Technical Support
For technical assistance, documentation, and community support, please visit the official Seeed Studio resources:
- Official Website: www.seeedstudio.com
- Wiki/Documentation: wiki.seeedstudio.com (Search for "XIAO nRF52840 Sense")
- Community Forum: Engage with other users and experts for project ideas and troubleshooting tips.
When seeking support, provide detailed information about your issue, including the steps to reproduce it, any error messages, and your software environment (Arduino IDE version, CircuitPython version, etc.).
Ask a question about this manual
Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.







