Components · 10 min read

ESP32-C3 Super Mini Pinout: Pins, USB CDC Setup and Wi-Fi Fix

ESP32-C3 Super Mini pinout guide: safe GPIOs, strapping pins, USB CDC On Boot for Serial output, GPIO8 LED, BOOT button uploads and the weak Wi-Fi fix.

The ESP32-C3 Super Mini is a tiny RISC-V ESP32 development board that packs Wi-Fi, Bluetooth LE and 13 usable GPIOs onto a board just 22.5 × 18 mm in size. It has a USB-C port, BOOT and RESET buttons, a power LED and a programmable blue LED. Because it costs about as much as an Arduino Nano clone, it has quickly become a favourite for wearables, small sensor nodes and smart home devices that have to fit in a tight enclosure.

Its small size brings a few traps with it: nothing shows up in the Serial Monitor, sketches won't upload, the onboard LED works backwards and, above all, Wi-Fi struggles to connect even right next to the router. This guide walks through the ESP32-C3 Super Mini pinout pin by pin, shows which pins you shouldn't touch, the Arduino IDE settings, the USB CDC On Boot option and the transmit power setting that fixes the antenna problem, all with example code.

What is the ESP32-C3 Super Mini? Specifications

The ESP32-C3 at the heart of the board is a single-core chip running at 160 MHz on which Espressif swapped the classic ESP32's Xtensa cores for the open RISC-V architecture. On most Super Minis the 4 MB of flash sits inside the chip package, which is why you won't see a separate flash chip on the board. The biggest difference is on the USB side: there's no USB-to-serial converter such as a CH340 or CP2102; the USB-C port goes straight to the chip's built-in USB Serial/JTAG peripheral. That means fewer driver headaches, and it also makes the USB CDC setting covered in this article important.

FeatureValue
ProcessorESP32-C3, 32-bit RISC-V, single core, 160 MHz
Memory400 KB SRAM, 4 MB flash (in the chip package)
WirelessWi-Fi 4 (802.11 b/g/n, 2.4 GHz only), Bluetooth 5 LE
GPIO13 pins: GPIO 0-10, 20, 21
Analog inputsGPIO 0-4 (ADC1, 12-bit); GPIO 5 is ADC2
USBUSB-C, native USB Serial/JTAG (no separate converter)
PowerUSB or the 5V pin; 3.3 V LDO regulator on board
On the boardBOOT (GPIO 9) and RESET buttons, red power LED, blue LED (GPIO 8)
SizeAbout 22.5 × 18 mm

ESP32-C3 Super Mini pinout

The board has eight pins along each edge. One row carries 5V, GND, 3V3 plus GPIO 4, 3, 2, 1 and 0; the other row carries GPIO 5, 6, 7, 8, 9, 10, 20 and 21. The pin numbers are printed on the board, but the labels are so small that checking them with a magnifier or your phone camera before soldering is a good habit. On the ESP32-C3 every digital pin works as an input, output or PWM pin, and I2C, SPI and UART can be routed in software to almost any pin you like.

PinFunctionUsage note
GPIO 0ADC1_CH0Safe; analog input
GPIO 1ADC1_CH1Safe; analog input
GPIO 2ADC1_CH2, strapping pinDon't pull it LOW at boot; usable as an analog input
GPIO 3ADC1_CH3Safe; analog input
GPIO 4ADC1_CH4, default SPI SCKSafe; analog input
GPIO 5ADC2_CH0, default SPI MISOSafe as digital; not recommended for analog readings
GPIO 6Default SPI MOSISafe
GPIO 7Default SPI SSSafe
GPIO 8Blue LED (inverted), default I2C SDA, strappingDon't pull it LOW at boot; the LED blinks along with this pin
GPIO 9BOOT button, default I2C SCL, strappingIf LOW at boot, the board enters download mode
GPIO 10General purposeSafe
GPIO 20UART0 RX (Serial0)Serial communication or general purpose
GPIO 21UART0 TX (Serial0)Boot messages come out here at startup
5V / 3V3 / GNDPower5V is the USB voltage; 3V3 is the regulator output
The ESP32-C3's strapping pins are GPIO 2, 8 and 9; at power-up the chip reads their levels to decide how to start. If GPIO 9 is LOW at boot, the board enters download mode instead of running your sketch, and GPIO 8 has to be HIGH at that moment. Connect a circuit that pulls any of these three pins LOW at boot (a button to GND or a pull-down resistor, for example) and the board won't start even though you've done nothing wrong in code. Also, every GPIO runs at 3.3 V and none of them is 5 V tolerant.

