Designing a PCB with the ESP32-C3
The ESP32-C3 is Espressif's single-core RISC-V microcontroller with 2.4 GHz Wi-Fi and Bluetooth LE, in a 5×5 mm QFN32 package. It has a built-in USB Serial/JTAG port, so a board can be programmed and debugged over USB without a separate USB-to-UART chip. The usual base-board work is a clean 3.3 V rail, an RC reset, three strapping pins and a clear antenna area.
- CPU
- 32-bit RISC-V single core, up to 160 MHz
- On-chip memory
- 400 KB SRAM (16 KB for cache), 384 KB ROM, 8 KB RTC SRAM
- Flash
- Up to 16 MB external, or 4 or 8 MB in package; MINI-1 up to 8 MB
- Supply
- 3.0 to 3.6 V (3.3 V typical), 0.5 A supply capability
- Radio
- Wi-Fi 802.11b/g/n (2.4 GHz), Bluetooth 5 LE
- USB
- USB Serial/JTAG, full-speed device (GPIO18 D−, GPIO19 D+)
- GPIO
- 22 (16 on ESP32-C3FH4X), up to 15 on the MINI-1 module
- Package
- QFN32 5×5 mm; MINI-1 module 13.2 × 16.6 × 2.4 mm
- Board plans in Cuprio using it
- 5 (as of 27 November 2026)
Module or bare chip?
The ESP32-C3-MINI-1 module (13.2 × 16.6 × 2.4 mm) contains the chip with in-package flash, the 40 MHz crystal and a PCB antenna, and brings out up to 15 GPIOs. The MINI-1U variant uses a connector for an external antenna instead.
The bare chip needs about 20 passives, a 40 MHz crystal (the only frequency the firmware supports, within ±10 ppm), flash unless the variant has it in package, a CLC matching network in 0201 parts and a 50 Ω RF trace. On in-package flash variants the flash pins cannot be used for anything else, which is why the ESP32-C3FH4X offers 16 GPIOs instead of 22.
How should the ESP32-C3 be powered and decoupled?
Use a single 3.3 V supply that can deliver at least 500 mA, with an ESD diode and at least 10 µF where power enters the board. All supply pins run from 3.0 to 3.6 V. Put 0.1 µF next to VDD3P3_CPU and next to VDD3P3_RTC. The analog VDD3P3 rail sees current steps when the radio transmits, so it gets 10 µF and an LC filter with an inductor rated 500 mA or more.
VDD_SPI is fed from VDD3P3_CPU through an internal resistor and powers the flash at about 3.3 V; give it 1 µF and keep the supply at 3.0 V or more. When it is not powering flash, the same pin can be used as GPIO11.
Reset, strapping pins and programming
- CHIP_EN must never float. Espressif recommends a 10 kΩ pull-up with 1 µF to ground; the rails need at least 50 µs to settle before EN rises. For slow-rising or unstable supplies, use a supervisor with a threshold near 3.0 V.
- GPIO2, GPIO8 and GPIO9 are the strapping pins, read for at least 3 ms after EN goes high. GPIO9 high (internal pull-up) boots from flash. GPIO9 low with GPIO8 high enters download mode over USB or UART.
- Pull GPIO2 up to avoid glitches, make sure whatever hangs on GPIO8 (often an LED) leaves it high at reset, and add a pull-up and BOOT button on GPIO9 without a large capacitor.
- UART0 is the default download and log port; a 499 Ω series resistor on U0TXD helps suppress harmonics.
USB on the ESP32-C3
The USB peripheral is a full-speed Serial/JTAG device only: it can flash firmware, print logs and debug, but it is not a general USB OTG controller. GPIO18 is D− and GPIO19 is D+. Reserve 22 or 33 Ω series resistors and unpopulated capacitors to ground close to the chip, and route the lines as a 90 Ω ±10% differential pair over continuous ground with as few vias as possible. Add ESD protection at the connector if the port is exposed.
GPIO18 shows a high-level glitch lasting about 50 ms at power-up, so do not use it to drive anything that must stay off during boot.
Layout: crystal, RF and antenna
- Four layers are recommended, with unbroken ground on layer 2; two layers work if the chip, crystal and RF path keep continuous ground.
- Main 3.3 V traces at least 25 mil, VDD3P3 at least 20 mil, and at least nine ground vias in the exposed pad.
- Crystal at least 2.0 mm from the chip, no vias on its clock traces, a 24 nH series inductor on XTAL_P to start with, and no signals underneath.
- For a module, the antenna goes past the board edge or over a cut-out, with a keep-out zone carrying no copper and about 15 mm of clearance to the enclosure.
Common mistakes
Typical faults are a floating EN pin, an LED circuit that pulls GPIO8 low, copper under the antenna, and using ADC2, which is not factory-calibrated; Espressif recommends ADC1. Cuprio checks the schematic with electrical rule checks before layout; see how Cuprio designs a board.
Sources
- Espressif: ESP32-C3 Series Datasheetespressif.com
CPU, memory, GPIO counts, supply range and 0.5 A, USB Serial/JTAG, package
- Espressif: ESP32-C3-MINI-1 & MINI-1U Datasheetespressif.com
Module size, GPIOs, in-package flash, integrated 40 MHz crystal
- Espressif: ESP32-C3 Hardware Design Guidelines, Schematic Checklistdocs.espressif.com
Decoupling, VDD_SPI, EN timing, strapping pins, crystal, UART and USB resistors, GPIO18 glitch, ADC1
- Espressif: ESP32-C3 Hardware Design Guidelines, PCB Layout Designdocs.espressif.com
Stackup, trace widths, ground vias, crystal and RF layout, USB 90 Ω pair, antenna clearance
