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
IO0GPIO0 (FSPIQ)IO MUX pin of the general-purpose SPI2 (FSPI) bus. The H2 runs its in-package flash on GPIO15-20, which the QFN32 package does not route out, so this pin is free unless your board wires an SPI peripheral to FSPI.Other
IO1GPIO1 (FSPICS0)IO MUX pin of the general-purpose SPI2 (FSPI) bus. The H2 runs its in-package flash on GPIO15-20, which the QFN32 package does not route out, so this pin is free unless your board wires an SPI peripheral to FSPI.Other
IO2MTMSDefault JTAG TMS line - using it as GPIO disables external JTAG debugging. It is not a flash pin: the H2 keeps its in-package flash on GPIO15-20, which the QFN32 package does not route out.JTAG
IO3MTDODefault JTAG TDO line - using it as GPIO disables external JTAG debugging. It is not a flash pin: the H2 keeps its in-package flash on GPIO15-20, which the QFN32 package does not route out.JTAG
IO4MTCKDefault JTAG TCK line - using it as GPIO disables external JTAG debugging. It is not a flash pin: the H2 keeps its in-package flash on GPIO15-20, which the QFN32 package does not route out.JTAG
IO5MTDIDefault JTAG TDI line - using it as GPIO disables external JTAG debugging. It is not a flash pin: the H2 keeps its in-package flash on GPIO15-20, which the QFN32 package does not route out.JTAG
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
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.

11 of the exposed pins carry boot-time or system duties on the ESP32-H2 (IO0, IO1, IO2 and 8 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
Native USB - shows up as a port right away, no driver needed. Not detected? Hold BOOT while plugging in.
2
Match & flash
Set the Tools options shown, then click Upload.
3
Verify it runs
GPIO13 toggles - wire an LED and resistor to it, or change the pin to your board's own LED.
Set these in Tools · leave everything else at default
Arduino IDE 2.x - Tools Copy
Board: "ESP32H2 Dev Module"
USB CDC On Boot: "Enabled"
Flash Size: "4MB (32Mb)"
Flash Mode: "DIO"
Partition Scheme: "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)" (default)
Upload Speed: "921600"
▸ every other Tools option - leave at default
Board: ESP32H2 Dev Module
USB CDC On Boot: Enabled
Flash Size: 4MB (32Mb)
Flash Mode: DIO
Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
Upload Speed: 921600
Find it: Tools ▸ Board ▸ ESP32 Arduino ▸ ESP32H2 Dev Module
blink.ino Copy
// toggle GPIO13 - wire an LED and resistor to it
void setup() {
  pinMode(13, OUTPUT);
}
void loop() {
  digitalWrite(13, HIGH); delay(500);
  digitalWrite(13, LOW);  delay(500);
}
board to selectesp32-h2-devkitm-1⧉ copy
platformio.ini Copy
[env:esp32-h2-devkitm-1]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
board = esp32-h2-devkitm-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
Find it: PlatformIO Home ▸ Boards, search esp32-h2-devkitm-1 - or type it after board =.
board to selectesp32-h2-devkitm-1⧉ copy
device.yaml Copy
esp32:
  board: esp32-h2-devkitm-1
  variant: esp32h2
  framework:
    type: esp-idf

# blink - GPIO13
output:
  - platform: gpio
    pin: 13
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
Find it: search ESPHome's board list for esp32-h2-devkitm-1 (same ids as PlatformIO).
esptool doesn't pick board settings - a prebuilt .bin already has them baked in. This is just the raw flash command.
terminal Copy
esptool.py --chip esp32h2 --port /dev/ttyACM0 \
  --baud 921600 write_flash 0x0 firmware.bin
--port = your /dev/tty* (macOS/Linux) or COMx (Windows).
Build details: sketch space 1310720 B · data 327680 B · DIO

Specifications

ESP32-H2 · 48.26 × 25.4 mm · vs other ESP32 chips →
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 · 2 · 1
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