Reference
AI-C3 Pinout
The complete pin reference for the AI-C3: a compact ESP32-C3-MINI-1 board with two USB-C ports, an RGB LED and 15 GPIOs.
- Single-core RISC-V
- Wi-Fi + Bluetooth LE
- 15 GPIOs
- Two USB-C
Overview
The AI-C3 is a compact development board built around the ESP32-C3-MINI-1 module, on a purple PCB with two USB-C ports, an addressable RGB LED, BOOT and RST buttons and a header of 15 GPIOs on two pin rows, 25.4 mm apart. It uses the same module as the “Super Mini” style boards in the ESP32-C3-MINI-1 guide, but it is a different board with its own layout and its own pin order.
No 802.15.4 radio on this chip, so Thread and Zigbee are not possible here: that needs an ESP32-C6 or H2 instead. Matter works over Wi-Fi. Only badges for what this exact chip supports are shown.
System-on-chip and board
The ESP32-C3 is Espressif’s single-core 32-bit RISC-V chip (up to 160 MHz) with Wi-Fi 4 (802.11 b/g/n, 2.4 GHz only) and Bluetooth 5 LE. It has no Classic Bluetooth, no touch pads and no DAC, but it does have a built-in USB Serial/JTAG controller on GPIO18 and GPIO19. The chip itself has 22 GPIOs, the ESP32-C3-MINI-1 module brings out 15 of them, and the AI-C3 puts all 15 on the header.
| Part | What it does |
|---|---|
| ESP32-C3-MINI-1 | Module with the chip, 4 MB flash, crystal and PCB antenna in one shielded package (13.2 x 16.6 x 2.4 mm) |
| CH9102 | USB-to-serial chip behind the COM port, connected to UART0 (GPIO20 and GPIO21) |
| USB-C, COM | Power, flashing and the serial monitor through the CH9102 |
| USB-C, USB | Power, and the chip’s own USB Serial/JTAG on GPIO18 (D-) and GPIO19 (D+) |
| WS2812 RGB LED | Addressable LED on GPIO8, printed RGB on the board |
| BOOT and RST buttons | BOOT pulls GPIO9 low for download mode, RST pulls the EN pin low and resets the chip |
| LEDs | A PWR LED, and one LED each for TX and RX on the UART |
| Two pin rows | 15 pins per row at 2.54 mm pitch: 15 GPIOs, EN, two 3V3, two 5V and several GND pins |
Getting started
Use the COM port first. The CH9102 USB-to-serial chip behind it needs a driver on some systems (mainly older Windows versions): if the board does not show up as a serial port, install the CH9102 driver before anything else.
Hello World: blink an LED
The microcontroller equivalent of “Hello World”: GPIO10 toggles once a second, shown here in two environments. Wire an LED (with a resistor) to GPIO10, a plain general-purpose pin with no other job on this board.
ESP-IDF (stable v6.1)
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/gpio.h"
#define LED_PIN GPIO_NUM_10
void app_main(void)
{
gpio_reset_pin(LED_PIN);
gpio_set_direction(LED_PIN, GPIO_MODE_OUTPUT);
while (1) {
gpio_set_level(LED_PIN, 1);
vTaskDelay(pdMS_TO_TICKS(1000));
gpio_set_level(LED_PIN, 0);
vTaskDelay(pdMS_TO_TICKS(1000));
}
}
Arduino IDE
#define LED_PIN 10
void setup() {
pinMode(LED_PIN, OUTPUT);
}
void loop() {
digitalWrite(LED_PIN, HIGH);
delay(1000);
digitalWrite(LED_PIN, LOW);
delay(1000);
}
ESP-IDF: build and flash with idf.py build flash monitor. Arduino IDE: install ESP32 board support first, see Getting started above.
Specifications
Specifications for the AI-C3 board and its ESP32-C3-MINI-1 module.
Compute
| Chip | ESP32-C3 |
| CPU | Single-core RISC-V, up to 160 MHz |
| SRAM | 400 KB |
| Flash | 4 MB, inside the module package |
Radio
| Wi-Fi | 802.11 b/g/n, 2.4 GHz |
| Bluetooth | 5.0 LE |
| USB | Built-in USB Serial/JTAG (not a full USB host or device) |
| Security | Secure boot, flash encryption |
Physical
| Operating voltage | 3.3 V |
| Module size | 13.2 x 16.6 x 2.4 mm |
| Board size | about 28.4 x 38.7 mm (read from the drawing) |
| GPIOs | 15 on the header (22 on the chip) |
| ADC | 12-bit, 6 channels on GPIO0 to GPIO5 |
Dimensions
The two pin rows are 25.4 mm apart and each has 15 pins on a 2.54 mm pitch, 35.56 mm from the first to the last pin. The board itself is about 28.4 x 38.7 mm and the module overhangs the top edge of the board.
These sizes are read from the drawing of the board, using the 2.54 mm pin pitch as the scale, and not measured on a board. Check them with a caliper before you design an enclosure.
Pinout diagram
The component side with every header pin, its GPIO number and its functions: ADC channel, JTAG, the default I2C and SPI pins of the Arduino core, the UART and the USB pins. Every pin has its own hole, so the labels simply run out to both sides.
Underside
The underside shows the pin names as printed on the board. The left and right rows are mirrored compared with the component side.
The default pins (SDA 8, SCL 9, SS 7, MOSI 6, MISO 5, SCK 4, TX 21, RX 20) come from the ESP32C3 Dev Module variant in the Arduino ESP32 core. The ADC, JTAG, strapping and USB functions come from the ESP32-C3 data sheet. The board names are as printed on the AI-C3.
GPIO map at a glance
The same pins grouped by what they can do. Only GPIO2, GPIO8 and GPIO9 need care at power-up.
Power
The board runs from either USB-C port. The header has two 5V pins, two 3V3 pins and several GND pins.
| Pin | Use |
|---|---|
| 5V | The 5 V rail of the board. Use it as a 5 V output from USB to power small things, or as a 5 V input when no USB cable is connected |
| 3V3 | The 3.3 V rail for the chip and for sensors. Do not feed it while the board is also powered from USB |
| GND | Several ground pins on both rows |
| EN (printed R) | The reset input of the chip, also wired to the RST button |
The PWR LED shows that the board has power. Use only one power source at a time: a USB-C port, the 5V pins or the 3V3 pins. Motors, servos and LED strips should have their own supply with a shared ground, the board’s regulator is small and is also feeding Wi-Fi.
USB-C, flashing and reset
The AI-C3 has two USB-C ports, printed COM and USB next to the connectors.
| Port | Connected to | Use it for |
|---|---|---|
| COM | CH9102 USB-to-serial chip, UART0 (GPIO20 RX, GPIO21 TX) | Power, flashing and the serial monitor. Start with this one |
| USB | The chip’s own USB Serial/JTAG (GPIO18 D-, GPIO19 D+) | Power, flashing, a serial port (CDC) and JTAG debugging, without a bridge chip |
In the Arduino IDE Serial uses UART0, which is the COM port. To print over the USB port instead, set USB CDC On Boot to Enabled.
If the upload does not start: hold BOOT (GPIO9), tap RST, then release BOOT. That puts the chip in download mode on either port.
| Function | Pin | Description |
|---|---|---|
| BOOT button | GPIO9 | Hold low at reset to enter download mode |
| RST button | EN | Reset the chip |
| USB D- / D+ | GPIO18 / GPIO19 | Built-in USB Serial/JTAG, the USB port |
| UART0 TX / RX | GPIO21 / GPIO20 | Serial, the COM port |
ADC and the pins without it
The ESP32-C3 has two 12-bit ADCs, but only six pins can read analog values, and the chip has no DAC and no touch pads.
| Feature | Pins | Notes |
|---|---|---|
| ADC1 | GPIO0 to GPIO4 | Five channels (ADC1_CH0 to CH4). Use these for analog sensors, also while Wi-Fi is on |
| ADC2 | GPIO5 | One channel (ADC2_CH0). Shares hardware with Wi-Fi, so prefer ADC1 for sensors |
| DAC | none | Use PWM and a filter for an analog output |
| Touch | none | Use a dedicated touch IC or another chip (ESP32-S2 or S3) for capacitive touch |
The ADC input range is small with the default attenuation. Use a voltage divider for signals above the range and never put more than 3.3 V on any pin.
Pins with a second job
- GPIO2, GPIO8 and GPIO9 are strapping pins that the chip reads at power-up. GPIO9 is the BOOT button, GPIO8 drives the RGB LED, so do not hold them low or high with an external circuit while the board starts.
- GPIO8 is the WS2812 RGB LED and the default I²C SDA of the Arduino core. GPIO9 is the BOOT button and the default SCL. For I²C use other pins, for example GPIO4 and GPIO5.
- GPIO4, GPIO5, GPIO6 and GPIO7 are the default JTAG pins (MTMS, MTDI, MTCK, MTDO). They work as normal pins, but you lose them when you debug with an external JTAG probe.
- GPIO0 and GPIO1 are the pins for an optional 32 kHz crystal (XTAL_32K_P and XTAL_32K_N). They are normal pins and also ADC1 channels.
- GPIO18 and GPIO19 are the USB D- and D+ pins of the USB port. Do not reassign them if you rely on the built-in USB console or JTAG.
- GPIO20 and GPIO21 are UART0 RX and TX, used by the COM port. You can use them as normal pins, but not while you need the serial monitor.
GPIO quick reference
None of the ESP32-C3 GPIOs are input-only: every pin listed here works as input and as output. The module has 15 GPIOs and all of them are on the header.
| GPIO | Special function | ADC | Boot state |
|---|---|---|---|
| 0 | XTAL_32K_P | ADC1_CH0 | Free |
| 1 | XTAL_32K_N | ADC1_CH1 | Free |
| 2 | Strapping (boot mode) | ADC1_CH2 | Strapping |
| 3 | – | ADC1_CH3 | Free |
| 4 | JTAG MTMS, SPI SCK (Arduino default) | ADC1_CH4 | Free |
| 5 | JTAG MTDI, SPI MISO (Arduino default) | ADC2_CH0 | Free |
| 6 | JTAG MTCK, SPI MOSI (Arduino default) | – | Free |
| 7 | JTAG MTDO, SPI SS (Arduino default) | – | Free |
| 8 | RGB LED (WS2812), I2C SDA (Arduino default) | – | Strapping |
| 9 | BOOT button, I2C SCL (Arduino default) | – | Strapping |
| 10 | – | – | Free |
| 18 | USB D- (USB port) | – | Free |
| 19 | USB D+ (USB port) | – | Free |
| 20 | UART0 RX (COM port) | – | Free |
| 21 | UART0 TX (COM port) | – | Free |
Flashing pins
The COM port is wired to UART0 through the CH9102. These are the pins involved, in case you connect your own USB-to-serial adapter.
| Function | Pin | Description |
|---|---|---|
| TXD0 | GPIO21 | AI-C3 to PC (output) |
| RXD0 | GPIO20 | PC to AI-C3 (input) |
| EN | EN pin (RST button) | Resets the chip |
| IO9 | GPIO9 (BOOT button) | Hold low at reset to enter UART download mode |
Programming
Arduino IDE, PlatformIO and ESP-IDF all work. In the Arduino IDE install ESP32 board support (Espressif Systems) and choose ESP32C3 Dev Module. The same board profile is used for the Super Mini boards.
Colour cycle on the RGB LED
void setup() {}
void loop() {
rgbLedWrite(8, 32, 0, 0); // red
delay(500);
rgbLedWrite(8, 0, 32, 0); // green
delay(500);
rgbLedWrite(8, 0, 0, 32); // blue
delay(500);
}
I²C scan on GPIO4 and GPIO5
#include <Wire.h>
void setup() {
Serial.begin(115200);
Wire.begin(4, 5); // SDA = GPIO4, SCL = GPIO5 (GPIO8 is the RGB LED, GPIO9 the BOOT button)
delay(2000);
for (uint8_t a = 1; a < 127; a++) {
Wire.beginTransmission(a);
if (Wire.endTransmission() == 0) Serial.printf("Found 0x%02Xn", a);
}
}
void loop() {}
I did not run these two sketches on a board, they follow the Arduino ESP32 API. Start with the LED: it needs no extra parts.
Tips
- Use ADC1 for sensors. GPIO0 to GPIO4 are the analog pins that keep working with Wi-Fi on.
- Move I²C away from GPIO8 and GPIO9. They are the RGB LED and the BOOT button, and both are strapping pins.
- Start on the COM port. It works with any serial monitor without extra settings.
- Check the fit before you use a breadboard. The pin rows are 25.4 mm apart, which leaves few free holes next to the pins. Header sockets or jumper wires are easier.
- Use the RGB LED for status. One colour per state (connecting, connected, error) is a very cheap debug tool.
Real gotchas
- Only 15 GPIOs. The ESP32-C3 chip has 22, but the MINI-1 module brings out 15. Plan your pins before you pick the board.
- No touch pads and no DAC. The C3 has neither.
- No Thread or Zigbee. There is no 802.15.4 radio. Matter works over Wi-Fi.
- Strapping pins. GPIO2, GPIO8 and GPIO9 decide the boot mode. A sensor that pulls them the wrong way stops the board from starting.
- Two ports, two serial ports. The serial monitor must point at the port you are using. Without USB CDC On Boot,
Serialprints on the COM port only. - Driver on older Windows. The CH9102 may need a driver.
- 3.3 V logic. All GPIOs are 3.3 V only. Do not connect 5 V signals directly, and keep the 5V pins away from the GPIOs.
- Limited current. Power motors, servos and strips from their own supply.
Compared with other boards
Common versions of these chips, with the facts that matter when you choose.
| ESP32-C3 (AI-C3) | ESP32-S3 | ESP32-S2 | ESP32 (classic) | |
|---|---|---|---|---|
| CPU | 1 x RISC-V, 160 MHz | 2 x Xtensa LX7 | 1 x Xtensa LX7 | 2 x Xtensa LX6 |
| Wireless | Wi-Fi 4 and Bluetooth 5 LE | Wi-Fi 4 and Bluetooth 5 LE | Wi-Fi 4 | Wi-Fi 4 and Bluetooth |
| Native USB | USB Serial/JTAG | Yes (OTG) | Yes (OTG) | No |
| Touch pads | None | 14 | 14 | 10 |
| DAC | None | None | 2 (8-bit) | 2 (8-bit) |
Take the AI-C3 for a small, low-cost board with Wi-Fi and Bluetooth LE, the HomeKit and Matter accessories this site builds, and two USB ports. For more power see the AI-S3, for touch pads and native USB see the ESP32-S2 Mini.
What to build with it
- A HomeKit or Matter accessory over Wi-Fi, like the switches and sensors in the ESP32 HomeKit guides.
- A Bluetooth LE sensor or beacon that runs on a battery.
- A small Wi-Fi sensor node with an I²C sensor on GPIO4 and GPIO5.
- A status light: the RGB LED shows the state of a device.
- A development board for firmware that later runs on a Super Mini or another ESP32-C3 board.
Safety notes
Before you wire anything up
- GPIO2, GPIO8 and GPIO9 are strapping pins, check their boot-time state before using them as outputs.
- GPIO18 and GPIO19 are the USB Serial/JTAG D- and D+ pins, avoid reassigning them if you rely on the built-in USB console.
- This board runs at 3.3 V logic, a 5 V signal on any pin can damage the chip.
- Use only one power source at a time: a USB-C port, the 5V pins or the 3V3 pins.
Conclusion
The AI-C3 is a small, low-cost ESP32-C3 board with 15 GPIOs, Wi-Fi and Bluetooth LE, two USB-C ports and an RGB LED. Keep sensors on ADC1, keep GPIO2, GPIO8 and GPIO9 free at start-up, move I²C to other pins and use the COM port for your first upload. For the family overview see the ESP32 family explained.
Sources: the pin names and layout from the drawing of the AI-C3, the ESP32-C3-MINI-1 and ESP32-C3 data sheets, the ESP32C3 Dev Module variant in the Arduino ESP32 core and the ESP-IDF documentation. The board size and the roles of the two USB ports are read from the drawing and the silkscreen.
More guides
Keep building.
From ESP32 HomeKit accessories to Arduino and ATtiny reference guides, there’s more where this came from.
All guides

