

The XIAO ESP32-C6 is a compact and powerful microcontroller board built around the ESP32-C6 chip. It supports both Wi-Fi 6 and Bluetooth 5.0 Low Energy (BLE), making it an excellent choice for Internet of Things (IoT) applications and projects requiring robust wireless communication. Its small form factor and versatile features make it suitable for wearable devices, smart home systems, and other embedded applications.








The XIAO ESP32-C6 offers a range of features and specifications that make it a versatile microcontroller for various applications.
| Specification | Value |
|---|---|
| Microcontroller | ESP32-C6 |
| Wireless Connectivity | Wi-Fi 6, Bluetooth 5.0 LE |
| Operating Voltage | 3.3V |
| Input Voltage Range | 5V (via USB-C) |
| Flash Memory | 4MB |
| SRAM | 512KB |
| GPIO Pins | 11 (including multifunctional pins) |
| Communication Interfaces | UART, I2C, SPI, ADC, PWM |
| Dimensions | 21mm x 17.5mm |
| Power Consumption | Ultra-low power modes supported |
The XIAO ESP32-C6 features a total of 11 GPIO pins, which can be configured for various functions. Below is the pinout description:
| Pin Number | Pin Name | Functionality |
|---|---|---|
| 1 | 3V3 | 3.3V Power Output |
| 2 | GND | Ground |
| 3 | GPIO0 | General Purpose I/O, ADC, PWM |
| 4 | GPIO1 | General Purpose I/O, ADC, PWM |
| 5 | GPIO2 | General Purpose I/O, ADC, PWM |
| 6 | GPIO3 | General Purpose I/O, UART TX, PWM |
| 7 | GPIO4 | General Purpose I/O, UART RX, PWM |
| 8 | GPIO5 | General Purpose I/O, I2C SDA, PWM |
| 9 | GPIO6 | General Purpose I/O, I2C SCL, PWM |
| 10 | GPIO7 | General Purpose I/O, SPI MOSI, PWM |
| 11 | GPIO8 | General Purpose I/O, SPI MISO, PWM |
The XIAO ESP32-C6 is easy to integrate into your projects. Below are the steps to get started and important considerations for using the board.
Powering the Board:
Connecting Peripherals:
Programming the Board:
The following example demonstrates how to connect the XIAO ESP32-C6 to a Wi-Fi network and send data to a server:
#include <WiFi.h>
// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_PASSWORD";
void setup() {
Serial.begin(115200); // Initialize serial communication at 115200 baud
delay(1000);
// Connect to Wi-Fi
Serial.println("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 Computer:
Wi-Fi Connection Fails:
Code Upload Fails:
Peripherals Not Responding:
Q: Can I power the XIAO ESP32-C6 with a battery?
A: Yes, you can use a 3.7V LiPo battery connected to the 3V3 pin, but ensure the voltage is regulated to 3.3V.
Q: Does the board support deep sleep mode?
A: Yes, the ESP32-C6 supports ultra-low power deep sleep mode for energy-efficient applications.
Q: Can I use the XIAO ESP32-C6 with MicroPython?
A: Yes, the ESP32-C6 is compatible with MicroPython. You can flash the MicroPython firmware and use it for programming.
Q: What is the maximum range of Wi-Fi and Bluetooth?
A: The range depends on environmental factors, but typically Wi-Fi can reach up to 50m indoors and 200m outdoors, while Bluetooth LE has a range of up to 100m in ideal conditions.
This concludes the documentation for the XIAO ESP32-C6. For further assistance, refer to the official datasheet or community forums.