seeed studio XIAO nRF52840 Sense

Seeed Studio XIAO nRF52840 Sense User Manual

Model: XIAO nRF52840 Sense

1. Pambuka

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.

Seeed Studio XIAO nRF52840 Sense top view

Gambar: Top view of the Seeed Studio XIAO nRF52840 Sense, showcasing its compact size and the USB-C port.

2. Fitur Utama

  • CPU sing kuat: Equipped with a Nordic nRF52840 MCU, featuring a 32-bit ARM Cortex-M4 CPU with FPU operating at 64MHz.
  • Kapabilitas Wireless: Integrated Bluetooth 5.0 and NFC module with an onboard antenna, enabling wireless connectivity for various applications.
  • Antarmuka sugih: 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. Isi Paket

Priksa manawa kabeh item ana sadurunge nerusake persiyapan:

  • Seeed XIAO BLE Sense - nRF52840 (1 unit)
  • 7 Pins Header (2 units)

4. Pandhuan Setup

4.1 Sambungan wiwitan

  1. Nyambung menyang Komputer: Use a USB-C cable to connect the XIAO nRF52840 Sense to your computer. The device should be recognized as a serial port.
  2. Instalasi driver (yen perlu): 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.
Seeed Studio XIAO nRF52840 Sense with Amazon Sidewalk logo

Gambar: Angled view of the Seeed Studio XIAO nRF52840 Sense, highlighting its compact design and compatibility with Amazon Sidewalk.

4.2 Setup piranti lunak

The XIAO nRF52840 Sense supports various programming environments. This guide focuses on Arduino IDE and CircuitPython.

4.2.1 Arduino IDE Setup

  1. Install Arduino IDE: Download and install the latest version of Arduino IDE from the official Arduino websitus (www.arduino.cc/en/software).
  2. Add Board Manager URL:
    • Menyang File > Preferensi.
    • 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.
  3. Install Board Package:
    • Menyang Tools > Board > Boards Manager...
    • Nggoleki "Seeed nRF52" and install the corresponding package.
  4. Pilih Papan: Menyang Tools > Board > Seeed nRF52 Boards lan pilih "Seeed XIAO nRF52840 Sense".
  5. Nginstal Pustaka: 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

  1. Download CircuitPython Firmware: Visit the official CircuitPython websitus (circuitpython.org/downloads) and download the latest CircuitPython firmware for the "Seeed Studio XIAO nRF52840 Sense".
  2. 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.
  3. Drag and Drop Firmware: Drag the downloaded CircuitPython .uf2 file onto the "XIAO-SENSEBOOT" drive. The device will automatically restart and run CircuitPython.
  4. 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.

Seeed Studio XIAO nRF52840 Sense with pin headers

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-sumbu 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.

Seeed Studio XIAO nRF52840 Sense bottom view

Gambar: Ngisor 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 emulasi.

Refer to the Nordic Semiconductor SDK documentation or specific Arduino/CircuitPython BLE/NFC libraries for implementation details.

Video: Wis rampungview 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. Pangopènan

  • Reresik: Use a soft, dry cloth to clean the board. Avoid using liquids or abrasive cleaners.
  • Panyimpenan: Store the XIAO nRF52840 Sense in a dry, anti-static environment when not in use. Protect it from extreme temperatures and humidity.
  • Penanganan: Handle the board by its edges to avoid touching components, especially the sensitive sensors. Static electricity can damage electronic components.
  • Nganyari Firmware: 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. Ngatasi masalah

MasalahKemungkinan PenyebabSolusi
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.
Sensor ora nyedhiyakake 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. Spesifikasi Teknis

FiturRincian
MikrokontrolerNordic nRF52840 (32-bit ARM Cortex-M4 with FPU)
Kacepetan Jam64 MHz
Flash Memory2 MB
Konektivitas NirkabelBluetooth 5.0, NFC
Sensor Onboard6-axis IMU, Digital PDM Microphone
AntarmukaUART, IIC, SPI, 6xADC
Ukuran (L x W)21 x 17.5 mm (0.83 x 0.69 inci)
Operasional Voltage3.3V (via USB-C or battery)
Vol inputtage (VIN)5V
Mode Daya Sedheng~5µA
Dhukungan Sistem OperasiArduino, MicroPython, CircuitPython, FreeRTOS, Zephyr
Seeed Studio XIAO nRF52840 Sense dimensions

Image: The Seeed Studio XIAO nRF52840 Sense shown with measurement rulers, illustrating its compact dimensions of 21 x 17.5 mm.

9. Warranty lan Dhukungan

9.1 Informasi babar pisan

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 websitus utawa hubungi layanan pelanggan. Simpen bukti tuku kanggo klaim garansi.

9.2 Dhukungan Teknis

For technical assistance, documentation, and community support, please visit the official Seeed Studio resources:

  • Resmi Websitus: www.seeedstudio.com
  • Wiki/Documentation: wiki.seeedstudio.com (Nggoleki "XIAO nRF52840 Sense")
  • Forum Komunitas: 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.).

Dokumen sing gegandhengan - XIAO nRF52840 Sense

Praview Seeed Studio XIAO Series Paket lan PCB Design Guide
Spesifikasi teknis sing rinci lan pandhuan desain PCB kanggo papan pangembangan miniatur seri Seeed Studio XIAO, kalebu SAMD21, RP2040, nRF52840, nRF52840 Sense, lan ESP32C3. Fitur kalebu pinout, dimensi pola tanah, lan informasi integrasi. Sinau babagan layanan Seeed Fusion kanggo perakitan PCB.
Praview Seeed Studio XIAO ePaper Display Board EE04 Technical Schematics
Detailed technical schematics and block diagram for the Seeed Studio XIAO ePaper Display Board EE04. Covers power management, microcontroller integration, and e-ink display interfaces.
Praview Miwiti Tampilan Bulat Studio Seeed kanggo XIAO
A comprehensive guide to setting up and using the Seeed Studio Round Display for XIAO, covering hardware preparation, software installation, and basic usage for this 1.28-inch touch screen expansion board.
Praview Seeed Studio XIAO ESP32C6 Details Product lan Pandhuan Miwiti
Detailed information about the Seeed Studio XIAO ESP32C6, a powerful IoT development board featuring ESP32-C6 SoC, dual RISC-V processors, Wi-Fi 6, Bluetooth 5.3, Zigbee, and Thread. Includes features, specifications, and a getting started guide.
Praview SenseCAP Indicator User Manual - Seeed Studio
Manual pangguna lengkap kanggo Indikator Seeed Studio SenseCAP, platform pangembangan IoT layar tutul 4-inci sing didhukung dening ESP32-S3 lan RP2040, kanthi kemampuan ngawasi kualitas Wi-Fi, BLE, LoRa, lan kualitas udara.
Praview Seeed Studio BM3301-1313 Modul: Wi-Fi 6 & BLE 5.4 Lembar Data
Comprehensive datasheet for the Seeed Studio BM3301-1313 module, featuring Wi-Fi 6 and Bluetooth Low Energy 5.4 connectivity powered by TI CC3301. Details specifications, pinouts, and application information for embedded systems.