ESP32-H2-DevKitM-1
Espressif's entry-level ESP32-H2 board: an ESP32-H2-MINI-1 module (Bluetooth LE and IEEE 802.15.4, no Wi-Fi) with 4 MB flash, two USB-C ports, Boot/Reset buttons, an RGB LED on GPIO8 and, on newer boards, a 32.768 kHz crystal.
Pinout
Which pins to use
Free to use (6)
- GPIO0
- GPIO1
- GPIO10
- GPIO11
- GPIO12
- GPIO22
Usable, with care (13)
- GPIO2 — JTAG pin
- GPIO3 — JTAG pin
- GPIO4 — JTAG pin
- GPIO5 — JTAG pin
- GPIO8 — on-board: Addressable RGB LED (WS2812B); strapping pin: Boot mode (together with GPIO9); UART0 ROM message printing
- GPIO9 — on-board: Boot button (SW1); strapping pin: Boot mode
- GPIO13 — on-board: 32.768 kHz crystal (XTAL_32K_P / XTAL_32K_N), fitted from PW-2024-02-0362
- GPIO14 — on-board: 32.768 kHz crystal (XTAL_32K_P / XTAL_32K_N), fitted from PW-2024-02-0362
- GPIO23 — on-board: USB-to-UART bridge (UART0 TX / RX); UART0 console
- GPIO24 — on-board: USB-to-UART bridge (UART0 TX / RX); UART0 console
- GPIO25 — strapping pin: JTAG signal source (only if EFUSE_JTAG_SEL_ENABLE is burnt)
- GPIO26 — on-board: ESP32-H2 USB Type-C port (USB D- / D+); USB D- (native USB)
- GPIO27 — on-board: ESP32-H2 USB Type-C port (USB D- / D+); USB D+ (native USB)
Avoid (0)
- —
Derived from the chip and board data on this site (pin roles, strapping pins, on-board parts). “Free” still means: check the pin table for ADC/touch channels. Try your own combination in the pin planner.
Arduino IDE
Default pins from the variant's pins_arduino.h in arduino-esp32 3.3.12; this is what Wire.begin(), SPI.begin() and Serial0 use without arguments.
TX | GPIO243 |
RX | GPIO233 |
SDA | GPIO123 |
SCL | GPIO223 |
SS | GPIO03 |
MOSI | GPIO253 |
MISO | GPIO113 |
SCK | GPIO103 |
LED_BUILTIN | GPIO8 (addressable RGB LED, driven via SOC_GPIO_PIN_COUNT + pin)3 |
On-board connections
| GPIO8 | Addressable RGB LED (WS2812B)13 |
| GPIO9 | Boot button (SW1)12 |
| GPIO13, GPIO14 | 32.768 kHz crystal (XTAL_32K_P / XTAL_32K_N), fitted from PW-2024-02-03621 |
| GPIO26, GPIO27 | ESP32-H2 USB Type-C port (USB D- / D+)16 |
| GPIO24, GPIO23 | USB-to-UART bridge (UART0 TX / RX)13 |
Things to know
ESP32-H2 has a 2.4 GHz radio for Bluetooth LE and IEEE 802.15.4 (Thread, Zigbee) only. There is no Wi-Fi.1
GPIO13 and GPIO14 go to the 32.768 kHz crystal. On boards from PW-2024-02-0362 (February 2024) the crystal is fitted and the series resistors to the header are not, so these header pins are not connected to the GPIOs; with the crystal in use the pins cannot be used for anything else.12
GPIO8 (RGB LED), GPIO9 (Boot button) and GPIO25 are the ESP32-H2 strapping pins; all three are on J3.6
The guide names only the UART port as a power input. The USB port is the chip's own full-speed USB on GPIO26/27, which are also J3 pins 14 and 13.1
Removing the J5 jumper cuts the module off from the rest of the board, so an ammeter across J5 measures the module's current. When powering from the 3V3 pin, remove the jumper and measure in series with the external supply.1
Pin table
| Header | # | Label | GPIO | Functions |
|---|---|---|---|---|
| J112 | 1 | 3V3 | 3V3 | |
| J1 | 2 | RST | RST | |
| J1 | 3 | 0 | GPIO0 | SS |
| J1 | 4 | 1 | GPIO1 | ADC1_CH0 |
| J1 | 5 | 2 | GPIO2 | ADC1_CH1 JTAG |
| J1 | 6 | 3 | GPIO3 | ADC1_CH2 JTAG |
| J1 | 7 | 13/N | GPIO13 | 32 kHz XTAL XTAL_32K |
| J1 | 8 | 14/N | GPIO14 | 32 kHz XTAL XTAL_32K |
| J1 | 9 | 4 | GPIO4 | ADC1_CH3 JTAG |
| J1 | 10 | 5 | GPIO5 | ADC1_CH4 JTAG |
| J1 | 11 | NC | NC | |
| J1 | 12 | VBAT | VBAT | |
| J1 | 13 | G | G | |
| J1 | 14 | 5V | 5V | |
| J1 | 15 | G | G | |
| J312 | 1 | G | G | |
| J3 | 2 | TX | GPIO24 | to USB-UART |
| J3 | 3 | RX | GPIO23 | to USB-UART |
| J3 | 4 | 10 | GPIO10 | SCK |
| J3 | 5 | 11 | GPIO11 | MISO |
| J3 | 6 | 25 | GPIO25 | MOSI STRAP |
| J3 | 7 | 12 | GPIO12 | SDA |
| J3 | 8 | 8 | GPIO8 | RGB LED STRAP |
| J3 | 9 | 22 | GPIO22 | SCL |
| J3 | 10 | G | G | |
| J3 | 11 | 9 | GPIO9 | BOOT button STRAP |
| J3 | 12 | G | G | |
| J3 | 13 | 27 | GPIO27 | USB D+ |
| J3 | 14 | 26 | GPIO26 | USB D- |
| J3 | 15 | G | G |
Specifications
| Board | |
|---|---|
| Module / chip | ESP32-H2-MINI-1 (or ESP32-H2-MINI-1U)1 |
| Flash | 4 MB flash in the chip package (ESP32-H2-DevKitM-1-N4S)15 |
| PSRAM | — |
| USB | USB Type-C to UART port (via the USB-to-UART bridge, default power input) and ESP32-H2 USB Type-C port (the chip's own USB, full speed 12 Mbps)1 |
| USB-to-UART bridge | CP2102N USB-to-UART bridge (up to 3 Mbps), wired to UART0 (TX = GPIO24, RX = GPIO23)21 |
| LEDs | 3.3 V power-on LED; addressable RGB LED (WS2812B) on GPIO812 |
| Buttons | Boot (GPIO9) and Reset (CHIP_PU)1 |
| Size | PCB 25.40 × 48.26 mm; the module antenna extends 5.40 mm past the PCB edge7 |
| Power | USB Type-C to UART port (default), or 5V and GND pins, or 3V3 and GND pins; the three options are mutually exclusive. J1 also has a VBAT pin (3.3 V supply or battery).1 |
Sources
Each number on this page links here. Open “What it confirms” to see the exact quote behind every value. Checked 2026-11-28.
- ESP32-H2-DevKitM-1 User Guide (esp-dev-kits) primary
What it confirms (22)
- ESP32-H2-DevKitM-1: header J1 pins “1 | 3V3 | P | 3.3 V power supply … 2 | RST | I | High: enables the chip; Low: the chip powers off; connected to the internal pull-up resistor by default … 3 | 0 | I/O/T | GPIO0 … 4 | 1 | I/O/T | GPIO1 … 5 | 2 | I/O/T | GPIO2 … 6 | 3 | I/O/T | GPIO3 … 7 | 13/N | I/O/T | GPIO13 … 8 | 14/N | I/O/T | GPIO14 … 9 | 4 | I/O/T | GPIO4 … 10 | 5 | I/O/T | GPIO5 … 11 | NC | – … 12 | VBAT | P | 3.3 V power supply or battery … 13 | G | P | Ground … 14 | 5V | P | 5 V power supply … 15 | G | P | Ground”
- ESP32-H2-DevKitM-1: header J3 pins “1 | G | P | Ground … 2 | TX | I/O/T | GPIO24 … 3 | RX | I/O/T | GPIO23 … 4 | 10 | I/O/T | GPIO10 … 5 | 11 | I/O/T | GPIO11 … 6 | 25 | I/O/T | GPIO25 … 7 | 12 | I/O/T | GPIO12 … 8 | 8 | I/O/T | GPIO8 … 9 | 22 | I/O/T | GPIO22 … 10 | G | P | Ground … 11 | 9 | I/O/T | GPIO9 … 12 | G | P | Ground … 13 | 27 | I/O/T | GPIO27 … 14 | 26 | I/O/T | GPIO26 … 15 | G | P | Ground”
- ESP32-H2-DevKitM-1: orientation “The two tables below provide the Name and Function of the pin headers on both sides of the board (J1 and J3).”
- ESP32-H2-DevKitM-1: Module / chip “IEEE 802.15.4 combo module ESP32-H2-MINI-1 or ESP32-H2-MINI-1U”
- ESP32-H2-DevKitM-1: Flash “ESP32-H2-DevKitM-1-N4S | ESP32-H2-MINI-1 | 4 MB”
- ESP32-H2-DevKitM-1: USB “The USB Type-C port on the ESP32-H2 chip compliant with USB 2.0 full speed … Power supply for the board as well as the communication interface between a computer and the ESP32-H2 chip via USB-to-UART bridge.”
- ESP32-H2-DevKitM-1: USB-UART “Single USB-UART bridge chip provides transfer rates up to 3 Mbps.”
- ESP32-H2-DevKitM-1: Addressable RGB LED (WS2812B) “Addressable RGB LED, driven by GPIO8.”
- ESP32-H2-DevKitM-1: Boot button (SW1) “GPIO9, BOOT”
- ESP32-H2-DevKitM-1: 32.768 kHz crystal (XTAL_32K_P / XTAL_32K_N), fitted from PW-2024-02-0362 “GPIO13, XTAL_32K_P … GPIO14, XTAL_32K_N … For boards with the PW number of and after PW-2024-02-0362 (on and after February 2024), the 32.768 kHz crystal is populated by default”
- ESP32-H2-DevKitM-1: ESP32-H2 USB Type-C port (USB D- / D+) “GPIO26, FSPICS4, USB_D- … GPIO27, FSPICS5, USB_D+”
- ESP32-H2-DevKitM-1: USB-to-UART bridge (UART0 TX / RX) “GPIO24, FSPICS2, U0TXD … GPIO23, FSPICS1, U0RXD”
- ESP32-H2-DevKitM-1: No Wi-Fi “which integrates a 2.4 GHz transceiver compliant with Bluetooth ® Low Energy and IEEE 802.15.4-based technologies … supporting Bluetooth 5 (LE), Bluetooth mesh, Thread, Matter, and Zigbee”
- ESP32-H2-DevKitM-1: Pins 13/N and 14/N “the 32.768 kHz crystal is populated by default, while the series resistor connected here to the surrounding pins is updated to not populated … When connected to XTAL_32K_P inside the module, this pin cannot be used for other purpose.”
- ESP32-H2-DevKitM-1: Two USB-C ports “USB Type-C to UART port, default power supply … GPIO27, FSPICS5, USB_D+ … GPIO26, FSPICS4, USB_D-”
- ESP32-H2-DevKitM-1: J5: current measurement “Remove the jumper: Power supply between the module and peripherals on the board is cut off. … When using 3V3 and GND pin headers to power the board, please remove the J5 jumper”
- ESP32-H2-DevKitM-1: header J1 “1 | 3V3 | P | 3.3 V power supply … 2 | RST | I | High: enables the chip; Low: the chip powers off; connected to the internal pull-up resistor by default … 3 | 0 | I/O/T | GPIO0 … 4 | 1 | I/O/T | GPIO1 … 5 | 2 | I/O/T | GPIO2 … 6 | 3 | I/O/T | GPIO3 … 7 | 13/N | I/O/T | GPIO13 … 8 | 14/N | I/O/T | GPIO14 … 9 | 4 | I/O/T | GPIO4 … 10 | 5 | I/O/T | GPIO5 … 11 | NC | – … 12 | VBAT | P | 3.3 V power supply or battery … 13 | G | P | Ground … 14 | 5V | P | 5 V power supply … 15 | G | P | Ground”
- ESP32-H2-DevKitM-1: header J3 “1 | G | P | Ground … 2 | TX | I/O/T | GPIO24 … 3 | RX | I/O/T | GPIO23 … 4 | 10 | I/O/T | GPIO10 … 5 | 11 | I/O/T | GPIO11 … 6 | 25 | I/O/T | GPIO25 … 7 | 12 | I/O/T | GPIO12 … 8 | 8 | I/O/T | GPIO8 … 9 | 22 | I/O/T | GPIO22 … 10 | G | P | Ground … 11 | 9 | I/O/T | GPIO9 … 12 | G | P | Ground … 13 | 27 | I/O/T | GPIO27 … 14 | 26 | I/O/T | GPIO26 … 15 | G | P | Ground”
- ESP32-H2-DevKitM-1: USB-to-UART bridge “Single USB-UART bridge chip provides transfer rates up to 3 Mbps.”
- ESP32-H2-DevKitM-1: LEDs “3.3 V Power On LED … Addressable RGB LED, driven by GPIO8.”
- ESP32-H2-DevKitM-1: Buttons “Holding down Boot and then pressing Reset initiates Firmware Download mode … Press this button to restart the system.”
- ESP32-H2-DevKitM-1: Power “There are three mutually exclusive ways to provide power to the board: … USB Type-C to UART port, default power supply … 5V and GND pin headers … 3V3 and GND pin headers … VBAT | P | 3.3 V power supply or battery”
- ESP32-H2-DevKitM-1 Schematics v1.3 primary
What it confirms (9)
- ESP32-H2-DevKitM-1: header J1 pins “CHIP_PU GPIO0 GPIO1 GPIO2 GPIO3 GPIO13 GPIO14 GPIO4 GPIO5”
- ESP32-H2-DevKitM-1: header J3 pins “UART_TXD UART_RXD GPIO10 GPIO11 GPIO25 GPIO12 GPIO8 GPIO22”
- ESP32-H2-DevKitM-1: USB-UART “CP2102N-A02-GQFN28”
- ESP32-H2-DevKitM-1: Boot button (SW1) “2 3 GPIO9 2 3 CHIP_PU”
- ESP32-H2-DevKitM-1: Pins 13/N and 14/N “GPIO13 R26 0(1%)(NC) 0(1%)(NC) R27 GPIO14”
- ESP32-H2-DevKitM-1: header J1 “CHIP_PU GPIO0 GPIO1 GPIO2 GPIO3 GPIO13 GPIO14 GPIO4 GPIO5”
- ESP32-H2-DevKitM-1: header J3 “UART_TXD UART_RXD GPIO10 GPIO11 GPIO25 GPIO12 GPIO8 GPIO22”
- ESP32-H2-DevKitM-1: USB-to-UART bridge “CP2102N-A02-GQFN28”
- ESP32-H2-DevKitM-1: LEDs “WS2812B”
- arduino-esp32 3.3.12: variants/esp32h2/pins_arduino.h primary
What it confirms (11)
- ESP32-H2-DevKitM-1: TX “static const uint8_t TX = 24;”
- ESP32-H2-DevKitM-1: RX “static const uint8_t RX = 23;”
- ESP32-H2-DevKitM-1: SDA “static const uint8_t SDA = 12;”
- ESP32-H2-DevKitM-1: SCL “static const uint8_t SCL = 22;”
- ESP32-H2-DevKitM-1: SS “static const uint8_t SS = 0;”
- ESP32-H2-DevKitM-1: MOSI “static const uint8_t MOSI = 25;”
- ESP32-H2-DevKitM-1: MISO “static const uint8_t MISO = 11;”
- ESP32-H2-DevKitM-1: SCK “static const uint8_t SCK = 10;”
- ESP32-H2-DevKitM-1: LED_BUILTIN “#define LED_BUILTIN LED_BUILTIN … #define PIN_RGB_LED 8”
- ESP32-H2-DevKitM-1: Addressable RGB LED (WS2812B) “#define PIN_RGB_LED 8”
- ESP32-H2-DevKitM-1: USB-to-UART bridge (UART0 TX / RX) “static const uint8_t TX = 24; … static const uint8_t RX = 23;”
- arduino-esp32 3.3.12: boards.txt primary
What it confirms (1)
- ESP32-H2-DevKitM-1: Arduino board “esp32h2.name=ESP32H2 Dev Module”
- ESP32-H2-MINI-1 & ESP32-H2-MINI-1U Datasheet v1.6 primary
What it confirms (1)
- ESP32-H2-DevKitM-1: Flash “2 MB or 4 MB flash in chip package”
- ESP32-H2 Series Datasheet v1.3 primary
What it confirms (2)
- ESP32-H2-DevKitM-1: ESP32-H2 USB Type-C port (USB D- / D+) “The pins USB_D+ and USB_D- for the USB Serial/JTAG Controller are multiplexed with GPIO26 ~ GPIO27”
- ESP32-H2-DevKitM-1: Strapping pins “Three strapping pins: GPIO8, GPIO9, and GPIO25”
- ESP32-H2-DevKitM-1 Dimensions v1.2 primary
What it confirms (1)
- ESP32-H2-DevKitM-1: Size “25.40 … 48.26 … 5.40”