Skip to content

Guide

XIAO ESP32C6 Pinout Guide: Every GPIO on Seeed's Matter-Ready Tiny Board

A complete Seeed XIAO ESP32C6 pinout reference — all 11 GPIOs, ADC, boot-sensitive pins, and the WiFi 6 / BLE 5.3 / Thread-Zigbee radio set packed into a thumbnail-sized board.

  • 6 min read
  • Updated November 7, 2026
XIAO ESP32C6 Pinout Guide: Every GPIO on Seeed's Matter-Ready Tiny Board

The XIAO ESP32C6 takes Espressif's Matter-ready chip -- WiFi 6, Bluetooth 5.3, and a Zigbee/Thread radio all on one die -- and shrinks it down to Seeed's familiar 21 x 17.5mm thumbnail form factor. It's the board to reach for when a project wants the C6's triple-radio capability but can't spare the real estate a full-size ESP32-C6 DevKitC-1 needs, and it's rapidly become one of the most-recommended boards for compact Matter and Thread end devices for exactly that reason.

Like every board in the XIAO line, the trade-off is pin count. The full-size C6 DevKitC-1 breaks out around 22-23 GPIOs; the XIAO breaks out just 11. The chip's low-power RISC-V core and full radio set carry over unchanged -- what's smaller here is purely the physical header, not the silicon's capability.

Quick answer: the XIAO ESP32C6 has 11 GPIO pins, D0–D10. D0–D2 are the analog inputs and the only pins that can wake the board from deep sleep. I2C is on D4/D5, UART on D6/D7, SPI on D8–D10, and none of the header pins is a strapping pin, so any of them is safe to wire at boot.

Below: the full pin map, what each pin can do, the antenna switch most people miss, and how to power the board from a battery.

Seeed Studio XIAO ESP32C6 pinout: D0–D10 with GPIO numbers, ADC, I2C, SPI and UART roles, plus 5V, 3V3 and GND. Board photo: Seeed Studio; pin map: SolderHub

Pin Map: D-Pins to GPIO Numbers

The header has 14 pins: 11 GPIOs (D0–D10) plus 5V, GND and 3V3. In the Arduino IDE you can use either the D-names or the GPIO numbers; the D-names make sketches portable across other XIAO boards.

PinGPIOAnalogDefault roleNotes
D0GPIO0A0—LP GPIO: can wake from deep sleep
D1GPIO1A1—LP GPIO: can wake from deep sleep
D2GPIO2A2—LP GPIO: can wake from deep sleep
D3GPIO21——General I/O
D4GPIO22—I2C SDA
D5GPIO23—I2C SCL
D6GPIO16—UART TXSerial1 TX
D7GPIO17—UART RXSerial1 RX
D8GPIO19—SPI SCK
D9GPIO20—SPI MISO
D10GPIO18—SPI MOSI
sketch.ino
pinMode(D0, OUTPUT);
digitalWrite(D0, HIGH);

Boot-Sensitive Pins: None on the Header

The ESP32-C6 has five strapping pins, GPIO4, GPIO5, GPIO8, GPIO9 and GPIO15, and none of them is wired to D0–D10. GPIO9 is the onboard BOOT button and GPIO15 drives the small user LED, so you can wire any header pin without worrying about the board refusing to boot. That's one advantage this tiny board has over the full-size DevKitC-1.

USB

The USB-C connector runs from the chip's native USB peripheral and doesn't use any header pin. For Serial.print() output over USB, set Tools → USB CDC On Boot → Enabled in the Arduino IDE.

ADC Pins

Three analog inputs are broken out: A0, A1 and A2 on D0–D2 (12-bit ADC1).

sketch.ino
int reading = analogRead(A0);

That's one fewer than the XIAO ESP32C3. If you need more, an I2C ADC such as the ADS1115 adds four channels on D4/D5.

PWM and I2C

PWM is available on every GPIO through the standard LEDC-based approach.

sketch.ino
ledcAttach(D1, 5000, 8);
ledcWrite(D1, 128); // ~50% duty cycle

I2C defaults to D4 (SDA) and D5 (SCL), so a plain Wire.begin() uses them. You can move it to any other pair with Wire.begin(sda, scl).

sketch.ino
Wire.begin();          // SDA = D4 (GPIO22), SCL = D5 (GPIO23)

SPI and UART

