# ESP32-C6 Economic V2 pin map

Module: ESP32-C6-WROOM-1-N8, JLCPCB C5366877. MCU pins and non-I²C ports use 3.3 V logic. The schematic net names `/GPIO1`–`/GPIO6` identify **port numbers**; the MCU GPIO numbers below are the physical firmware pins.

| Port | JST-PH pin order | C6 physical GPIO | Firmware/usage note |
|---|---|---|---|
| I²C J2/J3, shared 3.3 V side | 1=SCL, 2=SDA, 3=3V3, 4=GND | SDA=6, SCL=7 | Direct MCU bus, with one 4.7 kΩ pull-up per line to 3V3. |
| I²C J4/J5, shared nominal 5 V side | 1=SCL, 2=SDA, 3=VIN_5V_PROT, 4=GND | SDA/SCL via BSS138 pair | One 4.7 kΩ pull-up per line to VIN_5V_PROT; common bus with J2/J3 through two-channel bidirectional level shifting. |
| ADC1 A/B/C/D | 1=3V3, 2=GND, 3=SIG | A=0, B=1, C=2, D=3 | ADC1 inputs; no external voltage divider. |
| GPIO1–GPIO6 ports | 1=3V3, 2=GND, 3=SIG | 10, 11, 18, 19, 20, 21 | 3.3 V I/O; no direct high-current or inductive loads. |
| UART1 JST | 1=3V3, 2=GND, 3=TX, 4=RX | TX=16, RX=17 | C6 UART0. ROM prints boot data on TX16 before firmware; peripheral must tolerate it. |
| UART2 JST | 1=3V3, 2=GND, 3=TX, 4=RX | TX=22, RX=23 | C6 UART1 via GPIO matrix. Board TX goes to peripheral RX. |
| USB-C | Native USB D−/D+ | 12/13 | USB Serial/JTAG for programming and console; C6 has no S3-style USB OTG. |
| PWR OUT | 1=3V3, 2=GND | — | Regulator load budget applies. |
| External power | 1=5V IN, 2=GND | — | Regulated 5 V; USB and external input are diode ORed. |

GPIO9 is BOOT: R8 10 kΩ to 3V3 and SW1 to ground. GPIO8 has R9 10 kΩ to 3V3 so GPIO8 remains high while BOOT is held low for USB/UART download. GPIO4 is RUN LED output (active HIGH), with a10k pulldown that keeps RUN off at reset and fixes the unused SDIO sampling-edge strap low. GPIO5 and GPIO15 remain unused strapping pins; keep them unconnected. EN has 10 kΩ/1 µF RC and SW2 reset switch. Do not add a large capacitor to GPIO9.

The 3.3 V buck is AP63203WU-7. D3/D4 are SS34 diodes isolating USB-C VBUS from regulated external 5 V. J4/J5 VCC is **after** those diodes: nominal 5 V, input-dependent, and not regulated to 5.0 V. Never inject an external supply into J4/J5 VCC. The BSS138 pair (JLC C2874697) has gates at 3V3, sources on the J2/J3 side and drains on the J4/J5 side. Start I²C at 100 kHz; measure pull-up strength, rise times, VOL and cable loading with actual devices, including unpowered/hot-plug cases. Validate combined JST load, buck temperature, USB programming and RF range on physical prototypes before release.

Status LEDs: PWR monitors3V3 directly; RUN is GPIO4/modulepad4, HIGH=on and LOW=off. Each redLED uses1.5k series resistance. RUN requires firmware heartbeat code; LEDhardware alone cannot prove software health. Do not initialize GPIO4 for another peripheral.
