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

Pinout

11 pins · 2.54 mm pitch
View:
LOLIN C3 Mini pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
10A0safeadc
21A1safeadc
32SCKA2strappingadc · spi
43MISOA3safeadc · spi
54MOSIA4strappingadc · spi
65SSA5strappingadc · spi
77LED_BUILTINstrapping-
88SDAstrappingi2c
910SCLsafei2c
1020RXuartuart
1121TXuartuart

Start with these

4 pins with no boot or system involvement
A0A1MISOA3SCL

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

Fine - with a little care

sampled at boot or shared with debug/serial
PinLabelWhat to knowRole
SCKGPIO2Must be held high during boot (if low on reset, normal flash boot may fail)Strapping
MOSIMTMSUsed during boot; JTAG TMS for debugging; acts as Quad-SPI flash IO (hold data line) in internal-flash variantsJTAG
SSMTDIUsed during boot; JTAG TDI for debugging; acts as Quad-SPI flash IO (write-protect data line) in internal-flash variantsJTAG
LED_BUILTINMTDOUsed during boot; JTAG TDO for debugging; acts as Quad-SPI flash IO (data line) in internal-flash variantsJTAG
SDAGPIO8Must be held high during reset (if low, UART flashing/boot may not work)Strapping
RXU0RXDUsed as UART0 receive (console/bootloader); repurposing may disable serial programming and debug logsUART
TXU0TXDUsed as UART0 transmit (console/bootloader); repurposing may disable serial console output and printingUART
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.
Pinout notes 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…

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 - no driver, no serial chip. Not detected? Hold BOOT while plugging in.
2
Flash with your tool
Arduino IDE, PlatformIO, ESPHome or esptool - copy the settings on the right.
3
Verify it runs
The blink example uses GPIO0 - swap for your board's LED pin if different.
Tools → Board settings Copy
Board:            Lolin C3 Mini
USB CDC On Boot:  Enabled
Flash Size:       4MB · DIO
Upload Speed:     921600

// blink
pinMode(0, OUTPUT);
digitalWrite(0, LOW);   // on (often inverted)
platformio.ini Copy
[env:lolin_c3_mini]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
device.yaml Copy
esp32:
  board: esp32-c3-devkitm-1
  variant: lolin_c3_mini
  framework:
    type: esp-idf

# blink - GPIO0
output:
  - platform: gpio
    pin: 0
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
shell Copy
esptool.py --chip esp32c3 --port /dev/ttyACM0 \
  write_flash 0x0 firmware.bin
Build details: sketch space 1310720 B · data 327680 B · DIO

Specifications

ESP32-C3 · 34.3 × 25.4 mm
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 · 3
PWM
6 channels
Power
USB
USB-C
Serial
Native (CDC)
Boot address
0x0
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · QIO
Sketch · Data
1.25 MB · 320 KB
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