M5STACK NanoH2 Tiny IoT Development Board User Guide

M5STACK NanoH2 Tiny IoT Development Board User Guide

M5STACK-LOGO

M5STACK NanoH2 Tiny IoT Development Board

M5STACK-NanoH2-Tiny-IoT-Development-Board-PRODUCT-IMAGE

SPECIFICATIONS

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
Programmable RGB WS2812-2020
Input voltage 5V
Communication mode Zigbee And Thread (802.15.4)And other mainstream communication methods
Communication Protocol Support SPI、UART、I2C、I2S、RMT、TWAI And PWM
Antenna type Multilayer Antenna
Other peripherals Board infrared transmitter, programmable onboard control buttons
Operating temperature 0-40°C

OUTLINE

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 

  1. Communication Capabilities:
    • 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.
  2. Processor and Performance:
    • 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.
  3. Memory:
    • 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.
  4. GPIO Pins and Programmable Interfaces:
    • Supports SPI, UART, I2C, I2S, RMT, TWAI, and PWM: Multiple communication interfaces, enhancing flexibility for data exchange with other de

QUICK START

ARDUINO IDE 

To access the Arduino official website (https://www.arduino.cc/en/Main/Software) and download the installation package for your operating system, follow these steps:

  1. Open the Arduino IDE and navigate to File -> Preferences -> Settings.
  2. Copy the following M5Stack Boards Manager URL and paste it into “Additional Boards Manager URLs”: https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json
  3.  Go to: Tools -> Board: -> Boards Manager…
  4. Search for M5Stack, find it, and click “Install.”
  5. Choose Tools -> Board: -> M5Stack Arduino
  6. Select M5NanoH2

BLUETOOTH SERIAL 

  • Open the Arduino IDE and load the example program: File -> Examples -> BluetoothSerial -> SerialToSerialBT.
  • Connect the device to the computer.
  • Choose the appropriate port for uploading. Once completed, the device will automatically enable 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.

Arduino Install

M5STACK-NanoH2-Tiny-IoT-Development-Board-IMAGE-1

M5STACK-NanoH2-Tiny-IoT-Development-Board-IMAGE-2

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

M5STACK-NanoH2-Tiny-IoT-Development-Board-IMAGE-3 M5STACK-NanoH2-Tiny-IoT-Development-Board-IMAGE-4

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

M5STACK-NanoH2-Tiny-IoT-Development-Board-IMAGE-5 M5STACK-NanoH2-Tiny-IoT-Development-Board-IMAGE-6

Usage steps 

  1. Ensure that the coordinator is running and creating a network, burn the On Off Light code to the terminal node device.
  2. 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 Network

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

M5STACK-NanoH2-Tiny-IoT-Development-Board-IMAGE-7

Usage steps

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.

Open Thread

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)

M5STACK-NanoH2-Tiny-IoT-Development-Board-IMAGE-8

FCC Warning

FCC Caution:
Any Changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment.
This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions:

  1. This device may not cause harmful interference, and
  2. This device must accept any interference received, including interference that may cause undesired operation.

IMPORTANT NOTE:

Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:

  • Reorient or relocate the receiving antenna.
  • Increase the separation between the equipment and receiver.
  • Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
  • Consult the dealer or an experienced radio/TV technician for help.

FCC Radiation Exposure Statement: This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed and operated with minimum distance 20cm between the radiator& your body.

Frequency Range:

  • BLE 1M/2M: 2402-2480MHz
  • ZigBee: 2405-2480MHz
  • Maximum ElRP for CE:
  • BLE: 1.32 dBm
  • ZigBee: 1.4 dBm
  • Manufacturer : M5Stack Technology Co., Ltd
  • Block A10, Expo Bay South Coast, Fuhai Street, Bao’an District, Shenzhen, China

FAQ

  • 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 / Resources

PDF thumbnailNanoH2 Tiny IoT Development Board
User Guide · NanoH2, NanoH2 Tiny IoT Development Board, Tiny IoT Development Board, IoT Development Board

Ask a Question

Use this section to ask about setup, compatibility, troubleshooting, or anything missing from this manual.

Ask a Question

Ask about setup, compatibility, troubleshooting, or anything missing from this manual. Name and email are optional.