Pinout Reference
The ESP32-P4-WIFI6-DEV-KIT exposes a 40-pin (2x20) GPIO header at 2.54 mm pitch. This page documents every pin on the header.
Pin legend
Section titled “Pin legend”Pin functions are color-coded by type:
- Power (3.3 V / 5 V)
- Ground (GND)
- General-purpose GPIO
- I2C bus (SDA / SCL)
- UART (TX / RX)
40-pin header map
Section titled “40-pin header map”Pin 1 is at the top-left corner of the header (closest to the board edge near the Ethernet jack). Left column is odd-numbered, right column is even-numbered.
| Pin | Left Function | Right Function | Pin | |
|---|---|---|---|---|
| 1 | 3V3 | 5V | 2 | |
| 3 | SDA / GPIO7 | 5V | 4 | |
| 5 | SCL / GPIO8 | GND | 6 | |
| 7 | GPIO23 | TXD / GPIO37 | 8 | |
| 9 | GND | RXD / GPIO38 | 10 | |
| 11 | GPIO21 | GPIO22 | 12 | |
| 13 | GPIO20 | GND | 14 | |
| 15 | GPIO6 | GPIO5 | 16 | |
| 17 | 3V3 | GPIO4 | 18 | |
| 19 | GPIO3 | GND | 20 | |
| 21 | GPIO2 | GPIO1 | 22 | |
| 23 | GPIO0 | GPIO36 | 24 | |
| 25 | GND | GPIO32 | 26 | |
| 27 | GPIO24 | GPIO25 | 28 | |
| 29 | GPIO33 | GND | 30 | |
| 31 | GPIO26 | GPIO54 | 32 | |
| 33 | GPIO48 | GND | 34 | |
| 35 | GPIO53 | GPIO46 | 36 | |
| 37 | GPIO47 | GPIO27 | 38 | |
| 39 | GND | GPIO45 | 40 |
Power pins
Section titled “Power pins”The header provides both 3.3 V and 5 V power rails:
| Pin(s) | Voltage | Notes |
|---|---|---|
| 1, 17 | 3.3 V | Regulated 3.3 V output from onboard regulator. Max draw depends on total board load. |
| 2, 4 | 5 V | Direct from USB input. Available when powered via either USB-C port. |
| 6, 9, 14, 20, 25, 30, 34, 39 | GND | Common ground reference. |
I2C pins
Section titled “I2C pins”| Function | Pin | GPIO |
|---|---|---|
| SDA | 3 | GPIO7 |
| SCL | 5 | GPIO8 |
These are the default I2C bus pins, shared with the dedicated I2C port connector on the board. If you connect I2C devices to both the header and the I2C port connector simultaneously, they will be on the same bus.
UART pins
Section titled “UART pins”| Function | Pin | GPIO |
|---|---|---|
| TXD | 8 | GPIO37 |
| RXD | 10 | GPIO38 |
GPIO capabilities
Section titled “GPIO capabilities”All GPIO pins on the header support:
- Digital input and output
- Internal pull-up and pull-down resistors
- Edge and level interrupts
Specific pins may also support analog input (ADC), PWM output, or alternate peripheral functions depending on the ESP32-P4 multiplexing configuration. Consult the ESP32-P4 Technical Reference Manual for the full pin multiplexing matrix.
Pin summary by type
Section titled “Pin summary by type”| Type | Count | Pins |
|---|---|---|
| 3.3 V Power | 2 | 1, 17 |
| 5 V Power | 2 | 2, 4 |
| Ground | 8 | 6, 9, 14, 20, 25, 30, 34, 39 |
| I2C | 2 | 3 (SDA), 5 (SCL) |
| UART | 2 | 8 (TXD), 10 (RXD) |
| GPIO | 24 | 7, 11-13, 15-16, 18-19, 21-24, 26-29, 31-33, 35-38, 40 |
Pin assignments sourced from the Waveshare ESP32-P4-WIFI6-DEV-KIT Wiki.