LOLIN C3 Mini

Tiny ESP32-C3 board from Wemos with USB-C - ideal for compact, low-power IoT projects with Wi-Fi and BLE 5.

USB-C Native USB
LOLIN C3 Mini board
34.3 × 25.4 mm
ESP32-C3
RISC-V MCU
160MHz
clock
4MB
flash
400KB
SRAM
11· 6 ADC
GPIO
BLE 5.0+ WiFi
radio
On this page

LOLIN C3 Mini Pinout

11 pins · 2.54 mm pitch
LOLIN C3 Mini pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
10A0safeadc
21A1safeadc
32SCKA2strappingadc · spi
43MISOA3safeadc · spi
54MOSIA4strappingadc · spi
65SSA5strappingadc · spi
77LED_BUILTINstrapping-
88SDAstrappingi2c
910SCLsafei2c
1020RXuartuart
1121TXuartuart
11 GPIOs broken out 4 free · 7 need care · 0 to avoid

Start with these

4 pins with no boot or system involvement
A0GPIO0A1GPIO1MISOGPIO3SCLGPIO10

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

Fine - with a little care

7 pins · 7 things to know
SCKGPIO2 Strapping pin, but it does not select the boot mode - GPIO9 does. Espressif only recommend pulling it up against reset-time glitches. Floating by default. Strapping

A strapping pin: Espressif recommend an external pull-up against glitches at reset, so avoid heavy capacitive loads or a strong low drive here. It does not put the chip into download mode (that is GPIO9).

MOSIGPIO4 Bootstrapping pin; JTAG TMS; Flash data (FSPIHD in internal-flash models) JTAG

Used during boot; JTAG TMS for debugging; acts as Quad-SPI flash IO (hold data line) in internal-flash variants

SSGPIO5 Bootstrapping pin; JTAG TDI; Flash data (FSPIWP in internal-flash models) JTAG

Used during boot; JTAG TDI for debugging; acts as Quad-SPI flash IO (write-protect data line) in internal-flash variants

LED_BUILTINGPIO7 Bootstrapping pin; JTAG TDO; Flash data (FSPID in internal-flash models) JTAG

Used during boot; JTAG TDO for debugging; acts as Quad-SPI flash IO (data line) in internal-flash variants

SDAGPIO8 Bootstrapping pin (needs HIGH at reset); also gates ROM boot message printing (UART_PRINT_CONTROL efuse) Strapping

Must be held high during reset (if low, UART flashing/boot may not work)

RXGPIO20 UART0 RXD (default serial input) UART

Used as UART0 receive (console/bootloader); repurposing may disable serial programming and debug logs

TXGPIO21 UART0 TXD (default serial output) UART

Used as UART0 transmit (console/bootloader); repurposing may disable serial console output and printing

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.

All 11 pins on the LOLIN C3 Mini are usable GPIO, spaced at the standard 2.54 mm pitch.

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

Beyond plain digital I/O you get 6 ADC-capable pins for sensors and battery monitoring.

7 of the exposed pins carry boot-time or system duties on the ESP32-C3 (SCK, MOSI, SS and 4 more) - check the guidance above before wiring anything to them. A0, A1, MISO and SCL 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 - shows up as a port right away, no driver needed. Not detected? Hold BOOT while plugging in.
2
Match & flash
Set the Tools options shown, then click Upload.
3
Verify it runs
GPIO0 toggles - wire an LED and resistor to it, or change the pin to your board's own LED.
Set these in Tools · leave everything else at default
Arduino IDE 2.x - Tools Copy
Board: "ESP32C3 Dev Module"
USB CDC On Boot: "Enabled"
Flash Size: "4MB (32Mb)"
Flash Mode: "DIO"
Partition Scheme: "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)" (default)
Upload Speed: "921600"
▸ every other Tools option - leave at default
Board: ESP32C3 Dev Module
USB CDC On Boot: Enabled
Flash Size: 4MB (32Mb)
Flash Mode: DIO
Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
Upload Speed: 921600
Find it: Tools ▸ Board ▸ ESP32 Arduino ▸ ESP32C3 Dev Module
blink.ino Copy
// toggle GPIO0 - wire an LED and resistor to it
void setup() {
  pinMode(0, OUTPUT);
}
void loop() {
  digitalWrite(0, HIGH); delay(500);
  digitalWrite(0, LOW);  delay(500);
}
board to selectesp32-c3-devkitm-1⧉ copy
platformio.ini Copy
[env:lolin_c3_mini]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
Find it: PlatformIO Home ▸ Boards, search esp32-c3-devkitm-1 - or type it after board =.
board to selectesp32-c3-devkitm-1⧉ copy
device.yaml Copy
esp32:
  board: esp32-c3-devkitm-1
  variant: esp32c3
  framework:
    type: esp-idf

# blink - GPIO0
output:
  - platform: gpio
    pin: 0
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
Find it: search ESPHome's board list for esp32-c3-devkitm-1 (same ids as PlatformIO).
esptool doesn't pick board settings - a prebuilt .bin already has them baked in. This is just the raw flash command.
terminal Copy
esptool.py --chip esp32c3 --port /dev/ttyACM0 \
  --baud 921600 write_flash 0x0 firmware.bin
--port = your /dev/tty* (macOS/Linux) or COMx (Windows).
Build details: sketch space 1310720 B · data 327680 B · DIO

Specifications

ESP32-C3 · 34.3 × 25.4 mm · vs other ESP32 chips →
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
Ceramic
I/O
GPIO · ADC
11 · 6
UART · I²C · SPI
2 · 1 · 1
PWM
6 channels
Power
USB
USB-C
Serial
Native (CDC)
Boot address
0x0
Electrical
Input
-
Consumption
-
Regulator
ME6211
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · QIO
Sketch · Data
1.25 MB · 320 KB

Dimensions

25.4 mm34.3 mm
34.3 × 25.4 mm · pin pitch 2.54 mm
The LOLIN C3 Mini uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is DIO with QIO boot mode. The maximum sketch size is 1.25 MB with 320 KB available for data.

About this board

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

At $4.10 it's cheaper than most ESP32-C3 boards, which usually run around $10.

Around the module: an addressable RGB LED (GPIO7) and Reset/Button buttons.

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

Where to buy

prices are typical street prices
LOLIN C3 Mini
LOLIN C3 Mini
$4.10per unit, typical

Resources

Similar boards