SPI is on D8 (SCK), D9 (MISO) and D10 (MOSI), the same positions as on every XIAO board; pick any free pin for chip select.

The hardware UART is on D6 (TX) and D7 (RX), separate from the USB-C port that the Serial Monitor uses, so a GPS or another microcontroller can talk to Serial1 while you debug over USB.

sketch.ino
Serial1.begin(9600, SERIAL_8N1, D7, D6);   // RX = D7, TX = D6

Deep-Sleep Wake: Only D0–D2

Only the C6's low-power GPIOs, GPIO0–7, can wake it from deep sleep, and the XIAO breaks out three of them: D0, D1 and D2. Put the wake button or PIR sensor on one of those; on D3–D10 the board will simply never wake. The same three pins are the only ones the LP core can read while the main core sleeps.

sketch.ino
// Wake when a button on D1 (GPIO1) pulls the pin HIGH
esp_sleep_enable_ext1_wakeup(1ULL << GPIO_NUM_1, ESP_EXT1_WAKEUP_ANY_HIGH);
esp_deep_sleep_start();

Wireless: The Whole Point of This Board

This is the reason to pick the C6 variant over the more common XIAO ESP32C3: the full ESP32-C6 radio set, unchanged from the full-size chip, in a body a third the size.

RadioStandard
WiFiWiFi 6 (802.11ax), 2.4GHz only
BluetoothBLE 5.3
802.15.4Zigbee, Thread, Matter-over-Thread

For a compact, battery-friendly Matter or Thread end device -- a wearable sensor, a small smart-home accessory -- this is one of the smallest mainstream boards carrying all three radios at once.

The Antenna Switch Most People Miss

The XIAO ESP32C6 has both a small onboard ceramic antenna and a U.FL connector for an external one, chosen by an RF switch on two internal GPIOs. GPIO3 powers the switch and GPIO14 selects the antenna: LOW for the onboard antenna, HIGH for the U.FL socket. If you've plugged in an external antenna and range didn't improve, it isn't selected yet:

sketch.ino
void setup() {
  pinMode(3, OUTPUT);
  digitalWrite(3, LOW);    // enable the RF switch
  pinMode(14, OUTPUT);
  digitalWrite(14, HIGH);  // HIGH = external U.FL antenna, LOW = onboard
}

For anything mounted in a metal enclosure or more than a room away from the router, the external antenna is worth the few dollars.

The Low-Power Core on a Board This Small

The C6's dedicated low-power RISC-V core -- capable of running independently while the main application core sleeps -- carries over unchanged from the full-size chip, and it matters even more here than on a full DevKitC-1. A board this size is almost always destined for battery power, and letting the LP core handle sensor polling or wake-on-threshold logic while the main core (and the radio stack) stays fully asleep is what lets a small LiPo last months instead of days. (Coin cells can't supply the current peaks of Wi-Fi transmission, so plan on a LiPo.)

How the XIAO ESP32C6 Compares

BoardUsable GPIOADCRadiosBest for
XIAO ESP32C3114WiFi 4, BLE 5.0Simple WiFi/BLE projects, lower cost
XIAO ESP32C6113WiFi 6, BLE 5.3, 802.15.4Matter, Thread, Zigbee in a tiny footprint
Full-size ESP32-C6 DevKitC-1~22-237WiFi 6, BLE 5.3, 802.15.4Same radios, more GPIO and ADC headroom

Pick this over the XIAO ESP32C3 specifically when a project needs Matter, Thread, or Zigbee -- otherwise the C3 variant is cheaper for identical GPIO count.

XIAO ESP32C6: the U.FL socket for an external antenna sits next to the built-in ceramic antenna. Board photo: Seeed Studio; labels: SolderHub

Power Pins

PinFunctionNotes
5VPower inputVia USB-C
3V3Regulated 3.3V outputPowers small sensors; can also take a regulated 3.3V supply instead of USB
GNDGround

Like the rest of the XIAO line, a single-cell 3.7 V LiPo solders to the BAT+ and BAT− pads on the underside, and the board charges it whenever USB-C is connected. There is no JST connector, so either solder the leads or add a small JST pigtail. Check the polarity twice: reversing a LiPo on those pads damages the board.

Practical Pin Usage Tips

Plan for 11 pins, not the full chip's GPIO count. It's easy to look up generic ESP32-C6 pin capabilities and forget that this board exposes a fraction of them.