There are two things to know on the analog side. First, with the default attenuation the ESP32-C3's ADC measures accurately only from about 0 to 2.5 V; above that the value sticks at 4095. If you need to measure 3.3 V or a battery voltage, use a voltage divider and prefer analogReadMilliVolts(), which returns a calibrated result, over analogRead. Second, Espressif doesn't consider the ADC2 channel on GPIO 5 reliable, so stick to GPIO 0-4 for analog measurements. The DAC outputs and touch pins of the classic ESP32 don't exist on the C3.

Arduino IDE setup and board settings

ESP32-C3 support is part of Espressif's esp32 package that you install from the Boards Manager; no extra package is needed. If it isn't installed yet, the steps are in the What is the ESP32? article. Select ESP32C3 Dev Module in the board list; newer 3.x versions of the core also list a Nologo ESP32C3 Super Mini definition, which does the same job. When you plug the board in with a USB-C cable, a "USB Serial Device" port appears on Windows, or one starting with /dev/cu.usbmodem on macOS. Then set the Tools menu as follows.

Tools menuRecommended settingNote
BoardESP32C3 Dev ModuleOr Nologo ESP32C3 Super Mini (3.x)
USB CDC On BootEnabledIf disabled, the Serial Monitor stays blank
CPU Frequency160 MHzCan drop to 80 MHz for battery projects
Flash Size4MB (32Mb)The Super Mini's flash size
Flash ModeQIOTry DIO if the board keeps rebooting
Partition SchemeDefault 4MB with spiffsHuge APP for large sketches
Upload Speed921600Use 460800 if uploads fail
In the ESP32C3 Dev Module definition, LED_BUILTIN is a special value reserved for the addressable RGB LED on Espressif's official board. The LED on the Super Mini is an ordinary LED, so write 8 directly in your code instead of LED_BUILTIN, otherwise it won't blink the way you expect.

USB CDC On Boot: why is the Serial Monitor blank?

The first problem most Super Mini owners hit is this: the sketch uploads, the board runs, but not a single line reaches the Serial Monitor. The reason is where the Serial object in your code writes to. With USB CDC On Boot Disabled, Serial writes to the chip's UART0, meaning pins GPIO 20 and 21. Since the board has no USB-to-serial converter, those pins aren't connected to the USB-C port and your output never reaches the computer. Set the option to Enabled and Serial is routed to the virtual serial port over USB-C, and the Serial Monitor comes to life.

USB CDC On BootWhere does Serial write?Where does Serial0 write?When to choose it
EnabledUSB-C (the Serial Monitor on your computer)GPIO 20 / 21 (UART0)Almost always
DisabledGPIO 20 / 21 (UART0)GPIO 20 / 21 (UART0)When using an external USB-TTL adapter or a serial module such as a GPS

With USB CDC enabled, the virtual port disappears for a moment and comes back whenever the board resets, so the first lines you print at the start of setup() can be lost before the Serial Monitor reconnects. Always use the while (!Serial) loop with a timeout, as in the code below. An unbounded while (!Serial) loop makes your program wait forever when the board is running from a charger or a battery instead of a computer.

First sketch: the onboard LED (GPIO 8) and the serial port

The code below blinks the blue LED every half second and prints the chip model, revision, CPU speed and flash size to the Serial Monitor. Open the Serial Monitor at 115200 baud; if the lines come through, your board, cable and settings are all correct.

