

The XIAO ESP32C3 by Seeed Studio is a compact microcontroller board powered by the ESP32-C3 chip. It features built-in Wi-Fi and Bluetooth Low Energy (BLE) capabilities, making it an excellent choice for IoT applications, smart devices, and rapid prototyping. Its small form factor and low power consumption make it ideal for wearable devices, home automation, and other space-constrained projects.








The following table outlines the key technical details of the XIAO ESP32C3:
| Specification | Details |
|---|---|
| Microcontroller | ESP32-C3 RISC-V single-core processor |
| Clock Speed | Up to 160 MHz |
| Flash Memory | 4 MB |
| SRAM | 400 KB |
| Wireless Connectivity | Wi-Fi 802.11 b/g/n (2.4 GHz), Bluetooth 5.0 (LE) |
| Operating Voltage | 3.3V |
| Input Voltage Range | 5V (via USB-C) |
| GPIO Pins | 11 (including ADC, PWM, I2C, SPI, UART) |
| ADC Resolution | 12-bit |
| Interfaces | I2C, SPI, UART, GPIO, ADC, PWM |
| USB Interface | USB-C (supports programming and power supply) |
| Dimensions | 21 x 17.5 mm |
| Power Consumption | Ultra-low power consumption in deep sleep mode (as low as 44 µA) |
| Operating Temperature | -40°C to 85°C |
The XIAO ESP32C3 has a total of 11 GPIO pins, which are multifunctional. Below is the pinout description:
| Pin | Function | Description |
|---|---|---|
| 0 | GPIO0, ADC, PWM | General-purpose I/O, Analog input, Pulse Width Modulation |
| 1 | GPIO1, ADC, PWM | General-purpose I/O, Analog input, Pulse Width Modulation |
| 2 | GPIO2, ADC, PWM | General-purpose I/O, Analog input, Pulse Width Modulation |
| 3 | GPIO3, ADC, PWM | General-purpose I/O, Analog input, Pulse Width Modulation |
| 4 | GPIO4, ADC, PWM | General-purpose I/O, Analog input, Pulse Width Modulation |
| 5 | GPIO5, UART TX, PWM | General-purpose I/O, UART Transmit, Pulse Width Modulation |
| 6 | GPIO6, UART RX, PWM | General-purpose I/O, UART Receive, Pulse Width Modulation |
| 7 | GPIO7, I2C SDA, PWM | General-purpose I/O, I2C Data Line, Pulse Width Modulation |
| 8 | GPIO8, I2C SCL, PWM | General-purpose I/O, I2C Clock Line, Pulse Width Modulation |
| 9 | GPIO9, SPI MOSI, PWM | General-purpose I/O, SPI Master Out Slave In, Pulse Width Modulation |
| 10 | GPIO10, SPI MISO, PWM | General-purpose I/O, SPI Master In Slave Out, Pulse Width Modulation |
Powering the Board:
Programming the Board:
Connecting Peripherals:
The following example demonstrates how to blink an LED connected to GPIO2:
// Define the GPIO pin for the LED
#define LED_PIN 2
void setup() {
// Set the LED pin as an output
pinMode(LED_PIN, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(LED_PIN, HIGH);
delay(1000); // Wait for 1 second
// Turn the LED off
digitalWrite(LED_PIN, LOW);
delay(1000); // Wait for 1 second
}
The board is not detected by the computer:
Code upload fails:
Wi-Fi connection issues:
Q: Can I power the XIAO ESP32C3 with a battery?
A: Yes, you can power the board using a 3.7V LiPo battery connected to the 3.3V and GND pins. Ensure proper voltage regulation.
Q: Does the board support OTA (Over-the-Air) updates?
A: Yes, the ESP32-C3 chip supports OTA updates. You can implement this feature in your code.
Q: How do I reset the board?
A: Press the reset button located on the board to restart it.
Q: Can I use the XIAO ESP32C3 with MicroPython?
A: Yes, the board supports MicroPython. You can flash the MicroPython firmware and use it for development.
By following this documentation, you can effectively utilize the XIAO ESP32C3 for your IoT and prototyping projects.