Use the LP core if the project is battery-powered. Same advantage as the full-size C6 -- the low-power RISC-V core can handle wake-up and polling logic while the main core sleeps, which matters even more on a board this size where every milliamp of battery life counts.

Don't expect 5GHz WiFi. Same 2.4GHz-only WiFi 6 as the full-size chip.

Put deep-sleep wake inputs on D0–D2. They're the only header pins in the low-power domain.

Consider the coexistence trade-off on a project running WiFi and Thread simultaneously. Both radios share the 2.4GHz band, so a project pushing both hard at once will see reduced throughput on each -- rarely a problem for typical low-traffic sensor workloads, but worth knowing before designing around continuous simultaneous use.

Summary: XIAO ESP32C6 Pin Reference at a Glance

ItemXIAO ESP32C6
Size21 × 17.5 mm
ChipESP32-C6: RISC-V HP core at 160 MHz + LP core
RadiosWi-Fi 6 (2.4 GHz), Bluetooth LE 5.3, 802.15.4 (Thread, Zigbee)
GPIO11 (D0–D10)
Analog3 (A0–A2 on D0–D2)
Deep-sleep wake pinsD0–D2
AntennaOnboard ceramic + U.FL, selected with GPIO3/GPIO14
PowerUSB-C, 3V3 pin, LiPo pads with charging

Which Projects the XIAO ESP32C6 Actually Fits

A strong fit: a compact Matter-certified sensor or smart-home accessory, a Thread end device joining an existing mesh, or any wearable-scale project that specifically wants WiFi 6's efficiency gains on a congested home network without sacrificing board size.

A weaker fit: projects with no Matter/Thread/Zigbee requirement at all, where the cheaper XIAO ESP32C3 covers the same WiFi/BLE needs for less money, or anything needing more analog input pins than this board's three.

Building a Matter Device on This Board

For anyone specifically targeting Matter certification or compatibility, it's worth knowing the practical workflow this board fits into: Espressif maintains an official Matter SDK (built on top of the open-source Connected Home over IP / Matter codebase) that targets the C6 directly, handling the Thread networking layer, commissioning flow, and cluster definitions a Matter device needs to speak to a controller like Apple Home, Google Home, or Home Assistant. Getting a first Matter device working on this board typically means starting from one of Espressif's example applications (a simple on/off light or sensor cluster) rather than building the Matter stack up from raw GPIO code -- the protocol itself is intricate enough that hand-rolling a compliant implementation from scratch is rarely worth the effort compared to adapting a working example.

Quick Answers to Common XIAO ESP32C6 Pin Questions

How does this differ from the XIAO ESP32C3? The chip -- the C6 adds WiFi 6 and a Zigbee/Thread radio the C3 doesn't have, plus a dedicated low-power core, at a slightly higher price and one fewer ADC pin.

Is this good for a Matter device? Yes -- it's currently one of the smallest boards carrying WiFi 6, BLE, and 802.15.4 all at once, which is exactly the radio combination Matter-over-Thread devices need.

How many usable GPIOs does it have? 11, D0–D10, the same as the rest of the XIAO line.

Why doesn't my external antenna help? It isn't selected. Drive GPIO3 LOW and GPIO14 HIGH in setup() to switch to the U.FL socket.

Can I run it on battery power? Yes -- onboard LiPo charging via a JST connector, and the C6's LP core is specifically useful here for extending battery life.

Does it support 5GHz WiFi? No -- 2.4GHz only, same as the full-size ESP32-C6.

Can I run WiFi and Thread at the same time without issues? Yes, with a minor throughput trade-off -- both radios share 2.4GHz airtime, which the chip's coexistence firmware manages automatically.


Where to Go From Here

Once the 11-pin budget and the LP core's role feel familiar, pairing this board with a Thread border router (or a full-size C6/H2 acting as one) is the natural next step for an actual Matter-connected sensor project. From there, if a project's GPIO needs outgrow this board's 11 pins, the full-size ESP32-C6 DevKitC-1 runs the same code with roughly twice the header pins. Choosing between XIAO boards? Compare the XIAO ESP32C3 and XIAO RP2350.

Continue learning

Related articles

All articles

Signal In

Built from what makers search for

The lookups piling up in SolderHub's search bar every day shape what we publish next — new component pages, board guides, and firmware notes, sent out as they go live.

By subscribing you agree to our Privacy Policy. Unsubscribe anytime.