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

TEKNISET TIEDOT

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
Ohjelmoitava RGB WS2812-2020
Tulo voltage 5V
Viestintätila Zigbee And Thread (802.15.4)And other mainstream communication methods
Viestintäprotokolla Tuki SPI, UART, I2C, I2S, RMT, TWAI ja PWM
Antenni tyyppi Multilayer Antenna
Muut oheislaitteet Kortilla infrapunalähetin, ohjelmoitavat ohjauspainikkeet
Käyttölämpötila 0-40 °C

YHTEENVETO

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. Viestintäominaisuudet:
    • 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. Prosessori ja suorituskyky:
    • 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. Muisti:
    • 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-nastat ja ohjelmoitavat käyttöliittymät:
    • Supports SPI, UART, I2C, I2S, RMT, TWAI, and PWM: Multiple communication interfaces, enhancing flexibility for data exchange with other de

PIKAALOITUS

ARDUINO IDE 

Päästäksesi Arduino-virkailijaan websivusto (https://www.arduino.cc/en/Main/Software) and download the installation package for your operating system, follow these steps:

  1. Avaa Arduino IDE ja siirry kohtaan File -> Asetukset -> Asetukset.
  2. Kopioi seuraava M5Stack Boards Manager URL ja liitä se kohtaan "Lisätaulujen hallinta". URLs": https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json
  3.  Go to: Tools -> Board: -> Boards Manager…
  4. Etsi M5Stack, etsi se ja napsauta "Asenna".
  5. Valitse Työkalut -> Lauta: -> M5Stack Arduino
  6. Select M5NanoH2

BLUETOOTH-SARJA 

  • Avaa Arduino IDE ja lataa exampohjelma: File -> esimamples -> BluetoothSerial -> SerialToSerialBT.
  • Liitä laite tietokoneeseen.
  • Valitse sopiva portti latausta varten. Kun se on valmis, laite ottaa Bluetoothin automaattisesti käyttöön.
  • 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 asennus

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

Käyttövaiheet 

  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 Verkko

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

Käyttövaiheet

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.

Avaa ketju

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 varoitus

FCC varoitus:
Kaikki muutokset, joita vaatimustenmukaisuudesta vastaava osapuoli ei ole nimenomaisesti hyväksynyt, voivat mitätöidä käyttäjän oikeuden käyttää laitetta.
Tämä laite on FCC-sääntöjen osan 15 mukainen. Toiminta on kahden seuraavan ehdon alaista:

  1. Tämä laite ei saa aiheuttaa haitallisia häiriöitä ja
  2. Tämän laitteen on hyväksyttävä kaikki vastaanotetut häiriöt, mukaan lukien häiriöt, jotka voivat aiheuttaa ei-toivottua toimintaa.

TÄRKEÄ HUOMAUTUS:

Huomautus: Tämä laite on testattu ja sen on todettu noudattavan luokan B digitaalisille laitteille asetettuja rajoituksia FCC-sääntöjen osan 15 mukaisesti. Nämä rajoitukset on suunniteltu tarjoamaan kohtuullinen suoja haitallisia häiriöitä vastaan ​​kotiasennuksessa. Tämä laite tuottaa, käyttää ja voi säteillä radiotaajuista energiaa, ja jos sitä ei asenneta ja käytetä ohjeiden mukaisesti, se voi aiheuttaa haitallisia häiriöitä radioviestintään. Ei kuitenkaan ole takeita siitä, ettei häiriöitä tapahdu tietyssä asennuksessa. Jos tämä laite aiheuttaa haitallisia häiriöitä radio- tai televisiovastaanottoon, mikä voidaan määrittää sammuttamalla ja käynnistämällä laite, käyttäjää kehotetaan yrittämään korjata häiriöt yhdellä tai useammalla seuraavista toimenpiteistä:

  • Suuntaa tai siirrä vastaanottoantenni uudelleen.
  • Lisää laitteen ja vastaanottimen välistä etäisyyttä.
  • Liitä laite pistorasiaan, joka on eri piirissä kuin se, johon vastaanotin on kytketty.
  • Pyydä apua jälleenmyyjältä tai kokeneelta radio-/TV-teknikolta.

FCC:n säteilyaltistuslausunto: Tämä laite noudattaa FCC:n säteilyaltistusrajoja, jotka on asetettu hallitsemattomalle ympäristölle. Tämä laite tulee asentaa ja sitä tulee käyttää siten, että jäähdyttimen ja kehon välinen etäisyys on vähintään 20 cm.

Taajuusalue:

  • BLE 1M/2M: 2402-2480MHz
  • ZigBee: 2405-2480 MHz
  • Maximum ElRP for CE:
  • BLE: 1.32 dBm
  • ZigBee: 1.4 dBm
  • Valmistaja : M5Stack Technology Co., Ltd
  • Kortteli A10, Expo Bayn etelärannikko, Fuhai-katu, Bao'anin alue, Shenzhen, Kiina

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.

Asiakirjat / Resurssit

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

Esitä kysymys

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

Esitä kysymys

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