Skip to main content

Pins & Signals

The ESP32-C5-WROOM-1U module's pins are split between board-managed functions (things the board itself wires up — buttons, I2C buses, alerts) and pins left free for your own use.

Pinout diagram

Filter:
Hover over any pin to inspect • Click to copy identifier
Loading interactive vector diagram...

Auto-generated vector pinout diagram (tools/generate-docs-assets.sh) showing all board peripherals, expansion headers (J7, J8), Stemma QT ports, buttons, and boot strapping pins with color-coded signal tags. An unstyled silkscreen line drawing draft is also preserved at /img/pinout-top-draft.svg.

For something more useful when you're actually holding the board: open the interactive BOM — hover or click any reference designator to highlight it on the board (and vice versa), search by part/value, and toggle top/bottom layers. Generated by InteractiveHtmlBom from the same .kicad_pcb source as everything else on this page.

GPIO map

GPIOFunctionCategoryStrapping pin?Pull resistorNotes
CHIP_PU/ENReboot button (SW1)FixedNo (dedicated EN pin)R1 10kΩ pull-up to 3V3_SYS + C2 1µFReset button
GPIO0LP_GPIO0 (Expansion)FreeNo (not a strap on ESP32-C5)Routed to expansion header J7 pin 3. Low-power domain, deep-sleep wake capable
GPIO1UnusedFreeNoRouted to expansion header J7
GPIO2SDA_INT — LP_I2C_SDAAssignedNoR20 4.7kΩ pull-up to 3V3_SYSInternal I2C data. Fixed-function LP pin; see below.
GPIO3SCL_INT — LP_I2C_SCLAssignedYes — SDIO sampling/clock-edge selectR21 4.7kΩ pull-up to 3V3_SYSInternal I2C clock. Fixed-function LP pin; see below.
GPIO4FG_ALERT (fuel gauge)AssignedNo — deep-sleep wake capableR401 10kΩ pull-up to 3V3_SYSFuel-gauge alert, wake-capable. Kept on its own net, separate from the charger's interrupt
GPIO5UnusedFreeNoRouted to expansion header J8
GPIO6LED1_CTRL (status LED)AssignedNo— (push-pull output)Drives LED1 through R3 (120Ω)
GPIO7UnusedFreeYes — paired SDIO edge-select strapRouted to expansion header J7
GPIO8CHG_INT (charger interrupt)AssignedNoR24 10kΩ pull-up to 3V3_SYSShort interrupt pulse; recoverable via I2C polling
GPIO9SDA_USER (user I2C data)AssignedNoR201 4.7kΩ pull-up to 3V3_USERFeeds the I2C differential buffer + external STEMMA QT port
GPIO10SCL_USER (user I2C clock)AssignedNoR202 4.7kΩ pull-up to 3V3_USERPaired with GPIO9
GPIO11U0TXDFixedNoDebug console UART, also routed to J8
GPIO12U0RXDFixedNoDebug console UART, also routed to J8
USB_D−USB_DNFixedNoR7, 22Ω seriesNative USB peripheral. The series resistor Espressif recommends.
USB_D+USB_DPFixedNoR8, 22Ω seriesNative USB peripheral. Shared with the charger's BC1.2 detection input via R9/R11, which ship as cuttable 0Ω bridges. See Notes.
GPIO15Reserved — in-package PSRAM chip-selectReservedNoConsumed inside the module, not by this board. See below.
GPIO16–22Not exposedReservedInternal to the module, not broken out
GPIO23EN_3V3_USERAssignedNoR23 100kΩ pull-down to GNDEnables the switched 3V3_USER rail; defaults OFF at power-up
GPIO24UnusedFreeNoRouted to expansion header J8; free for reassignment
GPIO25UnusedFreeYes — boot-mode strap, floating defaultRouted to expansion header J8
GPIO26UnusedFreeYes — boot-mode strap, floating defaultRouted to expansion header J8
GPIO27UnusedFreeYes — boot-mode strapRouted to expansion header J8
GPIO28Boot/flash button (SW2)Fixed/StrapYes — ROM download boot strapInternal pull-up + R4 10kΩ pull-up to 3V3_SYSPrimary ESP32-C5 boot strap. Hold SW2 low during reset (SW1) to enter download mode. Also routed to TP18

Why the internal bus is on GPIO2/GPIO3

The ESP32-C5 has one general-purpose I2C controller and one low-power controller (datasheet §4.2.1.3: "ESP32-C5 has an I2C and an LP I2C bus interface"). Two simultaneous I2C buses therefore need both.

The HP controller routes to any pin through the GPIO matrix, but LP_I2C does not — it is hard-wired through the LP IO MUX to GPIO2 (LP_I2C_SDA) and GPIO3 (LP_I2C_SCL). So the internal bus sits on exactly those two pins, and the user bus takes the HP controller on GPIO9/GPIO10. Put the internal bus anywhere else and both buses contend for the single HP controller, which won't build.

That pinning also buys something: the LP peripherals and LP CPU stay powered in deep sleep, so the charger and fuel gauge can be polled while the main CPU is off, rather than waking the whole chip to read a register.

Free IO

GPIO0, GPIO1, GPIO5, GPIO7, GPIO24, GPIO25, GPIO26, and GPIO27 are unused and available for your own projects. All of them are routed out to the two expansion headers (J7 and J8), which aren't fitted at the factory — solder a 2.54mm header strip to use them.

Note the strapping-pin caveats on GPIO7, GPIO25, GPIO26, and GPIO27 above: the MCU samples these at reset to select a boot mode, so check what each strap does before loading one down at boot. (GPIO28 is dedicated to the SW2 download boot button with an internal and external pull-up).

Special-function pins

CHIP_PU/EN, GPIO28, GPIO11–12 and the native USB pins are committed to fixed board functions — reset, boot select (SW2), debug UART and native USB respectively — and aren't available for reassignment. (GPIO0 is in the low-power domain LP_GPIO0 and is broken out on header J7 pin 3).

GPIO15 is a module-level reservation, not a board one. This design uses the ESP32-C5-WROOM-1U-N8R8 variant, where the R8 denotes 8 MB of PSRAM packaged inside the module alongside the 8 MB of flash. That PSRAM's chip-select is wired to GPIO15 within the module, so the pin never reaches the module's edge as a usable IO no matter what the host board does. This board leaves it unconnected, and the firmware doesn't enable the PSRAM either — so it is neither routed nor in use here. A module variant without in-package PSRAM would free the pin, at the cost of the PSRAM.