
M5STACK NanoH2 Tiny IoT Development Board

ข้อมูลจำเพาะ
| มหาเทพ | 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 ที่สามารถตั้งโปรแกรมได้ | WS2812-2020 |
| ปริมาณอินพุตtage | 5V |
| โหมดการสื่อสาร | Zigbee And Thread (802.15.4)And other mainstream communication methods |
| โปรโตคอลการสื่อสาร | รองรับ SPI, UART, I2C, I2S, RMT, TWAI และ PWM |
| ประเภทเสาอากาศ | Multilayer Antenna |
| อุปกรณ์ต่อพ่วงอื่นๆ | บอร์ดส่งสัญญาณอินฟราเรด ปุ่มควบคุมออนบอร์ดที่ตั้งโปรแกรมได้ |
| อุณหภูมิในการทำงาน | 0-40 องศาเซลเซียส |
โครงร่าง
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.
อีเอสพี32-เอช2
- ความสามารถในการสื่อสาร:
- 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.
- หน่วยประมวลผลและประสิทธิภาพ:
- 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.
- หน่วยความจำ:
- 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.
- GPIO Pins และอินเทอร์เฟซที่ตั้งโปรแกรมได้:
- Supports SPI, UART, I2C, I2S, RMT, TWAI, and PWM: Multiple communication interfaces, enhancing flexibility for data exchange with other de
เริ่มต้นอย่างรวดเร็ว
อาร์ดูโน IDE
เพื่อเข้าถึง Arduino อย่างเป็นทางการ webงาน (https://www.arduino.cc/en/Main/Software) and download the installation package for your operating system, follow these steps:
- เปิด Arduino IDE และไปที่ File -> การตั้งค่า -> การตั้งค่า
- คัดลอก M5Stack Boards Manager . ต่อไปนี้ URL และวางลงใน “ตัวจัดการบอร์ดเพิ่มเติม URLส”: https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json
- Go to: Tools -> Board: -> Boards Manager…
- ค้นหา M5Stack ค้นหาและคลิก "ติดตั้ง"
- เลือกเครื่องมือ -> บอร์ด: -> M5Stack Arduino
- Select M5NanoH2
บลูทูธซีเรียล
- เปิด Arduino IDE และโหลดไฟล์ exampโปรแกรมไฟล์: File -> อดีตamples -> BluetoothSerial -> SerialToSerialBT.
- เชื่อมต่ออุปกรณ์กับคอมพิวเตอร์
- เลือกพอร์ตที่เหมาะสมสำหรับการอัพโหลด เมื่อเสร็จแล้ว อุปกรณ์จะเปิดใช้งาน 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


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

ขั้นตอนการใช้งาน
- 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 เครือข่าย
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

ขั้นตอนการใช้งาน
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.
เปิดกระทู้
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)

คำเตือนของ FCC
ข้อควรระวังของ FCC:
การเปลี่ยนแปลงหรือการดัดแปลงใดๆ ที่ไม่ได้รับการอนุมัติอย่างชัดแจ้งจากฝ่ายที่รับผิดชอบในการปฏิบัติตามอาจทำให้สิทธิ์ในการใช้งานอุปกรณ์ของผู้ใช้เป็นโมฆะ
อุปกรณ์นี้เป็นไปตามกฎ FCC ส่วนที่ 15 การทำงานต้องอยู่ภายใต้เงื่อนไขสองประการต่อไปนี้:
- อุปกรณ์นี้จะต้องไม่ก่อให้เกิดการรบกวนที่เป็นอันตรายและ
- อุปกรณ์นี้ต้องยอมรับการรบกวนใดๆ ที่ได้รับ รวมถึงการรบกวนที่อาจทำให้เกิดการทำงานที่ไม่พึงประสงค์
หมายเหตุสำคัญ:
บันทึก: อุปกรณ์นี้ได้รับการทดสอบและพบว่าเป็นไปตามขีดจำกัดสำหรับอุปกรณ์ดิจิทัลคลาส B ตามส่วนที่ 15 ของกฎ FCC ขีดจำกัดเหล่านี้ได้รับการออกแบบมาเพื่อให้การป้องกันที่เหมาะสมต่อการรบกวนที่เป็นอันตรายในการติดตั้งในที่อยู่อาศัย อุปกรณ์นี้สร้าง ใช้ และสามารถแผ่พลังงานความถี่วิทยุ และหากไม่ได้ติดตั้งและใช้งานตามคำแนะนำ อาจทำให้เกิดการรบกวนที่เป็นอันตรายต่อการสื่อสารทางวิทยุ อย่างไรก็ตาม ไม่มีการรับประกันว่าการรบกวนจะไม่เกิดขึ้นในการติดตั้งโดยเฉพาะ หากอุปกรณ์นี้ทำให้เกิดการรบกวนที่เป็นอันตรายต่อการรับวิทยุหรือโทรทัศน์ ซึ่งสามารถระบุได้โดยการปิดและเปิดอุปกรณ์ ผู้ใช้ควรพยายามแก้ไขการรบกวนโดยใช้มาตรการต่อไปนี้วิธีใดวิธีหนึ่งหรือมากกว่า:
- ปรับทิศทางหรือย้ายตำแหน่งของเสาอากาศรับสัญญาณ
- เพิ่มระยะห่างระหว่างอุปกรณ์และตัวรับ
- เชื่อมต่ออุปกรณ์เข้ากับเต้าเสียบในวงจรที่แตกต่างไปจากวงจรที่เชื่อมต่อเครื่องรับอยู่
- ปรึกษาตัวแทนจำหน่ายหรือช่างวิทยุ/โทรทัศน์ที่มีประสบการณ์เพื่อขอความช่วยเหลือ
คำชี้แจงเกี่ยวกับการได้รับรังสีของ FCC: อุปกรณ์นี้สอดคล้องกับข้อจำกัดการรับรังสีของ FCC ที่กำหนดไว้สำหรับสภาพแวดล้อมที่ไม่มีการควบคุม ควรติดตั้งและใช้งานอุปกรณ์นี้โดยเว้นระยะห่างระหว่างหม้อน้ำและร่างกายของคุณอย่างน้อย 20 ซม.
ช่วงความถี่:
- บีอี 1M/2M: 2402-2480MHz
- ซิกบี: 2405-2480เมกะเฮิรตซ์
- Maximum ElRP for CE:
- เบล: 1.32 เดซิเบลม
- ซิกบี: 1.4 เดซิเบลม
- ผู้ผลิต : M5Stack Technology Co., Ltd
- บล็อก A10, อ่าวเอ็กซ์โปฝั่งใต้, ถนนฟูไห่, เขตเป่าอัน, เซินเจิ้น, จีน
คำถามที่พบบ่อย
- 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.
เอกสาร / แหล่งข้อมูล
![]() | NanoH2 Tiny IoT Development Board |
อ้างอิง
- 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/หลัก/ซอฟต์แวร์www.arduino.cc
- คู่มือการใช้งานmanual.tools

