Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Seeed Studio XIAO MG24 sense: Examples, Pinouts, and Specs

Image of Seeed Studio XIAO MG24 sense
Cirkit Designer LogoDesign with Seeed Studio XIAO MG24 sense in Cirkit Designer

Introduction

The Seeed Studio XIAO MG24 Sense is a compact and versatile microcontroller board powered by the MG24 chip. It is specifically designed for Internet of Things (IoT) applications, offering built-in wireless communication capabilities such as Bluetooth Low Energy (BLE) and Zigbee. This board is ideal for sensor data collection, processing, and wireless transmission, making it a perfect choice for smart home devices, wearable technology, and industrial IoT solutions.

Explore Projects Built with Seeed Studio XIAO MG24 sense

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Solar-Powered GSM/GPRS+GPS Tracker with Seeeduino XIAO
Image of SOS System : A project utilizing Seeed Studio XIAO MG24 sense in a practical application
This circuit features an Ai Thinker A9G development board for GSM/GPRS and GPS/BDS connectivity, interfaced with a Seeeduino XIAO microcontroller for control and data processing. A solar cell, coupled with a TP4056 charging module, charges a 3.3V battery, which powers the system through a 3.3V regulator ensuring stable operation. The circuit likely serves for remote data communication and location tracking, with the capability to be powered by renewable energy and interfaced with additional sensors or input devices via the Seeeduino XIAO.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Multi-Sensor Health Monitoring System with Bluetooth Connectivity
Image of circuit diagram: A project utilizing Seeed Studio XIAO MG24 sense in a practical application
This circuit features an ESP32-WROOM-32UE microcontroller as the central processing unit, interfacing with a variety of sensors and modules. It includes a MAX30100 pulse oximeter and heart-rate sensor, an MLX90614 infrared thermometer, an HC-05 Bluetooth module for wireless communication, and a Neo 6M GPS module for location tracking. All components are powered by a common voltage supply and are connected to specific GPIO pins on the ESP32 for data exchange, with the sensors using I2C communication and the modules using UART.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi Zero W-Based Health Monitoring System with LoRa and GPS
Image of PET COLLAR: A project utilizing Seeed Studio XIAO MG24 sense in a practical application
This circuit is a multi-sensor data acquisition system powered by a Raspberry Pi Zero W. It integrates various sensors including a temperature sensor (LM35), an MPU-6050 accelerometer and gyroscope, a MAX30102 pulse oximeter, a GPS module, and a LoRa module for wireless communication. The system collects environmental and physiological data, which can be transmitted wirelessly via the LoRa module.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32C3-Based Environmental and Health Monitoring System with BME280 and MAX30102 Sensors
Image of Petora_protoboard_v1: A project utilizing Seeed Studio XIAO MG24 sense in a practical application
This circuit features an XIAO ESP32C3 microcontroller interfaced with a BME/BMP280 sensor for environmental data and a MAX30102 sensor for heart rate and oxygen level monitoring. The microcontroller reads data from these sensors via I2C communication and includes a simple program to blink an LED and print a test message to the serial monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Seeed Studio XIAO MG24 sense

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of SOS System : A project utilizing Seeed Studio XIAO MG24 sense in a practical application
Solar-Powered GSM/GPRS+GPS Tracker with Seeeduino XIAO
This circuit features an Ai Thinker A9G development board for GSM/GPRS and GPS/BDS connectivity, interfaced with a Seeeduino XIAO microcontroller for control and data processing. A solar cell, coupled with a TP4056 charging module, charges a 3.3V battery, which powers the system through a 3.3V regulator ensuring stable operation. The circuit likely serves for remote data communication and location tracking, with the capability to be powered by renewable energy and interfaced with additional sensors or input devices via the Seeeduino XIAO.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of circuit diagram: A project utilizing Seeed Studio XIAO MG24 sense in a practical application
ESP32-Based Multi-Sensor Health Monitoring System with Bluetooth Connectivity
This circuit features an ESP32-WROOM-32UE microcontroller as the central processing unit, interfacing with a variety of sensors and modules. It includes a MAX30100 pulse oximeter and heart-rate sensor, an MLX90614 infrared thermometer, an HC-05 Bluetooth module for wireless communication, and a Neo 6M GPS module for location tracking. All components are powered by a common voltage supply and are connected to specific GPIO pins on the ESP32 for data exchange, with the sensors using I2C communication and the modules using UART.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of PET COLLAR: A project utilizing Seeed Studio XIAO MG24 sense in a practical application
Raspberry Pi Zero W-Based Health Monitoring System with LoRa and GPS
This circuit is a multi-sensor data acquisition system powered by a Raspberry Pi Zero W. It integrates various sensors including a temperature sensor (LM35), an MPU-6050 accelerometer and gyroscope, a MAX30102 pulse oximeter, a GPS module, and a LoRa module for wireless communication. The system collects environmental and physiological data, which can be transmitted wirelessly via the LoRa module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Petora_protoboard_v1: A project utilizing Seeed Studio XIAO MG24 sense in a practical application
ESP32C3-Based Environmental and Health Monitoring System with BME280 and MAX30102 Sensors
This circuit features an XIAO ESP32C3 microcontroller interfaced with a BME/BMP280 sensor for environmental data and a MAX30102 sensor for heart rate and oxygen level monitoring. The microcontroller reads data from these sensors via I2C communication and includes a simple program to blink an LED and print a test message to the serial monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Wireless sensor networks
  • Smart home automation
  • Wearable devices
  • Environmental monitoring
  • Industrial IoT systems
  • Prototyping BLE/Zigbee-enabled devices