C++ (Arduino IDE)
1// ESP32-C3 Super Mini: dahili LED (GPIO 8, ters mantık) ve seri port testi
2// ESP32-C3 Super Mini: onboard LED (GPIO 8, inverted) and serial port test
3const int LED_PIN = 8;                // mavi LED: LOW = yanar / blue LED: LOW = on
4
5void setup() {
6  Serial.begin(115200);
7  unsigned long t0 = millis();
8  while (!Serial && millis() - t0 < 3000) {
9    delay(10);                        // USB CDC bağlantısını en çok 3 sn bekle / wait up to 3 s for USB CDC
10  }
11  pinMode(LED_PIN, OUTPUT);
12  digitalWrite(LED_PIN, HIGH);        // başlangıçta sönük / start with the LED off
13
14  Serial.println("ESP32-C3 Super Mini hazir / ready");
15  Serial.printf("Model: %s, rev %d\n", ESP.getChipModel(), ESP.getChipRevision());
16  Serial.printf("CPU: %lu MHz, flash: %lu MB\n",
17                (unsigned long)getCpuFrequencyMhz(),
18                (unsigned long)(ESP.getFlashChipSize() / (1024UL * 1024UL)));
19}
20
21void loop() {
22  digitalWrite(LED_PIN, LOW);         // yak / on
23  delay(500);
24  digitalWrite(LED_PIN, HIGH);        // söndür / off
25  delay(500);
26  Serial.printf("Calisma suresi / uptime: %lu s\n", millis() / 1000);
27}

Watch out for the inverted logic: the Super Mini's blue LED is wired between 3.3 V and GPIO 8. When the pin is LOW, current flows and the LED lights; when it's HIGH, it goes out. The red LED is a power indicator wired straight to the supply and can't be switched off in code. If you see "Model: ESP32-C3" and "flash: 4 MB" in the Serial Monitor, you have the board you expected; some sellers ship copies with 2 MB of flash or a different chip.

If the sketch won't upload: BOOT and RESET buttons

  1. Connect the board with a USB-C cable and make sure the right port is selected in the Arduino IDE; if the port isn't listed, check that your cable is a data cable.
  2. Press and hold the BOOT button.
  3. While holding BOOT, press and release RESET once (or plug in the cable while holding BOOT).
  4. Release BOOT; the board is now in download mode and the port reappears.
  5. Press Upload; if the sketch doesn't run after you see "Hard resetting via RTS pin", press RESET once.

On boards with native USB, the port only exists while the chip is running code that keeps it alive. If your sketch crashes at startup, the board goes into deep sleep, or you've used GPIO 18 and 19, which belong to USB, for something else, the port vanishes from your computer and the Arduino IDE reports "Failed to connect" or "No serial data received". Download mode, entered with the steps above, rescues the board in all of these cases, because it's decided by the chip's built-in ROM bootloader, which can't be erased.

The antenna problem and low Wi-Fi power

The most talked-about flaw of the ESP32-C3 Super Mini is its Wi-Fi. On a large share of the boards on the market, the ceramic antenna sits too close to the crystal oscillator and the regulator. As a result, when the board transmits at full power it disturbs its own signal: it can't connect even next to the router, or it connects with an RSSI below -80 dBm, or the connection keeps dropping. The surprising but widely confirmed fix is to lower the transmit power. A WiFi.setTxPower(WIFI_POWER_8_5dBm) line right after WiFi.begin() solves the connection problem on most of these boards by itself.

C++ (Arduino IDE)
1#include <WiFi.h>
2
3const char* WIFI_SSID = "AgAdi";      // Wi-Fi adın (yalnız 2,4 GHz) / your Wi-Fi name (2.4 GHz only)
4const char* WIFI_PASS = "Sifre123";   // Wi-Fi şifren / your Wi-Fi password
5
6void setup() {
7  Serial.begin(115200);
8  delay(2000);                        // Seri Monitör'ün açılmasına zaman tanı / give the Serial Monitor time to open
9
10  WiFi.mode(WIFI_STA);
11  WiFi.begin(WIFI_SSID, WIFI_PASS);
12  WiFi.setTxPower(WIFI_POWER_8_5dBm); // Super Mini anten sorunu için daha düşük güç / lower power for the Super Mini antenna issue
13
14  Serial.print("Baglaniyor / connecting");
15  unsigned long t0 = millis();
16  while (WiFi.status() != WL_CONNECTED && millis() - t0 < 20000) {
17    delay(500);
18    Serial.print(".");
19  }
20  Serial.println();
21
22  if (WiFi.status() == WL_CONNECTED) {
23    Serial.print("IP: ");
24    Serial.println(WiFi.localIP());
25  } else {
26    Serial.printf("Baglanamadi / could not connect, status %d\n", (int)WiFi.status());
27  }
28}
29
30void loop() {
31  // RSSI ve güncel yayın gücü / RSSI and current transmit power
32  if (WiFi.status() == WL_CONNECTED) {
33    Serial.printf("RSSI: %d dBm, TX: %.1f dBm\n", (int)WiFi.RSSI(), WiFi.getTxPower() / 4.0);
34  } else {
35    Serial.println("Baglanti yok / not connected");
36  }
37  delay(2000);
38}
setTxPower valuePowerApprox. mWWhen to try it
WIFI_POWER_19_5dBm19.5 dBm89 mWDefault; longest range on boards without the flaw
WIFI_POWER_17dBm17 dBm50 mWFirst step if the connection drops now and then
WIFI_POWER_15dBm15 dBm32 mWRouter a few rooms away
WIFI_POWER_13dBm13 dBm20 mWMedium distance
WIFI_POWER_11dBm11 dBm13 mWSame or next room
WIFI_POWER_8_5dBm8.5 dBm7 mWThe most recommended value for the Super Mini
WIFI_POWER_5dBm5 dBm3 mWSame room as the router, lowest current

