XIAO ESP32C3

Tiny ESP32-C3 board with USB-C and rich I/O - great for wearable tech, embedded controllers, and rapid prototyping.

USB-C Native USB
XIAO ESP32C3 board
21 × 17.5 mm
ESP32-C3
RISC-V MCU
160MHz
clock
4MB
flash
400KB
SRAM
11· 4 ADC
GPIO
BLE 5.0+ WiFi
radio
On this page

Pinout

14 pins · 2.54 mm pitch
View:
XIAO ESP32C3 pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
12D0A0GPIO2strappingadc · pwm
23D1A1GPIO3safeadc · pwm
34D2A2GPIO4strappingadc · pwm
45D3A3GPIO5strappingadc · pwmADC2; analog readings may be unreliable compared to ADC1
56D4SDAGPIO6strappingi2c · pwm
67D5SCLGPIO7strappingi2c · pwm
721D6TXGPIO21uartuart · pwm
8-5Vpower-5V power input/output
9-GNDground-
10-3V3power-3.3V power
1110D10MOSIGPIO10safespi · pwm
129D9MISOGPIO9strappingspi · pwm
138D8SCKGPIO8strappingspi · pwm
1420D7RXGPIO20uartuart · pwm

Start with these

2 pins with no boot or system involvement
D1A1D10MOSI

Freely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.

Fine - with a little care

sampled at boot or shared with debug/serial
PinLabelWhat to knowRole
D0GPIO2Must be held high during boot (if low on reset, normal flash boot may fail)Strapping
D2MTMSUsed during boot; JTAG TMS for debugging; acts as Quad-SPI flash IO (hold data line) in internal-flash variantsJTAG
D3MTDIUsed during boot; JTAG TDI for debugging; acts as Quad-SPI flash IO (write-protect data line) in internal-flash variantsJTAG
D4MTCKUsed during boot; JTAG TCK for debugging; provides flash clock in internal-flash variantsJTAG
D5MTDOUsed during boot; JTAG TDO for debugging; acts as Quad-SPI flash IO (data line) in internal-flash variantsJTAG
D6U0TXDUsed as UART0 transmit (console/bootloader); repurposing may disable serial console output and printingUART
D9GPIO9Controls boot mode on reset (HIGH for normal flash boot, LOW enters serial download mode)Strapping
D8GPIO8Must be held high during reset (if low, UART flashing/boot may not work)Strapping
D7U0RXDUsed as UART0 receive (console/bootloader); repurposing may disable serial programming and debug logsUART
These are recommendations, not hard rules - with the right pull-ups, timing and boot-state awareness most pins can be made to work. When in doubt, start green.
Pinout notes The XIAO ESP32C3 pinout brings out 14 pins at a 2.54 mm pitch - 11 usable GPIO alongside the 5V , GND and 3V3 power rails. Peripheral wiring is…

The XIAO ESP32C3 pinout brings out 14 pins at a 2.54 mm pitch - 11 usable GPIO alongside the 5V, GND and 3V3 power rails.

Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO6 and SCL on GPIO7; the SPI bus (MOSI, MISO, SCK) is broken out in full; TX/RX on GPIO21 and GPIO20 cover serial logging and flashing.

Beyond plain digital I/O you get 4 ADC-capable pins for sensors and battery monitoring and PWM on every GPIO.

9 of the exposed pins carry boot-time or system duties on the ESP32-C3 (D0, D2, D3 and 6 more) - check the guidance above before wiring anything to them. D1 and D10 are free of any such role - the safest first picks.

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Native USB - no driver, no serial chip. Not detected? Hold BOOT while plugging in.
2
Flash with your tool
Arduino IDE, PlatformIO, ESPHome or esptool - copy the settings on the right.
3
Verify it runs
The blink example uses GPIO3 - swap for your board's LED pin if different.
Tools → Board settings Copy
Board:            Xiao Esp32c3
USB CDC On Boot:  Enabled
Flash Size:       4MB · QIO
Upload Speed:     921600

// blink
pinMode(3, OUTPUT);
digitalWrite(3, LOW);   // on (often inverted)
platformio.ini Copy
[env:XIAO_ESP32C3]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
device.yaml Copy
esp32:
  board: esp32-c3-devkitm-1
  variant: XIAO_ESP32C3
  framework:
    type: esp-idf

# blink - GPIO3
output:
  - platform: gpio
    pin: 3
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
shell Copy
esptool.py --chip esp32c3 --port /dev/ttyACM0 \
  write_flash 0x0 firmware.bin
Build details: sketch space 1310720 B · data 327680 B · QIO

Specifications

ESP32-C3 · 21 × 17.5 mm
Compute
MCU
ESP32-C3 · RISC-V
Clock
160 MHz
SRAM · Flash
400 KB · 4MB
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
5.0 LE
Antenna
External
I/O
GPIO · ADC
11 · 4
UART · I²C · SPI
2 · 1 · 3
PWM
6 channels
Power
USB
USB-C
Serial
Native (CDC)
Boot address
0x0
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
QIO · QIO
Sketch · Data
1.25 MB · 320 KB
17.5 mm21 mm
21 × 17.5 mm · pin pitch 2.54 mm
The XIAO ESP32C3 uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is QIO with QIO boot mode. The maximum sketch size is 1.25 MB with 320 KB available for data.

About this board

At 21 × 17.5 mm it's the smallest ESP32-C3 board we've measured.

Inside sits the ESP32-C3 - a single-core RISC-V and the budget low-power pick.

The $10.00 price tag is typical for an ESP32-C3 board.

Around the module: battery charging, status LEDs (Charge) and Reset/Boot buttons.

It flashes over native USB - no serial-converter driver needed, which isn't a given among ESP32-C3 boards.

  • Ultra-small form factor (21x17.5 mm)
  • Low power consumption with deep sleep support
  • Ships with an external u.FL antenna
  • Onboard LiPo charge management via solder pads

Where to buy

prices are typical street prices
XIAO ESP32C3
XIAO ESP32C3
$10.00per unit, typical
As an Amazon Associate, ESPboards earns from qualifying purchases.

Resources

Similar boards