Skip to content
My Account

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
No ratings yet, be the first.

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.

Every GPIO is full I/OUnlike the classic ESP32, the ESP32-C3 has no input-only pins. All 15 pins on the header can be input and output.
Two USB-C portsCOM goes to a USB-to-serial chip and USB goes straight to the chip’s own USB Serial/JTAG. Use whichever is handy.
Onboard RGB LEDA WS2812 addressable LED on GPIO8, driven with the Arduino core, Adafruit_NeoPixel or FastLED.

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.

PartWhat it does
ESP32-C3-MINI-1Module with the chip, 4 MB flash, crystal and PCB antenna in one shielded package (13.2 x 16.6 x 2.4 mm)
CH9102USB-to-serial chip behind the COM port, connected to UART0 (GPIO20 and GPIO21)
USB-C, COMPower, flashing and the serial monitor through the CH9102
USB-C, USBPower, and the chip’s own USB Serial/JTAG on GPIO18 (D-) and GPIO19 (D+)
WS2812 RGB LEDAddressable LED on GPIO8, printed RGB on the board
BOOT and RST buttonsBOOT pulls GPIO9 low for download mode, RST pulls the EN pin low and resets the chip
LEDsA PWR LED, and one LED each for TX and RX on the UART
Two pin rows15 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.

1. What you needA USB-C cable that carries data and a computer. No extra power supply needed, USB power is enough.
2. Install the softwareInstall the free Arduino IDE, then add ESP32 support via Boards Manager (search “esp32”, by Espressif Systems). Choose ESP32C3 Dev Module as the board.
3. Upload your first sketchPick the port and click Upload. If it hangs on “Connecting…”, hold BOOT, tap RST, then release BOOT. Enable USB CDC On Boot only if you use the USB port for the serial monitor.

Specifications

Specifications for the AI-C3 board and its ESP32-C3-MINI-1 module.

Compute

ChipESP32-C3
CPUSingle-core RISC-V, up to 160 MHz
SRAM400 KB
Flash4 MB, inside the module package

Radio

Wi-Fi802.11 b/g/n, 2.4 GHz
Bluetooth5.0 LE
USBBuilt-in USB Serial/JTAG (not a full USB host or device)
SecuritySecure boot, flash encryption

Physical

Operating voltage3.3 V
Module size13.2 x 16.6 x 2.4 mm
Board sizeabout 28.4 x 38.7 mm (read from the drawing)
GPIOs15 on the header (22 on the chip)
ADC12-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.

AI-C3 dimensions: about 28.4 by 38.7 mm, two rows of 15 pins 25.4 mm apart, module overhanging the top edge

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.

AI-C3 pinout diagram, component side, with the GPIO, ADC, JTAG, bus and USB functions of every header pin

Underside

The underside shows the pin names as printed on the board. The left and right rows are mirrored compared with the component side.

Underside of the AI-C3 with the pin names printed on the board and the function of every pin

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.

AI-C3 GPIO map grouped by analog input, strapping, JTAG and SPI, I2C, UART and USB, and free pins

Power

The board runs from either USB-C port. The header has two 5V pins, two 3V3 pins and several GND pins.

PinUse
5VThe 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
3V3The 3.3 V rail for the chip and for sensors. Do not feed it while the board is also powered from USB
GNDSeveral 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.

PortConnected toUse it for
COMCH9102 USB-to-serial chip, UART0 (GPIO20 RX, GPIO21 TX)Power, flashing and the serial monitor. Start with this one
USBThe 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.

FunctionPinDescription
BOOT buttonGPIO9Hold low at reset to enter download mode
RST buttonENReset the chip
USB D- / D+GPIO18 / GPIO19Built-in USB Serial/JTAG, the USB port
UART0 TX / RXGPIO21 / GPIO20Serial, 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.

FeaturePinsNotes
ADC1GPIO0 to GPIO4Five channels (ADC1_CH0 to CH4). Use these for analog sensors, also while Wi-Fi is on
ADC2GPIO5One channel (ADC2_CH0). Shares hardware with Wi-Fi, so prefer ADC1 for sensors
DACnoneUse PWM and a filter for an analog output
TouchnoneUse 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.

GPIOSpecial functionADCBoot state
0XTAL_32K_PADC1_CH0Free
1XTAL_32K_NADC1_CH1Free
2Strapping (boot mode)ADC1_CH2Strapping
3–ADC1_CH3Free
4JTAG MTMS, SPI SCK (Arduino default)ADC1_CH4Free
5JTAG MTDI, SPI MISO (Arduino default)ADC2_CH0Free
6JTAG MTCK, SPI MOSI (Arduino default)–Free
7JTAG MTDO, SPI SS (Arduino default)–Free
8RGB LED (WS2812), I2C SDA (Arduino default)–Strapping
9BOOT button, I2C SCL (Arduino default)–Strapping
10––Free
18USB D- (USB port)–Free
19USB D+ (USB port)–Free
20UART0 RX (COM port)–Free
21UART0 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.

FunctionPinDescription
TXD0GPIO21AI-C3 to PC (output)
RXD0GPIO20PC to AI-C3 (input)
ENEN pin (RST button)Resets the chip
IO9GPIO9 (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, Serial prints 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-S3ESP32-S2ESP32 (classic)
CPU1 x RISC-V, 160 MHz2 x Xtensa LX71 x Xtensa LX72 x Xtensa LX6
WirelessWi-Fi 4 and Bluetooth 5 LEWi-Fi 4 and Bluetooth 5 LEWi-Fi 4Wi-Fi 4 and Bluetooth
Native USBUSB Serial/JTAGYes (OTG)Yes (OTG)No
Touch padsNone141410
DACNoneNone2 (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.

Advertisement
All guides

More guides

Keep building.

From ESP32 HomeKit accessories to Arduino and ATtiny reference guides, there’s more where this came from.

All guides