To find the right value, upload the code above, watch the RSSI in the Serial Monitor and change the power step by step. An RSSI between -50 and -67 dBm is a very good link, -67 to -75 is usable, and below -80 is prone to dropouts. If the software setting isn't enough, there are two hardware fixes: keep the board away from metal enclosures, batteries and the metal rails of the breadboard, or, as experienced users do, solder a wire antenna of about 31 mm next to the ceramic antenna. If you're shopping for a board without this flaw, choose versions where the antenna sits well away from the crystal.

If the board keeps rebooting while connecting to Wi-Fi, the problem may be power rather than the antenna: during transmission the ESP32-C3 briefly draws close to 300 mA. A thin or long USB cable or a weak USB port can't supply that surge. Use a good cable and, with an external supply, add a 100 µF capacitor between 5V and GND; see the brownout error article for the symptoms.

Which pins for I2C, SPI and UART?

For the ESP32-C3 the Arduino core puts I2C on SDA = GPIO 8 and SCL = GPIO 9 by default. On the Super Mini both are strapping pins and share the LED and the BOOT button, so moving I2C to other pins is cleaner: the LED won't flicker with the data line, and pressing BOOT won't corrupt the bus. Wire.begin(SDA, SCL) lets you choose any two pins. The default SPI pins are SCK 4, MISO 5, MOSI 6 and SS 7; if you need another serial port, use Serial0 on GPIO 20 and 21, or Serial1 on any pins by passing them to begin(). The code below starts I2C on GPIO 5 and 6 and lists the addresses of the devices on the bus.

C++ (Arduino IDE)
1#include <Wire.h>
2
3// GPIO 8 (LED) ve 9 (BOOT) yerine serbest pinler / free pins instead of GPIO 8 (LED) and 9 (BOOT)
4const int SDA_PIN = 5;
5const int SCL_PIN = 6;
6
7void setup() {
8  Serial.begin(115200);
9  delay(2000);
10  Wire.begin(SDA_PIN, SCL_PIN);       // I2C'yi istediğin pinlerde başlat / start I2C on the pins you choose
11  Serial.println("I2C tarama / scan:");
12  int found = 0;
13  for (byte addr = 1; addr < 127; addr++) {
14    Wire.beginTransmission(addr);
15    if (Wire.endTransmission() == 0) {
16      Serial.printf("  0x%02X\n", addr);
17      found++;
18    }
19  }
20  Serial.printf("%d cihaz bulundu / device(s) found\n", found);
21}
22
23void loop() {
24}

Bluetooth LE and deep sleep

The ESP32-C3 has Bluetooth LE only; the Bluetooth Classic of the original ESP32, and the BluetoothSerial library that relies on it, don't work on this chip. For talking to a phone, a BLE keyboard or broadcasting sensor data, you need the BLE libraries; examples are in the ESP32 Bluetooth and BLE article. For battery projects, deep sleep comes into play: in this mode the C3 can wake on a timer or on a signal from GPIO 0-5. The Super Mini's red power LED and its regulator keep drawing current during sleep, though, so even when the chip itself drops to microamps, the board's total consumption stays in the milliamp range. For truly long battery life you have to remove the power LED's resistor.

