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
12· 6 ADC
GPIO
BLE 5.4+ WiFi
radio
On this page

LOLIN C3 Mini Pinout

16 pins · 2.54 mm pitch
LOLIN C3 Mini pinout diagram, high resolution: all 16 pins, with GPIO numbers, ADC channels and strapping pins
LOLIN C3 Mini pinout, drawn by ESPboards from the ESP32-C3 Series Datasheet v2.4.
LOLIN C3 Mini pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
1-ENcontrol-Chip enable (active HIGH) - the RST button pulls it low
2-3V3power-3.3 V from the on-board regulator
36IO6strapping-GPIO
4-GNDground-Ground
5-VBUSpower-5 V from the USB-C connector
60A0safeadc
71A1safeadc
82SCKA2strappingadc · spi
93MISOA3safeadc · spi
104MOSIA4strappingadc · spi
115SSA5strappingadc · spi
127LED_BUILTINstrapping-
138SDAstrappingi2c
1410SCLsafei2c
1520RXuartuart
1621TXuartuart
Download the LOLIN C3 Mini pinout Free to use and share for non-commercial work, as long as you credit espboards.dev. License.
12 GPIOs broken out 4 free · 8 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

8 pins · 8 things to know
IO6 Bootstrapping pin; JTAG TCK; Flash clock (FSPICLK in internal-flash models) JTAG

Used during boot; JTAG TCK for debugging; provides flash clock in internal-flash variants

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.

The LOLIN C3 Mini pinout brings out 16 pins at a 2.54 mm pitch - 12 usable GPIO alongside the 3V3, GND and VBUS power rails.

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.

8 of the exposed pins carry boot-time or system duties on the ESP32-C3 (IO6, SCK, MOSI and 5 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

Downloads

Free for non-commercial use, credit espboards.dev · License
LOLIN C3 Mini board illustration, front

Board illustration

The bare LOLIN C3 Mini board drawn to scale at 34.3 × 25.4 mm, with no pin labels on it. Made for slide decks, wiring diagrams and project write-ups where a photo is too busy. Take the scalable SVG for print or editing, the high-resolution PNG to drop straight in, or the transparent PNG when you need it with no background behind it.

LOLIN C3 Mini pinout diagram

Pinout diagram

Every pin on both sides of the board with its functions, drawn by ESPboards from the ESP32-C3 Series Datasheet v2.4 - the same sheet shown at the top of this page. The PNG is a high-resolution image for screens, the SVG is vector so it stays sharp at any size, and the PDF is laid out to print on A4 or Letter.

Free for non-commercial use, with the credit line kept.

Embed the LOLIN C3 Mini pinout

Paste this where you want the diagram. Keep the credit line - it is what the licence asks for, and it is the only thing we want in return.

<figure>
  <img src="https://cdn.espboards.net/boards/lolin-c3-mini/diagram-1600.png"
       alt="LOLIN C3 Mini pinout diagram" width="1600" loading="lazy">
  <figcaption>
    LOLIN C3 Mini pinout by
    <a href="https://www.espboards.dev/esp32/lolin_c3_mini/">ESPboards</a>,
    <a href="https://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC 4.0</a>
  </figcaption>
</figure>

Using it commercially? Ask us first - it takes one email.

Yours to use, share and adapt for non-commercial work, as long as you credit espboards.dev - the full terms and ready-made credit lines are here.

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.4 LE
Antenna
Ceramic
I/O
GPIO · ADC
12 · 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

LOLIN C3 Mini board, drawn to scale
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