Dev board

ESP32-C3 SuperMini

A 22.5 × 18 mm board around the ESP32-C3: a single RISC-V core, Wi-Fi and Bluetooth LE, 4 MB of flash in the chip, and USB-C wired straight to the chip’s own USB. It’s cheap and small, and its defaults hide a few traps: Arduino puts I²C on two strapping pins, the USB port vanishes when your code sleeps, and many boards won’t hold a Wi-Fi connection at full power.

ESP32-C3 SuperMiniUSB-C5VGND3V3IO4IO3IO2STRAPIO1IO0IO5NO ADCIO6IO7IO8LEDSTRAPIO9BOOTSTRAPIO10IO20RXIO21TXBOOT LOG
Header pins in board order, USB-C at the top. Tagged pins need care: the table below says why.

Specs

ChipESP32-C3FN4: ESP32-C3 with 4 MB flash in the package
CPU32-bit RISC-V, single core, up to 160 MHz
Memory400 KB SRAM, 384 KB ROM, 4 MB flash
Radio2.4 GHz Wi-Fi 802.11 b/g/n, Bluetooth 5 (LE)
Header16 pins: 13 GPIOs (IO0–IO10, IO20, IO21), 5V, 3V3, GND
Analog12-bit ADC1 on IO0–IO4. IO5 is ADC2, which can’t be read
USBUSB-C to the C3’s USB Serial/JTAG (GPIO18/19). No USB-to-UART chip
Logic level3.3 V. Inputs take at most 3.6 V
Power inUSB-C, or 3.3–6 V on the 5V pin, or 3.3 V on the 3V3 pin. One at a time
On boardBOOT button (IO9), RESET button, blue LED (IO8, active low), red power LED
Size22.52 × 18 mm, parts on one side
Deep sleepAbout 43 µA (vendor figure)

Pins

PinRolesWhat to know
5VPowerUSB 5 V out when on USB. Or power the board here, without USB plugged in.
GNDGroundShared with every module.
3V3PowerThe board’s 3.3 V rail. Power sensors from here.
IO4ADC1_CH4SCKFree to use.
IO3ADC1_CH3A3Free to use.
IO2ADC1_CH2A2Strapping pin. Keep it high at reset.
IO1ADC1_CH1A1Free to use.
IO0ADC1_CH0A0Free to use.
IO5ADC2_CH0A5MISODigital only: ADC2 reads aren’t supported on the C3.
IO6MOSIFree to use.
IO7SSFree to use.
IO8LEDSDAStrapping pin, must be high to flash. Drives the onboard LED.
IO9BOOTSCLStrapping pin: low at reset means download mode.
IO10–Free to use.
IO20RXUART0 receive. Free when you don’t use the UART.
IO21TXUART0 transmit. Carries the boot log at every reset.

Rows in bold need care. Roles after the ADC channel are the Arduino core’s defaults for this board (A0–A5, SPI, I²C, Serial1). Every pin can be remapped in code.

Powering it

There are three ways in: USB-C, a supply on the 5V pin (the vendor gives 3.3–6 V), or a regulated 3.3 V on the 3V3 pin. The board has no circuit that switches between them, so use one at a time. Don’t leave a 5 V supply on the 5V pin while USB-C is plugged in to flash it.

The 5V pin is only 5 V when USB or a 5 V supply feeds it. Anything you power from it can put 5 V on a GPIO through its output or its pull-ups, and a C3 input takes at most 3.6 V. Power sensors from 3V3 unless they have their own regulator and level shifting.

Uploading over USB-C

There is no USB-to-serial chip. USB-C goes to the C3’s built-in USB Serial/JTAG on GPIO18 and GPIO19, which aren’t on the header. Two things follow from that.

In the Arduino IDE, set USB CDC On Boot to Enabled, or Serial.print goes to the UART on IO21 instead of the USB port, and the serial monitor stays empty.

The USB port exists only while the chip runs code that keeps it alive. It drops out when your sketch enters deep sleep or reconfigures GPIO18 or GPIO19. Then the port disappears and uploads fail. To get it back:

  1. Hold BOOT.
  2. Press and release RESET.
  3. Release BOOT. The board is now in download mode and the port is back.
  4. Upload, then press RESET to start the new sketch.

This works because BOOT pulls IO9 low at reset, which is the ROM’s download mode. It’s also why nothing on your circuit should hold IO9 low at reset: the board would boot into download mode every time.

Arduino’s default pins

If you call Wire.begin() without pins, the Arduino core puts I²C on IO8 (SDA) and IO9 (SCL). Both are strapping pins, IO8 drives the onboard LED and IO9 is the BOOT button. It works, since I²C idles high with its pull-ups, but the LED flickers with bus traffic and pressing BOOT pulls SCL low. Free pins avoid all of that:

Wire.begin(6, 7); // SDA, SCL

The default SPI pins are IO4 (SCK), IO5 (MISO), IO6 (MOSI) and IO7 (SS), all fine for SPI. Analog pins A0 to A5 map to IO0 to IO5, but A5 (IO5) is on ADC2, which the C3 can’t read. Use A0 to A4.

When Wi-Fi won’t connect

A common SuperMini complaint: the board won’t join a network, or drops the connection, at the default transmit power. The fix people report most often is to lower it right after starting Wi-Fi:

WiFi.begin(ssid, password);
WiFi.setTxPower(WIFI_POWER_8_5dBm);

Range gets shorter, but the connection holds. The suspected cause is layout: on many boards the chip antenna sits right next to the crystal, and boards with more space between the two are reported to do better. Keep wires and metal away from the antenna end of the board too.

On the board

Sources

Boardless checks your wiring against parts like this

I’m building Boardless to check your schematic, case and firmware against each other on every change. Each part page is what it knows about that part.

Used only to tell you when Boardless is ready and to decide what it supports first. No newsletter, no sharing. See the privacy note.