ESP32-C3 Super Mini vs classic ESP32 vs ESP8266

FeatureESP32-C3 Super MiniESP32 DevKit (WROOM-32)Wemos D1 Mini (ESP8266)
ProcessorRISC-V, single core, 160 MHzXtensa LX6, dual core, 240 MHzXtensa L106, single core, 80/160 MHz
RAM400 KB520 KBAbout 80 KB of user memory
BluetoothBLE 5 onlyClassic + BLE 4.2None
Usable GPIO13About 2511
Analog inputs5 (ADC1)Up to 151 (A0)
USBNative USB, no converterCP2102 or CH340CH340
Size22.5 × 18 mmAbout 52 × 28 mm34 × 26 mm
Classic ESP32 DevKit development board
Classic ESP32 DevKit: more pins and two cores, but about twice the length of the Super Mini.

In short, the Super Mini is ideal for small, cheap Wi-Fi or BLE nodes that get by with few pins. For projects with many sensors, a camera, Bluetooth Classic or heavy computation, the classic ESP32 or the more powerful ESP32-S3 is the better choice. If you want to refresh old Wemos D1 Mini projects, the C3 Super Mini offers more memory, BLE and a better ADC in a similar size.

ESP32-C3 Super Mini project ideas

  • Wireless temperature node: measure with a DS18B20 and send over MQTT every 10 minutes between deep sleep cycles.
  • Mini Wi-Fi LED controller: drive a WS2812B strip from a single pin and pick colours from your phone.
  • BLE remote: send presentation commands to your phone or computer as a BLE keyboard with a few buttons.
  • Door sensor: build a matchbox-sized alarm that wakes up and sends a notification when a reed switch changes.
  • Smart plug node: pair it with a small relay module to make a Wi-Fi switch that fits inside a wall box.
  • Pocket device with OLED: move I2C to GPIO 5 and 6 and build a clock or weather display with an SSD1306 OLED.

Common problems and fixes

SymptomCauseFix
Serial Monitor is blankUSB CDC On Boot is disabledSet Tools > USB CDC On Boot > Enabled and upload again
No port, or the upload says "Failed to connect"The sketch crashes, the board is asleep or the USB pins are in useHold BOOT, press RESET, then upload
Wi-Fi won't connect or RSSI is very lowAntenna design flawAdd WiFi.setTxPower(WIFI_POWER_8_5dBm) after WiFi.begin()
Onboard LED works backwardsThe LED is wired inverted on GPIO 8LOW turns it on, HIGH turns it off
The board won't boot with the circuit attachedGPIO 2, 8 or 9 is pulled LOW at bootMove that part of the circuit to another pin
analogRead stuck at 4095 above 2.5 VThe C3's ADC range is about 2.5 VUse a voltage divider and read with analogReadMilliVolts
BluetoothSerial won't compileThe C3 has no Bluetooth ClassicUse the BLE libraries
The board reboots when Wi-Fi startsThe supply can't handle the current surgeShort, good-quality cable and a 100 µF capacitor

Once you've learned its few settings and its antenna quirk, the ESP32-C3 Super Mini is a very capable board that fits in your pocket and still has Wi-Fi and BLE. Most projects written for the classic ESP32 run on it once you change the pin numbers; you can explore the ESP32 LED, button, PWM and Wi-Fi connection projects in the BlueGrays app, each with a step-by-step circuit diagram and code, and adapt them to your Super Mini.

Frequently asked questions

Which pin is the built-in LED on the ESP32-C3 Super Mini?

The programmable blue LED is on GPIO 8 and works with inverted logic: digitalWrite(8, LOW) turns it on and HIGH turns it off. The red LED is the power indicator and can't be controlled in code. Writing 8 directly instead of LED_BUILTIN is the safest option.

Why is there no Serial output on my ESP32-C3 Super Mini?

The board has no USB-to-serial converter, so Serial has to be routed to the chip's native USB. In the Arduino IDE set Tools > USB CDC On Boot to Enabled and upload the sketch again. Using a while (!Serial) loop with a timeout of a few seconds at the start of setup also keeps you from missing the first lines.

Why won't my ESP32-C3 Super Mini connect to Wi-Fi?

