Espressif ESP32-H2-DevKitM-1

Official ESP32-H2 dev board with 802.15.4 and BLE - perfect for Zigbee, Thread, and secure IoT development.

2× USB-C Native USB
Espressif ESP32-H2-DevKitM-1 board
48.26 × 25.4 mm
ESP32-H2
RISC-V MCU
96MHz
clock
4MB
flash
320KB
SRAM
19· 5 ADC
GPIO
BLE 5.0+ WiFi
radio
On this page

Pinout

30 pins · 2.54 mm pitch
View:
Espressif ESP32-H2-DevKitM-1 pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
1-3V33.3Vpower-3.3V regulated output
2-RSTENcontrol-Chip reset (active low)
30IO0strappingpwmFast SPI FSPIQ
41IO1A1strappingadc · pwmADC1_CH0; FSPICS0
52IO2A2strappingadc · pwmADC1_CH1; JTAG MTMS; FSPIWP
63IO3A3strappingadc · pwmADC1_CH2; JTAG MTDO; FSPIHD
713IO13safepwm32.768 kHz crystal XTAL_32K_P
814IO14safepwm32.768 kHz crystal XTAL_32K_N
94IO4A4strappingadc · pwmADC1_CH3; JTAG MTCK; FSPICLK
105IO5A5strappingadc · pwmADC1_CH4; JTAG MTDI; FSPID
11-NC-Not connected
12-VBAT3V3power-Battery / RTC 3.3V input
13-GNDground-Ground
14-5Vpower-5V input (from USB) / output
15-GNDground-Ground
16-GNDground-Ground
1724IO24TXuartuart · pwmUART0 TX; FSPICS2
1823IO23RXuartuart · pwmUART0 RX; FSPICS1
1910IO10safepwmZero-crossing detector ZCD0
2011IO11safepwmZero-crossing detector ZCD1
2125IO25strappingpwmFast SPI FSPICS3
2212IO12safepwmGeneral-purpose GPIO
238IO8strappingpwmOnboard RGB LED; ROM boot log (LOG)
2422IO22safepwmGeneral-purpose GPIO
25-GNDground-Ground
269IO9strappingpwmBOOT button
27-GNDground-Ground
2827IO27uartpwmUSB D+ (native USB Serial/JTAG); FSPICS5
2926IO26uartpwmUSB D- (native USB Serial/JTAG); FSPICS4
30-GNDground-Ground

Start with these

6 pins with no boot or system involvement
IO13IO14IO10IO11IO12IO22

Freely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.

Fine - with a little care

sampled at boot or shared with debug/serial
PinLabelWhat to knowRole
IO24U0TXDOften used for boot log output and serial debugging; repurposing it can disable serial output of boot messages and interfere with console debugging.UART
IO23U0RXDOften used for the serial console and bootloader input; repurposing it may conflict with UART communication for programming or debugging.UART
IO25GPIO25Used during boot to determine the JTAG interface source; this pin has no internal pull-up/down, so it must not be left floating (an external resistor drives it high/low to avoid unintended JTAG mode selection).Strapping
IO8GPIO8Must be held at the proper logic level on reset to select the correct boot mode and enable/disable bootloader log output.Strapping
IO9GPIO9Must be pulled high on reset for normal SPI flash boot (pulling it low while GPIO8 is high forces the chip into download/programming mode).Strapping

Only if you know the tricks

