

The XIAO C6, officially known as the XIAO ESP32 C6, is a compact and versatile microcontroller board designed by Xiao for small-scale projects and IoT (Internet of Things) applications. It is powered by the ESP32-C6 chip, which integrates a powerful ARM Cortex-M0+ processor, Wi-Fi 6, Bluetooth 5.0, and IEEE 802.15.4 for Zigbee and Thread protocols. This board is ideal for prototyping, embedded systems, and applications requiring wireless connectivity in a small form factor.








The XIAO C6 is packed with features that make it suitable for a wide range of applications. Below are its key technical specifications:
| Specification | Details |
|---|---|
| Processor | ESP32-C6 with ARM Cortex-M0+ |
| Wireless Connectivity | Wi-Fi 6 (802.11ax), Bluetooth 5.0, Zigbee, Thread |
| Operating Voltage | 3.3V |
| Input Voltage Range | 5V (via USB-C) |
| GPIO Pins | 11 (including analog, digital, PWM, and I2C/SPI/UART support) |
| Flash Memory | 4MB |
| SRAM | 512KB |
| Dimensions | 21mm x 17.5mm |
| Interface | USB-C for programming and power |
| Power Consumption | Ultra-low power consumption for battery-operated applications |
| Operating Temperature | -40°C to 85°C |
The XIAO C6 features a total of 14 pins, including power, GPIO, and communication interfaces. Below is the pinout description:
| Pin | Name | Type | Description |
|---|---|---|---|
| 1 | 3.3V | Power | 3.3V power output for external components |
| 2 | GND | Ground | Ground connection |
| 3 | GPIO0 | Digital/Analog | General-purpose I/O, supports ADC and PWM |
| 4 | GPIO1 | Digital/Analog | General-purpose I/O, supports ADC and PWM |
| 5 | GPIO2 | Digital | General-purpose I/O, supports UART TX |
| 6 | GPIO3 | Digital | General-purpose I/O, supports UART RX |
| 7 | GPIO4 | Digital | General-purpose I/O, supports I2C SDA |
| 8 | GPIO5 | Digital | General-purpose I/O, supports I2C SCL |
| 9 | GPIO6 | Digital | General-purpose I/O, supports SPI MOSI |
| 10 | GPIO7 | Digital | General-purpose I/O, supports SPI MISO |
| 11 | GPIO8 | Digital | General-purpose I/O, supports SPI SCK |
| 12 | RST | Reset | Reset pin for restarting the microcontroller |
| 13 | USB D+ | USB Data | USB data positive line |
| 14 | USB D- | USB Data | USB data negative line |
Powering the Board:
Programming the Board:
Connecting Peripherals:
Wireless Communication:
WiFi.h or BLEDevice.h can be used for programming.Below is an example of using the XIAO C6 to read an analog sensor and send data via Wi-Fi:
#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
WiFi.begin(ssid, password); // Connect to Wi-Fi
// Wait for connection
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to Wi-Fi...");
}
Serial.println("Connected to Wi-Fi!");
}
void loop() {
int sensorValue = analogRead(GPIO0); // Read analog value from GPIO0
Serial.print("Sensor Value: ");
Serial.println(sensorValue);
delay(1000); // Wait for 1 second before reading again
}
Board Not Detected by Computer:
Wi-Fi Connection Fails:
Code Upload Fails:
Peripheral Not Working:
Can the XIAO C6 operate on battery power?
Yes, it can be powered by a 3.3V battery connected to the 3.3V pin.
Does the XIAO C6 support OTA updates?
Yes, the ESP32-C6 chip supports Over-The-Air (OTA) updates for firmware.
What is the maximum Wi-Fi range?
The range depends on environmental factors but typically extends up to 50 meters indoors.
Can I use the XIAO C6 with MicroPython?
Yes, the XIAO C6 supports MicroPython. You can flash the MicroPython firmware to the board.
This concludes the documentation for the XIAO C6. For further assistance, refer to the official Xiao documentation or community forums.