On many boards the antenna is too close to the crystal, so transmitting at full power disturbs the board's own signal. Adding WiFi.setTxPower(WIFI_POWER_8_5dBm) right after WiFi.begin() fixes the problem on most boards. Also remember that the ESP32-C3 only sees 2.4 GHz networks.

Does the ESP32-C3 support Bluetooth Classic?

No. The ESP32-C3 only supports Bluetooth 5 LE, so the BluetoothSerial library and direct pairing with classic Bluetooth devices such as the HC-05 don't work. You need the BLE libraries to talk to a phone.

Can the ESP32-C3 Super Mini run on 5 V?

You can power the board with 5 V through USB or the 5V pin; the on-board regulator drops it to 3.3 V. The GPIO pins, however, run at 3.3 V and aren't 5 V tolerant, so don't connect sensors with a 5 V output without a level shifter or a voltage divider.

How many analog pins does the ESP32-C3 Super Mini have?

There are five analog inputs you can use safely: GPIO 0, 1, 2, 3 and 4 on ADC1. The ADC2 channel on GPIO 5 isn't reliable. The ADC is 12-bit, so it returns values from 0 to 4095, and with the default setting it measures accurately up to about 2.5 V.

See all projects
LED Blink with ESP32
ES-1Beginner

LED Blink with ESP32

Teaches basic GPIO output usage with ESP32. We achieve a blinking effect by turning an LED on and off from a digital pin. ESP32 version of the classic blink project on Arduino UNO; the basic blink commands in the Arduino environment are the same, but the ESP32's pin layout and 3.3 V GPIO levels differ from those of the Arduino UNO.

4.7(38)
114
ESP32 LED Control with Push Button (Push)
ES-2Beginner

ESP32 LED Control with Push Button (Push)

The LED lights up when the button is pressed and turns off when released. Shows how the ESP32's digital input pin and internal pull-up resistor are used. The INPUT_PULLUP mode eliminates the need for an external resistor.

4.6(36)
57
ESP32 LED Control with Pushbutton (Toggle)
ES-3Beginner

ESP32 LED Control with Pushbutton (Toggle)

Each time the button is pressed the state of the LED changes: if it is on it turns off, if it is off it turns on. Classic toggle pattern. With debounce we clean up the mechanical noise of the pushbutton to ensure a single toggle with a single press.

4.6(39)
61
ESP32 Built-in LED Blink
ES-4Beginner

ESP32 Built-in LED Blink

Blinking the built-in blue LED on the ESP32 DevKit V1. No external components required! The first project you should try when you buy an ESP32. GPIO 2 is connected to the built-in LED.

4.8(29)
55
ESP32 Traffic Light
ES-5Beginner

ESP32 Traffic Light

Real traffic light simulation with 3 LEDs red-yellow-green. Timings close to real traffic logic: red long, yellow short, green long. Classic example of sequential GPIO control.

4.4(22)
46
ESP32 LED Fade with PWM
ES-8Beginner

ESP32 LED Fade with PWM

Smoothly changing the brightness of the LED from 0 to max, from max to 0. We control PWM with analogWrite() as in Arduino - the same syntax as ESP32 Arduino Core 3.0+ works without problems. Pin definition + pinMode + analogWrite is enough.

4.8(36)
55
Reading Light Intensity with the ESP32 LDR Module
ES-11Beginner

Reading Light Intensity with the ESP32 LDR Module

Real-time monitoring of the LDR module's raw ADC value and relative light percentage calculated from dark and light reference values in the Serial Monitor. This percentage is not a lux measurement. Teaches the module’s calibration logic. It is ideal to complete this before Project 10, as it is used to determine the threshold value.

4.6(36)
56
ESP32 Wi-Fi STA Connection (with LCD Screen)
ES-25Advanced

ESP32 Wi-Fi STA Connection (with LCD Screen)

In this project, we connect the ESP32 to the home Wi-Fi network in Station (STA) mode in a secure, fault-tolerant manner. We store the SSID and password in a separate secrets.h file to prevent leaking to Git, set up an auto-reconnect mechanism, and display the RSSI signal level and IP address on an I2C LCD screen. The internal LED works as a status indicator. It is a production-grade connection manager.

4.4(21)
40