Seeed Studio XIAO ESP32C6
A thumb-size 21 × 17.8 mm ESP32-C6 board with 4 MB in-package flash, native USB on a Type-C connector, LiPo charging and an on-board antenna switch between a ceramic antenna and a U.FL connector (GPIO3/GPIO14). Eleven GPIOs sit on the two 7-pin edges.
Pinout
Which pins to use
Free to use (9)
- GPIO0
- GPIO1
- GPIO2
- GPIO18
- GPIO19
- GPIO20
- GPIO21
- GPIO22
- GPIO23
Usable, with care (2)
- GPIO16 — UART0 console
- GPIO17 — UART0 console
Avoid (0)
- —
Derived from the chip and board data on this site (pin roles, strapping pins, on-board parts). “Free” still means: check the pin table for ADC/touch channels. Try your own combination in the pin planner.
Arduino IDE
Default pins from the variant's pins_arduino.h in arduino-esp32 3.3.12; this is what Wire.begin(), SPI.begin() and Serial0 use without arguments.
On-board connections
| GPIO15 | User LED13 |
| GPIO9 | BOOT button1 |
| GPIO3 | RF switch power (low = RF switch control enabled)1 |
| GPIO14 | Antenna select: low = on-board ceramic antenna, high = external U.FL antenna1 |
Things to know
The board has a ceramic antenna and a U.FL connector behind an RF switch. GPIO3 low enables the switch control, then GPIO14 selects the antenna: low for the ceramic one (default), high for the external one. pins_arduino.h names these pins WIFI_ENABLE and WIFI_ANT_CONFIG. Keep both pins free in your own wiring.13
The ESP32-C6 strapping pins are GPIO4, 5, 8, 9 and 15. None of them is on the edge pins: GPIO9 is the BOOT button, GPIO15 drives the user LED, and GPIO4/GPIO5 are the MTMS/MTDI test pads.51
Besides the 14 edge pins, the schematic has test pads TP1–TP8 for 3V3, BOOT, GND, MTMS (GPIO4), MTDI (GPIO5), MTCK (GPIO6), MTDO (GPIO7) and EN. The battery is soldered to two separate pads.21
When the board runs from the battery, the 5V pin carries no voltage. Battery voltage can only be read through an external divider, for example into A0.1
If the port disappears or uploads fail, hold BOOT while plugging in the USB cable (or hold BOOT and press Reset), then upload again.1
Pin table
| Header | # | Label | GPIO | Functions |
|---|---|---|---|---|
| left1 | 1 | D0 | GPIO0 | ADC1_CH0 XTAL_32K |
| left | 2 | D1 | GPIO1 | ADC1_CH1 XTAL_32K |
| left | 3 | D2 | GPIO2 | ADC1_CH2 |
| left | 4 | D3 | GPIO21 | SS |
| left | 5 | D4 | GPIO22 | SDA |
| left | 6 | D5 | GPIO23 | SCL |
| left | 7 | D6 | GPIO16 | TX |
| right1 | 1 | 5V | 5V | |
| right | 2 | GND | GND | |
| right | 3 | 3V3 | 3V3 | |
| right | 4 | D10 | GPIO18 | MOSI |
| right | 5 | D9 | GPIO20 | MISO |
| right | 6 | D8 | GPIO19 | SCK |
| right | 7 | D7 | GPIO17 | RX |
Specifications
| Board | |
|---|---|
| Module / chip | ESP32-C6FH4 chip soldered directly on the board (no module)21 |
| Flash | 4 MB, in the chip package (ESP32-C6FH4)15 |
| PSRAM | — |
| USB | USB Type-C wired to the ESP32-C6 USB pins (USB_DP/USB_DN nets), 5 V input2 |
| USB-to-UART bridge | — |
| LEDs | One user LED on GPIO15 and a red charge-status LED13 |
| Buttons | Reset button (CHIP_PU) and Boot button (GPIO9)1 |
| Size | 21 × 17.8 mm1 |
| Power | 5 V over Type-C or a 3.7 V lithium battery on the BAT pads (on-board charger)1 |
Product page: https://www.seeedstudio.com/Seeed-Studio-XIAO-ESP32C6-p-5884.html
Where the sources disagree
- Colour of the user LED. The wiki calls it an orange LED; the schematic marks the GPIO15 LED (D4) as Yellow. The colour is not published.12
- Bluetooth LE version. The wiki says Bluetooth 5.3 in the introduction and Bluetooth Low Energy 5.0 in the specification table. Not used on the board page; the chip page carries the datasheet value.11
Sources
Each number on this page links here. Open “What it confirms” to see the exact quote behind every value. Checked 2026-11-28.
- Seeed Studio Wiki: Getting Started with Seeed Studio XIAO ESP32C6 primary
What it confirms (22)
- Seeed Studio XIAO ESP32C6: header left pins “| D0 | Analog | GPIO0 | … | D1 | Analog | GPIO1 | … | D2 | Analog | GPIO2 | … | D3 | Digital | GPIO21 | … | D4 | SDA | GPIO22 | … | D5 | SCL | GPIO23 | … | D6 | TX | GPIO16 |”
- Seeed Studio XIAO ESP32C6: header right pins “| 5V | VBUS | | | Power Input/Output … | 3V3 | 3V3_OUT | | | Power Output … | D10 | MOSI | GPIO18 | … | D9 | MISO | GPIO20 | … | D8 | SCK | GPIO19 | … | D7 | RX | GPIO17 |”
- Seeed Studio XIAO ESP32C6: Module / chip “Seeed Studio XIAO ESP32C6 is powered by the highly-integrated ESP32-C6 SoC”
- Seeed Studio XIAO ESP32C6: Flash “512KB SRAM & 4MB Flash”
- Seeed Studio XIAO ESP32C6: User LED “| Light | | GPIO15 | | User Light”
- Seeed Studio XIAO ESP32C6: BOOT button “| Boot | | GPIO9 | | Enter Boot Mode”
- Seeed Studio XIAO ESP32C6: RF switch power (low = RF switch control enabled) “| RF Switch Power | | GPIO3 | | Power … you must first set GPIO3 to a low level, as this activates the RF switch control”
- Seeed Studio XIAO ESP32C6: Antenna select: low = on-board ceramic antenna, high = external U.FL antenna “| RF Switch Port Select | | GPIO14 | | Switch onboard antenna and the UFL antenna … GPIO14 Low Level (Default Setting): The device uses the built-in ceramic antenna. … GPIO14 High Level: The device switches to the external antenna.”
- Seeed Studio XIAO ESP32C6: Antenna switch on GPIO3 and GPIO14 “toggle between the built-in ceramic antenna and an external antenna by configuring GPIO14 … you must first set GPIO3 to a low level … digitalWrite(WIFI_ANT_CONFIG, HIGH); // digitalWrite(14, HIGH); // Use external antenna”
- Seeed Studio XIAO ESP32C6: Strapping pins are not on the edge “| MTMS | | GPIO4 | | JTAG, ADC … | MTDI | | GPIO5 | | JTAG, ADC … | Boot | | GPIO9 | | Enter Boot Mode … | Light | | GPIO15 | | User Light”
- Seeed Studio XIAO ESP32C6: JTAG test pads “| MTDO | | GPIO7 | | JTAG … | MTDI | | GPIO5 | | JTAG, ADC … | MTCK | | GPIO6 | | JTAG, ADC … | MTMS | | GPIO4 | | JTAG, ADC … The negative electrode pad should be located on the left side”
- Seeed Studio XIAO ESP32C6: No 5 V on battery power “When using battery power, no voltage will be present on the 5V pin. … you'll need to solder a 200k resistor in a 1:2 configuration”
- Seeed Studio XIAO ESP32C6: Bootloader mode “Press and hold the BOOT button on the XIAO ESP32C6 without releasing it. … When you press and hold the BOOT key while powering up and then press the Reset key once, you can also enter BootLoader mode.”
- Seeed Studio XIAO ESP32C6: header left “| D0 | Analog | GPIO0 | … | D1 | Analog | GPIO1 | … | D2 | Analog | GPIO2 | … | D3 | Digital | GPIO21 | … | D4 | SDA | GPIO22 | … | D5 | SCL | GPIO23 | … | D6 | TX | GPIO16 |”
- Seeed Studio XIAO ESP32C6: header right “| 5V | VBUS | | | Power Input/Output … | 3V3 | 3V3_OUT | | | Power Output … | D10 | MOSI | GPIO18 | … | D9 | MISO | GPIO20 | … | D8 | SCK | GPIO19 | … | D7 | RX | GPIO17 |”
- Seeed Studio XIAO ESP32C6: LEDs “| Light | | GPIO15 | | User Light … red indicator light for battery charging”
- Seeed Studio XIAO ESP32C6: Buttons “1x Reset button … 1x Boot button … | Boot | | GPIO9 | | Enter Boot Mode”
- Seeed Studio XIAO ESP32C6: Size “| Dimensions | 21 x 17.8mm”
- Seeed Studio XIAO ESP32C6: Power “Input voltage (Type-C): 5V … Input voltage (BAT): 3.7V … support for lithium battery charge management”
- Seeed Studio XIAO ESP32C6: discrepancy (Colour of the user LED) “the orange LED on the right side of the XIAO ESP32C6 is blinking”
- Seeed Studio XIAO ESP32C6: discrepancy (Bluetooth LE version) “Bluetooth® 5.3”
- Seeed Studio XIAO ESP32C6: discrepancy (Bluetooth LE version) “Bluetooth Low Energy 5.0”
- Seeed Studio: XIAO ESP32-C6 v1.0 schematic (XIAO_ESP32_C6_v1.0_SCH_260114.pdf) primary
What it confirms (5)
- Seeed Studio XIAO ESP32C6: orientation “XIAO ESP32-C6 … GPIO21/SDIO_D1 … GPIO18/SDIO_CMD … D6/TX … D7/RX … 3V3_OUT”
- Seeed Studio XIAO ESP32C6: Module / chip “ESP32-C6FH4”
- Seeed Studio XIAO ESP32C6: USB “USB_DP … USB_DN … Input voltage (Type-C): 5V”
- Seeed Studio XIAO ESP32C6: JTAG test pads “TP1 3V3 … TP2 BOOT … TP3 GND … TP4 MTMS … TP5 MTDI … TP6 MTCK … TP7 MTDO … TP8 EN”
- Seeed Studio XIAO ESP32C6: discrepancy (Colour of the user LED) “Yellow”
- arduino-esp32 3.3.12: variants/XIAO_ESP32C6/pins_arduino.h primary
What it confirms (12)
- Seeed Studio XIAO ESP32C6: TX “static const uint8_t TX = 16;”
- Seeed Studio XIAO ESP32C6: RX “static const uint8_t RX = 17;”
- Seeed Studio XIAO ESP32C6: SDA “static const uint8_t SDA = 22;”
- Seeed Studio XIAO ESP32C6: SCL “static const uint8_t SCL = 23;”
- Seeed Studio XIAO ESP32C6: SS “static const uint8_t SS = 21;”
- Seeed Studio XIAO ESP32C6: MOSI “static const uint8_t MOSI = 18;”
- Seeed Studio XIAO ESP32C6: MISO “static const uint8_t MISO = 20;”
- Seeed Studio XIAO ESP32C6: SCK “static const uint8_t SCK = 19;”
- Seeed Studio XIAO ESP32C6: LED_BUILTIN “#define LED_BUILTIN LED_BUILTIN”
- Seeed Studio XIAO ESP32C6: User LED “LED_BUILTIN = 15”
- Seeed Studio XIAO ESP32C6: Antenna switch on GPIO3 and GPIO14 “WIFI_ENABLE = 3 … WIFI_ANT_CONFIG = 14”
- Seeed Studio XIAO ESP32C6: LEDs “LED_BUILTIN = 15”
- arduino-esp32 3.3.12: boards.txt primary
What it confirms (1)
- Seeed Studio XIAO ESP32C6: Arduino board “XIAO_ESP32C6.name=XIAO_ESP32C6”
- ESP32-C6 Series Datasheet v1.6 primary
What it confirms (2)
- Seeed Studio XIAO ESP32C6: Flash “ESP32-C6FH4 4 MB (Quad SPI)”
- Seeed Studio XIAO ESP32C6: Strapping pins are not on the edge “GPIO4, GPIO5, GPIO8, GPIO9, GPIO15 : Strapping pins.”