wired to flash or USB - expect a fight
PinLabelWhat to knowRole
IO0GPIO0Connected to the external (or in-package) flash memory as a data line; cannot be repurposed without interfering with program storage.Flash
IO1GPIO1Used to select the SPI flash chip (not brought out on modules with in-package flash); needed for flash access, so it should not be used as a general IO.Flash
IO2MTMSServes as the flash memory’s write-protect pin and the JTAG TMS line; using it as GPIO can disrupt flash operation or JTAG debugging.Flash
IO3MTDOServes as the flash HOLD (D3) line and the JTAG TDO output; repurposing it can interfere with flash reads/writes or JTAG debugging.Flash
IO4MTCKActs as the SPI flash clock line and the JTAG clock; cannot be used as GPIO without halting flash operation or debug capability.Flash
IO5MTDIFunctions as the flash data input (D0) line and JTAG TDI input; using it as GPIO will interfere with the flash data bus and JTAG functionality.Flash
IO27USB_D+By default, this pin is connected to the internal USB Serial/JTAG controller; using it as a general-purpose IO would disable the USB functionality used for debugging/programming.USB
IO26USB_D-By default, this pin is connected to the chip’s internal USB Serial/JTAG peripheral; using it as a general-purpose IO requires disabling or reconfiguring that USB interface.USB
These are recommendations, not hard rules - with the right pull-ups, timing and boot-state awareness most pins can be made to work. When in doubt, start green.
Pinout notes Across 30 pins (2.54 mm pitch), the Espressif ESP32-H2-DevKitM-1 exposes 19 GPIO plus 3V3 , VBAT , GND and 5V for power. Peripheral wiring is straightforward:…

Across 30 pins (2.54 mm pitch), the Espressif ESP32-H2-DevKitM-1 exposes 19 GPIO plus 3V3, VBAT, GND and 5V for power.

Peripheral wiring is straightforward: TX/RX on GPIO24 and GPIO23 cover serial logging and flashing.

Beyond plain digital I/O you get 5 ADC-capable pins for sensors and battery monitoring and PWM on every GPIO.

5 of the exposed pins carry boot-time or system duties on the ESP32-H2 (IO24, IO23, IO25 and 2 more) - check the guidance above before wiring anything to them. IO13, IO14, IO10, IO11 and 2 more are free of any such role - the safest first picks.

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Serial chip: CP2102N. Not detected? Hold BOOT while plugging in.
2
Flash with your tool
Arduino IDE, PlatformIO, ESPHome or esptool - copy the settings on the right.
3
Verify it runs
The blink example uses GPIO13 - swap for your board's LED pin if different.
Tools → Board settings Copy
Board:            Esp32 H2 Devkitm 1
Flash Size:       4MB · DIO
Upload Speed:     921600

// blink
pinMode(13, OUTPUT);
digitalWrite(13, LOW);   // on (often inverted)
platformio.ini Copy
[env:esp32-h2-devkitm-1]
platform = espressif32
board = esp32-h2-devkitm-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
device.yaml Copy
esp32:
  board: esp32-h2-devkitm-1
  variant: esp32_h2_devkitm_1
  framework:
    type: esp-idf

# blink - GPIO13
output:
  - platform: gpio
    pin: 13
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
shell Copy
esptool.py --chip esp32h2 --port /dev/ttyACM0 \
  write_flash 0x0 firmware.bin
Build details: sketch space 1310720 B · data 327680 B · DIO

Specifications

ESP32-H2 · 48.26 × 25.4 mm
Compute
MCU
ESP32-H2 · RISC-V
Clock
96 MHz
SRAM · Flash
320 KB · 4MB
Radio
Wi-Fi
-
Bluetooth
5.0 LE
Antenna
PCB
I/O
GPIO · ADC
19 · 5
UART · I²C · SPI
2 · 1 · 2
PWM
6 channels
Power
USB
USB-C (UART) · USB-C (native)
Serial
CP2102N
Boot address
0x0
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · DIO
Sketch · Data
1.25 MB · 320 KB
25.4 mm48.26 mm
48.26 × 25.4 mm · pin pitch 2.54 mm
The Espressif ESP32-H2-DevKitM-1 uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is DIO with DIO boot mode. The maximum sketch size is 1.25 MB with 320 KB available for data.

About this board

Inside sits the ESP32-H2 - a Thread/Zigbee-focused RISC-V with no Wi-Fi at all.

Around the module: an addressable RGB LED (GPIO8) and Boot/Reset buttons.

  • 802.15.4 radio for Thread, Zigbee and Matter plus Bluetooth 5 (LE); no Wi-Fi
  • No PSRAM

Where to buy

prices are typical street prices
Espressif ESP32-H2-DevKitM-1
Espressif ESP32-H2-DevKitM-1
$15.00per unit, typical
As an Amazon Associate, ESPboards earns from qualifying purchases.

Resources

Similar boards