M5Stack K010

Hướng dẫn sử dụng Bộ phát triển IoT M5Stack Core2

Mẫu: K010

1. Giới thiệu

The M5Stack Core2 is a versatile IoT development kit designed for rapid prototyping and deployment of various applications. It features an ESP32-D0WDQ6-V3 microcontroller, a 2-inch TFT LCD touch screen, and integrated Wi-Fi and Bluetooth connectivity. This manual provides essential information for setting up, operating, and maintaining your Core2 device.

M5Stack Core2 IoT Development Kit hero image

Figure 1.1: M5Stack Core2 IoT Development Kit, showcasinVới thiết kế nhỏ gọn và màn hình hiển thị đẹp mắt.

2. Có gì trong hộp

Xác minh rằng tất cả các mục được liệt kê dưới đây đều có trong gói hàng của bạn:

  • 1 x M5Stack Core2 Unit
  • 1 x USB Type-C Cable (20cm)
  • 1 x Cờ lê lục giác
M5Stack Core2 and included accessories: USB-C cable and hex wrench

Figure 2.1: Contents of the M5Stack Core2 package, including the Core2 unit, USB-C cable, and hex wrench.

Diagram showing Core2, USB Type-C cable, and hex wrench as package contents

Figure 2.2: Visual representation of the shipping list for the M5Stack Core2.

3. Sản phẩm hếtview

The M5Stack Core2 is built around the ESP32-D0WDQ6-V3 chip, offering robust performance for various applications. Key features include:

  • Hiệu suất mạnh mẽ: Equipped with an ESP32-D0WDQ6-V3 microcontroller for high computing performance.
  • Màn hình cảm ứng: Features a 2-inch TFT LCD touch screen (320x240 resolution) for intuitive user interaction.
  • Kết nối không dây: Integrated Wi-Fi and Bluetooth capabilities for seamless communication.
  • Expandable Functionality: Multiple expansion ports (GPIO, I2C, SPI, UART) for connecting additional modules and sensors.
  • Loa tích hợp: Đối với đầu ra âm thanh.
  • Động cơ rung: Cung cấp phản hồi xúc giác.
  • Micrô: Đối với đầu vào âm thanh.
  • Khe cắm thẻ SD: Để lưu trữ có thể mở rộng.
Chi tiết view of M5Stack Core2 with labels for components like touch screen, ESP32, USB-C, SD card, LED, PWR, RST

Figure 3.1: Annotated diagram of the M5Stack Core2, highlighting its main components and interfaces.

Đằng trước view of M5Stack Core2 with callouts for power indicator light, built-in speaker, 16M Flash, 8M PSRAM, and capacitive touch screen

Figure 3.2: Key features of the M5Stack Core2, including memory and display type.

4. Thông số kỹ thuật

The following table details the technical specifications of the M5Stack Core2:

Đặc điểm kỹ thuậtTham số
Hệ thống SoCESP32-D0WDQ6-V3, 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi
Đèn nháy16MB
PSRAM8MB
Đầu vào Voltage5V ở 500mA
Giao diện máy chủLoại C x 1, GROVE(I2C+I/O+UART) x 1
DẪN ĐẾNĐèn báo nguồn xanh
NútPower button, RST button, screen virtual buttons x 3
Cảnh báo rungĐộng cơ rung
Trọng lượng sản phẩm2.82 ounce (khoảng 80 gram)
Kích thước gói hàng3.19 x 2.28 x 0.87 inch
Pin1 pin Lithium Ion (đi kèm)
M5Stack Core2 on a digital scale showing 54.9 grams

Figure 4.1: M5Stack Core2 weight measurement.

M5Stack Core2 with dimensions: 54mm x 54mm x 16.5mm

Figure 4.2: M5Stack Core2 dimensions.

5. Thiết lập

To begin using your M5Stack Core2, follow these initial setup steps:

  1. Sạc: Connect the M5Stack Core2 to a 5V USB power source using the provided USB Type-C cable. The device will begin charging.
  2. Bật nguồn: Press and hold the power button (usually located on the side) for approximately 6 seconds to turn on the device.
  3. Môi trường phần mềm: The Core2 supports various development environments, including UIFlow, Arduino, and MicroPython. Choose your preferred environment and set up the necessary drivers and IDE on your computer.
  4. Chương trình đầu tiên: Refer to the official M5Stack documentation for guides on uploading your first program or firmware to the Core2.

