

The XIAO ESP32 C3 is a compact and powerful microcontroller board developed by Seeed Studio, featuring the ESP32-C3 chip. This board is designed for IoT (Internet of Things) applications, offering built-in Wi-Fi and Bluetooth Low Energy (BLE) capabilities. Its small form factor and robust wireless connectivity make it an excellent choice for projects requiring efficient communication and minimal space.








Below are the key technical details of the XIAO ESP32 C3:
| 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 | 5V (via USB-C) |
| GPIO Pins | 11 (including ADC, PWM, I2C, SPI, UART) |
| ADC Resolution | 12-bit |
| 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 5 µA) |
| Operating Temperature | -40°C to 85°C |
The XIAO ESP32 C3 features a total of 11 GPIO pins, which are multifunctional and can be configured for various purposes. Below is the pinout description:
| Pin | Name | Function |
|---|---|---|
| 1 | 3V3 | 3.3V power output |
| 2 | GND | Ground |
| 3 | D0 | GPIO0, ADC, UART TX |
| 4 | D1 | GPIO1, ADC, UART RX |
| 5 | D2 | GPIO2, ADC, PWM |
| 6 | D3 | GPIO3, ADC, PWM |
| 7 | D4 | GPIO4, ADC, PWM |
| 8 | D5 | GPIO5, ADC, PWM |
| 9 | D6 | GPIO6, ADC, PWM |
| 10 | D7 | GPIO7, ADC, PWM |
| 11 | RST | Reset pin |
Powering the Board:
Programming the Board:
Connecting Peripherals:
Wireless Communication:
WiFi.h and BLEDevice.h can be used for programming.Below is an example of using the XIAO ESP32 C3 to connect to a Wi-Fi network and send data to a server:
#include <WiFi.h> // Include the Wi-Fi library
// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_PASSWORD";
void setup() {
Serial.begin(115200); // Initialize serial communication
delay(1000);
// Connect to Wi-Fi
Serial.print("Connecting to Wi-Fi");
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("\nWi-Fi connected!");
Serial.print("IP Address: ");
Serial.println(WiFi.localIP()); // Print the device's IP address
}
void loop() {
// Add your main code here
}
Board Not Detected by Arduino IDE:
Wi-Fi Connection Fails:
Power Issues:
Code Upload Fails:
Q: Can I use the XIAO ESP32 C3 with a 5V sensor?
A: No, the XIAO ESP32 C3 operates at 3.3V logic levels. Use a level shifter to interface with 5V sensors.
Q: How do I enable deep sleep mode?
A: Use the esp_deep_sleep_start() function in your code to put the board into deep sleep mode.
Q: Is the XIAO ESP32 C3 compatible with MicroPython?
A: Yes, the XIAO ESP32 C3 supports MicroPython. You can flash the MicroPython firmware to the board and use it for programming.
Q: Can I use the board for Bluetooth communication?
A: Yes, the XIAO ESP32 C3 supports Bluetooth 5.0 LE. Use the BLEDevice.h library for Bluetooth programming.