# M5Stack NanoH2

> Ultra-compact ESP32-H2 dev module with Thread 1.4, Zigbee 3.0, Matter, and BLE 5 — featuring a Grove port, IR transmitter, and RGB LED in a stamp-sized 23.5×12mm form factor.

## Quick Facts

- **Brand:** m5stack
- **Board Type:** stamp-module
- **Price:** ~$6.95
- **CPU:** RISC-V RV32IMAC single-core @ 96MHz, IEEE 802.15.4 radio, hardware secure boot
- **CPU Architecture:** RISC-V RV32IMAC
- **CPU Cores:** 1
- **RAM:** 320KB SRAM
- **Flash:** 4MB
- **USB:** USB-C 2.0
- **Power:** 5V
- **Operating Voltage:** 3.3V
- **Operating Temp:** -40°C to +85°C
- **Dimensions:** 23.5 × 12.0 × 9.5mm
- **Weight:** 3.7g
- **Antenna:** Built-in PCB antenna

## Connectivity

- **Bluetooth:** BLE 5
- **Thread:** Thread 1.4
- **Zigbee:** Zigbee 3.0
- **Matter:** Matter over Thread

## Use Cases

- matter-smart-home
- zigbee-sensor-node
- thread-mesh-node
- home-automation
- ir-remote-control

## Components

- **ESP32-H2FH4S** (mcu): Single-core RISC-V @ 96MHz with 4MB flash, IEEE 802.15.4, BLE 5, hardware secure boot, and flash encryption. Supports Thread, Zigbee, and Matter natively. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.espressif.com%2Fsites%2Fdefault%2Ffiles%2Fdocumentation%2Fesp32-h2_datasheet_en.pdf&ref=openhardware.directory&product=m5stack-nanoh2&source=md-export)
- **WS2812B** (led-driver): Single WS2812 RGB LED for visual status indication, controllable via single-wire protocol. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fcdn-shop.adafruit.com%2Fdatasheets%2FWS2812B.pdf&ref=openhardware.directory&product=m5stack-nanoh2&source=md-export)

## GPIO Map

| Pin | Name | Type | Functions |
|-----|------|------|-----------|
| GPIO2 | IR Transmitter | IR | digital-output, pwm |
| GPIO8 | WS2812 RGB LED | WS2812 | digital-output |
| GPIO0 | Grove SDA / GPIO | I2C | digital-input, digital-output, adc |
| GPIO1 | Grove SCL / GPIO | I2C | digital-input, digital-output, adc |
| GPIO4 | GPIO / ADC | GPIO | digital-input, digital-output, adc |
| GPIO5 | GPIO / ADC | GPIO | digital-input, digital-output, adc |
| GPIO10 | GPIO / ADC | GPIO | digital-input, digital-output, adc, pwm |
| GPIO11 | GPIO / ADC | GPIO | digital-input, digital-output, adc, pwm |
| GPIO12 | GPIO / SPI CLK | SPI | digital-input, digital-output, pwm |
| GPIO13 | GPIO / SPI MOSI | SPI | digital-input, digital-output, pwm |
| GPIO14 | GPIO / SPI MISO | SPI | digital-input, digital-output, pwm |
| GPIO15 | GPIO / SPI CS | SPI | digital-input, digital-output, pwm |
| GPIO22 | UART TX | UART | digital-output |
| GPIO23 | UART RX | UART | digital-input |

## Description

## Overview

The M5Stack NanoH2 is an ultra-compact wireless development module built on the Espressif ESP32-H2FH4S SoC. At just 23.5×12×9.5mm and 3.7g, it targets applications requiring IEEE 802.15.4-based mesh networking — supporting Thread 1.4, Zigbee 3.0, and Matter natively.

The board exposes a Grove connector for plug-and-play sensor integration, an onboard IR transmitter for device control, and a WS2812 RGB LED for visual feedback. USB-C provides both power and programming. Security features include hardware secure boot and flash encryption.

The NanoH2 is ideal for building Matter-native end-devices such as smart plugs, occupancy sensors, and contact sensors that connect to Thread border routers. Its stamp-module size makes it suitable for embedding in enclosures or prototyping compact wireless nodes.

## Where to Buy

- [M5Stack Store](https://openhardware.directory/r?to=https%3A%2F%2Fshop.m5stack.com%2Fproducts%2Fm5stack-nanoh2-dev-kit-esp32-h2&ref=openhardware.directory&product=m5stack-nanoh2&source=md-export) — 6.95

## Resources

- [product](https://openhardware.directory/r?to=https%3A%2F%2Fshop.m5stack.com%2Fproducts%2Fm5stack-nanoh2-dev-kit-esp32-h2&ref=openhardware.directory&product=m5stack-nanoh2&source=md-export)
- [datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.espressif.com%2Fsites%2Fdefault%2Ffiles%2Fdocumentation%2Fesp32-h2_datasheet_en.pdf&ref=openhardware.directory&product=m5stack-nanoh2&source=md-export)

## Tags

`esp32-h2`, `matter`, `thread`, `zigbee`, `ble`, `m5stack`, `stamp-module`, `grove`

## Images

![M5Stack NanoH2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/m5stack-nanoh2/b5ba676f0a2f.jpg)
![M5Stack NanoH2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/m5stack-nanoh2/789bf7dacf14.jpg)
![M5Stack NanoH2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/m5stack-nanoh2/27cf17dda116.jpg)
![M5Stack NanoH2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/m5stack-nanoh2/a24566fecfa3.jpg)
![M5Stack NanoH2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/m5stack-nanoh2/e1d10e37e62e.jpg)
![M5Stack NanoH2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/m5stack-nanoh2/0764a675d87e.jpg)
![M5Stack NanoH2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/m5stack-nanoh2/5219669362db.jpg)
![M5Stack NanoH2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/m5stack-nanoh2/fd9d6aa9bbd0.jpg)

---
[View full device page](https://openhardware.directory/devices/m5stack-nanoh2)