
M5STACK NanoH2 Tiny IoT Development Board

ESPECIFICACIONS
| MCU | ESP32-H2FH4S@RISC-V 32-bit single-core processor 96MHZ, 128 KB ROM, 320 KB SRAM, 4 KB low-power SRAM, supports external flash |
|---|---|
| RGB programable | WS2812-2020 |
| Vol d’entradatage | 5V |
| Mode de comunicació | Zigbee And Thread (802.15.4)And other mainstream communication methods |
| Protocol de comunicació | Suport SPI, UART, I2C, I2S, RMT, TWAI i PWM |
| Tipus d'antena | Multilayer Antenna |
| Altres perifèrics | Transmissor d'infrarojos de placa, botons de control programables a bord |
| Temperatura de funcionament | 0-40°C |
ESQUEMA
M5NanoH2 is a miniature, low-power IoT development board within the M5Stack development kit series. Powered by the ESP32-H2 MCU, it boasts advanced wireless communication support Zigbee, facilitating seamless control of infrared IoT devices through its built-in infrared transmitter. The onboard ceramic antenna ensures a stable wireless communication connection. Additionally, the device features programmable RGB LEDs, adding a personalized visual touch to projects. The inclusion of Grove interfaces allows M5NanoH2 to flexibly expand with various M5 devices, supporting the connection of different device types through protocols such as UART and I2C. This provides developers with abundant hardware expansion possibilities. Suitable for applications in smart homes, industrial automation, health monitoring, and IoT devices, M5NanoH2 delivers a comprehensive development solution for innovative projects.
ESP32-H2
- Capacitats de comunicació:
- Bluetooth® 5 (LE): Incorporates Bluetooth 5.0 technology for extended wireless coverage and faster data transmission.
- Zigbee and Thread (802.15.4): Supports Zigbee and Thread communication protocols, offering flexible connectivity for IoT applications.
- Processador i rendiment:
- RISC-V 32-bit single-core processor: Delivers a highly flexible and scalable processor architecture.
- Up to 160 MHz clock frequency: Ensures the device has fast and efficient data processing capabilities.
- Industry-leading low-power and RF performance: Achieves a leading position in both power consumption and RF performance.
- Memòria:
- Built-in 96 KB ROM: Used for storing firmware or program code. 320 KB SRAM: Utilized for runtime data storage.
- 4 KB low-power SRAM: Specifically designed for low-power operations. Supports external Flash: Can extend the storage space for program code through an external memory.
- Pins GPIO i interfícies programables:
- Supports SPI, UART, I2C, I2S, RMT, TWAI, and PWM: Multiple communication interfaces, enhancing flexibility for data exchange with other de
INICI RÀPID
ARDUINO IDE
Per accedir a l'oficial d'Arduino weblloc (https://www.arduino.cc/en/Main/Software) and download the installation package for your operating system, follow these steps:
- Obriu l'IDE d'Arduino i navegueu a File -> Preferències -> Configuració.
- Copieu el següent M5Stack Boards Manager URL i enganxeu-lo a "Gestor de taulers addicionals URLs”: https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json
- Go to: Tools -> Board: -> Boards Manager…
- Cerca M5Stack, busqueu-lo i feu clic a “Instal·la”.
- Trieu Eines -> Tauler: -> M5Stack Arduino
- Select M5NanoH2
SÈRIE BLUETOOTH
- Obriu l'IDE d'Arduino i carregueu l'exampel programa: File -> Examples -> BluetoothSerial -> SerialToSerialBT.
- Connecteu el dispositiu a l'ordinador.
- Trieu el port adequat per a la càrrega. Un cop completat, el dispositiu activarà automàticament el Bluetooth.
- The device name is set to ESP32test. Now, use a Bluetooth serial communication tool on your PC to achieve transparent transmission of Bluetooth serial data.
Instal·lació d'Arduino


User manual, how to use zigbee function
Zigbee OnOff Light(End Device)
Arduino IDE Tools:
- Tools -> Board: ESP32H2 Dev Module
- Tools -> Erase All Flash Before Sketch Upload: Enable
- Tools -> Flash Size: 2MB
- Tools -> Zigbee mode: Zigbee ED (end device)
- Tools -> Partition Scheme: custom

Zigbee On Off Switch(Coordinator)
Arduino IDE Tools
- Tools -> Board: ESP32H2 Dev Module
- Tools -> Erase All Flash Before Sketch Upload: Enable
- Tools -> Flash Size: 2MB
- Tools -> Zigbee mode: Zigbee ZCZR (coordinator/router)
- Tools -> Partition Scheme: custom
- Zigbee ZCZR 2MB with spiffs

Passos d'ús
- Ensure that the coordinator is running and creating a network, burn the On Off Light code to the terminal node device.
- After the device is started, it will automatically search and join the network, and On Off Switch will send light switching instructions at regular intervals.
Zigbee Scan Xarxa
Arduino IDE Tools
- Tools -> Board: ESP32H2 Dev Module
- Tools -> Erase All Flash Before Sketch Upload: Enable
- Tools -> Flash Size: 2MB
- Tools -> Zigbee mode: Zigbee ZCZR (coordinator/router)
- Tools -> Partition Scheme: custom
- Zigbee ZCZR 2MB with spiffs

Passos d'ús
After the device is started, it automatically starts scanning. If there is an active Zigbee network in the surrounding area, the current display result will be scanned after each scan is completed, and the next round of scanning will be automatically started.
Fil obert
Arduino IDE Tools
- Tools -> Board: ESP32H2 Dev Module
- Tools -> Erase All Flash Before Sketch Upload: Enable
- Tools -> Flash Size: 2MB
- Tools -> Partition Scheme: Minimal SPIFFS (1.3MB APP/700K SPIFFS)

Avís de la FCC
Precaució de la FCC:
Qualsevol canvi o modificació no aprovat expressament per la part responsable del compliment podria anul·lar l'autoritat de l'usuari per fer servir l'equip.
Aquest dispositiu compleix la part 15 de les normes de la FCC. El funcionament està subjecte a les dues condicions següents:
- Aquest dispositiu no pot causar interferències perjudicials i
- Aquest dispositiu ha d'acceptar qualsevol interferència rebuda, incloses les interferències que puguin provocar un funcionament no desitjat.
NOTA IMPORTANT:
Nota: Aquest equip s'ha provat i s'ha comprovat que compleix els límits per a un dispositiu digital de classe B, d'acord amb la part 15 de les normes de la FCC. Aquests límits estan dissenyats per proporcionar una protecció raonable contra interferències nocives en una instal·lació residencial. Aquest equip genera, utilitza i pot irradiar energia de radiofreqüència i, si no s'instal·la i s'utilitza d'acord amb les instruccions, pot causar interferències perjudicials a les comunicacions de ràdio. Tanmateix, no hi ha cap garantia que no es produeixin interferències en una instal·lació concreta. Si aquest equip provoca interferències perjudicials a la recepció de ràdio o televisió, cosa que es pot determinar apagant i encenent l'equip, es recomana a l'usuari que intenti corregir la interferència mitjançant una o més de les mesures següents:
- Reorienta o reubica l'antena receptora.
- Augmentar la separació entre l'equip i el receptor.
- Connecteu l'equip a una presa d'un circuit diferent d'aquell al qual està connectat el receptor.
- Consulteu el distribuïdor o un tècnic de ràdio/TV amb experiència per obtenir ajuda.
Declaració d'exposició a la radiació de la FCC: Aquest equip compleix els límits d'exposició a la radiació de la FCC establerts per a un entorn no controlat. Aquest equip s'ha d'instal·lar i operar amb una distància mínima de 20 cm entre el radiador i el cos.
Interval de freqüència:
- BLE 1M/2M: 2402-2480MHz
- ZigBee: 2405-2480 MHz
- Maximum ElRP for CE:
- BLE: 1.32 dBm
- ZigBee: 1.4 dBm
- Fabricant : M5Stack Technology Co., Ltd
- Bloc A10, Expo Bay South Coast, carrer Fuhai, districte de Bao'an, Shenzhen, Xina
Preguntes freqüents
- Q: What is the main processor of the M5STACK NanoH2?
A: It uses an ESP32-H2FH4S with a RISC-V 32-bit single-core processor, running at up to 160 MHz. - Q: What communication protocols does it support?
A: It supports Zigbee, Thread (802.15.4), SPI, UART, I2C, I2S, RMT, TWAI, and PWM. - Q: How much memory does the NanoH2 have?
A: It has 96 KB ROM, 320 KB SRAM, and 4 KB low-power SRAM, with support for external Flash. - Q: Can I use the M5STACK NanoH2 as a Zigbee coordinator and an end device?
A: Yes, the device can be configured as both a Zigbee End Device (ED) or a Coordinator/Router (ZCZR) through the Arduino IDE settings. - Q: What is the frequency range for wireless communication?
A: The frequency range for BLE 1M/2M is 2402-2480MHz, and for ZigBee it is 2405-2480MHz.
Documents/Recursos
![]() | NanoH2 Tiny IoT Development Board |
Referències
- m5stack.oss-cn-m5stack.oss-cn-
- m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.jsonm5stack.oss-cn-shenzhen.aliyuncs.com
- shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.jsonshenzhen.aliyuncs.com
- arduino.cc/en/Main/Softwarewww.arduino.cc
- Manual d'usuarimanual.tools