6. Hướng dẫn vận hành

The M5Stack Core2 is designed for flexible operation depending on your application. Here are general guidelines:

  • Touch Screen Interaction: Navigate menus and interact with applications using the 2-inch capacitive touch screen.
  • Nút ảo: The three virtual buttons below the screen can be programmed for various functions within your applications.
  • Các nút vật lý: The physical RST (Reset) button can be used to restart the device. The power button can be used for power cycling.
  • Mô-đun bên ngoài: Connect compatible M5Stack modules and sensors to the GROVE port to expand functionality. Ensure proper connection and power supply for external modules.
  • Cách sử dụng thẻ SD: Insert a microSD card into the designated slot for additional storage. Ensure the card is formatted correctly (e.g., FAT32).

7. Bảo trì

Proper maintenance ensures the longevity and optimal performance of your M5Stack Core2:

  • Vệ sinh: Hãy dùng khăn mềm, khô để lau sạch thiết bị. Tránh sử dụng chất tẩy rửa dạng lỏng hoặc vật liệu có tính mài mòn.
  • Kho: Bảo quản thiết bị ở nơi khô ráo, thoáng mát, tránh ánh nắng trực tiếp và nhiệt độ cao.
  • Chăm sóc pin: Avoid fully discharging the battery frequently. If storing for extended periods, charge the battery to about 50-70% to preserve its lifespan.
  • Cập nhật chương trình cơ sở: Regularly check the official M5Stack webTrang web này cung cấp các bản cập nhật phần mềm để đảm bảo thiết bị của bạn có các tính năng mới nhất và sửa lỗi.
  • Bảo vệ vật lý: While durable, avoid dropping the device or exposing it to excessive force or moisture.

KHAI THÁC. Xử lý sự cố

This section addresses common issues you might encounter with your M5Stack Core2.

Q1: What is the maximum supported capacity of the SD card, and why is there no response when the SD card is inserted?
Theoretically, devices based on ESP32 support up to 16GB. We recommend using a SD card model SDSQUNC-016G-ZN6MA. Ensure the SD card is properly inserted and formatted.
Q2: Using the battery in either of the battery ports on the USB unit or the Core2 forces the unit to stay powered on continuously. Any attempt to shut down using the side button causes the device to restart after.
We have found that the reason is that the filter capacitor capacity of the USB 1.2 module is too large. If you still need to use batteries to power the Core2 + USB 1.2 solution, to avoid frequent restarts, the following two solutions can be adopted:
  • Remove the filter capacitor.
  • Replace it with a smaller capacity filter capacitor (10uF is recommended).
Q3: How to extend the Core2 with an extension module?
You must remove the original bottom and battery of the Core2, then you can stack another module extension.
FAQ section image with questions and answers regarding SD card, battery issue, and extension modules

Figure 8.1: Common questions and solutions for the M5Stack Core2.

9. Phạm vi áp dụng

The M5Stack Core2 is suitable for a wide range of applications, including but not limited to:

  • Thiết bị nhà thông minh: Control and monitor home automation systems.
  • Giáo dục STEM: An excellent tool for learning about IoT, programming, and electronics.
  • IoT Controller: Serve as a central controller for various Internet of Things projects.
  • Dự án tự làm: Ideal for custom electronic projects and rapid prototyping.
Collage of M5Stack Core2 applications: Smart home devices, STEM education, IoT controller, DIY projects

Hình 9.1: Ví dụamples of M5Stack Core2 applications.

Visual representation of M5Stack Core2's scope of application

Figure 9.2: Further illustration of the M5Stack Core2's versatile applications.

10. Hỗ trợ và Tài nguyên

For more detailed tutorials, documentation, and community support, please visit the official M5Stack webđịa điểm:

www.m5stack.com

Instructions on how to access tutorials on the M5Stack webđịa điểm

Figure 10.1: Guide to accessing online tutorials and documentation.

M5Stack website logo and URL

Figure 10.2: Official M5Stack webtrang web hỗ trợ.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.