Technical Specifications

The Seeed Studio XIAO MG24 Sense is packed with features that make it a powerful yet compact microcontroller board. Below are its key technical specifications:

Key Technical Details

Specification Value
Microcontroller Silicon Labs EFR32MG24 (MG24)
Wireless Communication Bluetooth Low Energy (BLE) 5.3, Zigbee
Operating Voltage 3.3V
Input Voltage Range 3.3V - 5V
Digital I/O Pins 11
Analog Input Pins 4 (12-bit ADC)
PWM Output Pins 6
Flash Memory 1 MB
RAM 96 KB
Clock Speed 78 MHz
Dimensions 21 x 17.5 mm
Operating Temperature Range -40°C to +85°C

Pin Configuration and Descriptions

The XIAO MG24 Sense features a total of 14 pins, including power, digital, and analog pins. Below is the pinout description:

Pin Number Pin Name Function Description
1 3V3 Power 3.3V output for powering external devices
2 GND Ground Ground connection
3 D0 Digital I/O, PWM General-purpose digital pin
4 D1 Digital I/O, PWM General-purpose digital pin
5 D2 Digital I/O, PWM General-purpose digital pin
6 D3 Digital I/O, PWM General-purpose digital pin
7 D4 Digital I/O, PWM General-purpose digital pin
8 D5 Digital I/O, PWM General-purpose digital pin
9 A0 Analog Input 12-bit ADC input
10 A1 Analog Input 12-bit ADC input
11 A2 Analog Input 12-bit ADC input
12 A3 Analog Input 12-bit ADC input
13 SWDIO Debugging Serial Wire Debug I/O
14 SWCLK Debugging Serial Wire Debug Clock

Usage Instructions

The Seeed Studio XIAO MG24 Sense is easy to integrate into IoT projects. Below are the steps to use it effectively:

How to Use the Component in a Circuit

  1. Power the Board: Connect the board to a 3.3V or 5V power source via the 3V3 and GND pins.
  2. Connect Sensors/Actuators: Use the digital (D0-D5) and analog (A0-A3) pins to interface with sensors, actuators, or other peripherals.
  3. Wireless Communication: Utilize the BLE or Zigbee capabilities for wireless data transmission.
  4. Programming: Use the Arduino IDE or Silicon Labs Simplicity Studio to program the board. The board supports Arduino libraries for BLE and Zigbee.

Important Considerations and Best Practices

  • Ensure the input voltage does not exceed 5V to avoid damaging the board.
  • Use appropriate pull-up or pull-down resistors for digital inputs if required.
  • For wireless communication, ensure the board is within the recommended range of the receiving device.
  • Avoid exposing the board to temperatures outside the operating range (-40°C to +85°C).

Example Code for Arduino UNO Integration

Below is an example of how to use the XIAO MG24 Sense to read sensor data and transmit it via BLE:

#include <ArduinoBLE.h> // Include the Arduino BLE library

// Define a BLE service and characteristic
BLEService sensorService("180A"); // Custom service UUID
BLEFloatCharacteristic sensorDataChar("2A6E", BLERead | BLENotify);

void setup() {
  Serial.begin(9600); // Initialize serial communication
  while (!Serial);

  // Initialize BLE
  if (!BLE.begin()) {
    Serial.println("Failed to initialize BLE!");
    while (1);
  }

  Serial.println("BLE initialized.");

  // Set up BLE service and characteristic
  BLE.setLocalName("XIAO_MG24_Sense");
  BLE.setAdvertisedService(sensorService);
  sensorService.addCharacteristic(sensorDataChar);
  BLE.addService(sensorService);

  // Start advertising
  BLE.advertise();
  Serial.println("BLE advertising started.");
}

void loop() {
  // Simulate sensor data (e.g., temperature in Celsius)
  float sensorData = 25.0 + random(-5, 5) * 0.1;

  // Update BLE characteristic with sensor data
  sensorDataChar.writeValue(sensorData);

  // Print data to serial monitor
  Serial.print("Sensor Data: ");
  Serial.println(sensorData);

  delay(1000); // Wait 1 second before sending the next update
}

Troubleshooting and FAQs

Common Issues Users Might Face

  1. Board Not Detected by IDE:

    • Ensure the correct board and port are selected in the Arduino IDE.
    • Install the necessary board support package for the XIAO MG24 Sense.
  2. BLE Connection Fails:

    • Verify that the receiving device supports BLE 5.3.
    • Ensure the board is within the recommended range of the receiving device.
  3. Sensor Data Not Accurate:

    • Check the sensor connections and ensure proper calibration.
    • Verify that the power supply is stable and within the recommended range.
  4. Overheating:

    • Ensure the board is not exposed to high ambient temperatures.
    • Avoid drawing excessive current from the 3V3 pin.

Solutions and Tips for Troubleshooting

  • Use a multimeter to check the voltage levels on the power pins.
  • Update the firmware or bootloader if the board behaves unexpectedly.
  • Refer to the official Seeed Studio documentation for advanced debugging techniques.

By following this documentation, you can effectively utilize the Seeed Studio XIAO MG24 Sense in your IoT projects.