M5Stack M5StickC PLUS2

M5Stack M5StickC PLUS2 ESP32 Mini IoT Development Kit User Manual

Model: M5StickC PLUS2 | Brand: M5Stack

1. บทนำ

The M5Stack M5StickC PLUS2 is a compact and versatile IoT development kit, serving as an advanced iteration of the M5StickC PLUS. It integrates the ESP32-PICO-V3-02 main controller, offering robust wireless capabilities. This device is designed for rapid prototyping and development across various applications, featuring a rich set of integrated hardware components within its small form factor.

2. สินค้าหมดview

The M5StickC PLUS2 integrates numerous components into a miniature design. Key features include:

  • ตัวควบคุมหลัก: ESP32-PICO-V3-02 with integrated Wi-Fi.
  • แสดง: 1.14-inch TFT screen with 135x240 resolution, driven by ST7789V2.
  • เซ็นเซอร์: 6-axis IMU (MPU6886).
  • การสื่อสาร: Infrared (IR) transmitter.
  • เสียง: Microphone (SPM1423-PDM) and passive buzzer.
  • เวลา: Real-Time Clock (RTC) BM8563.
  • อินเทอร์เฟซผู้ใช้: Three programmable buttons (A, B, C) and an LED indicator.
  • พลัง: Integrated 200 mAh Lithium Polymer battery, rechargeable via USB-C.
  • การขยายตัว: External 8-pin header and HY2.0-4P connector for M5Stack HAT and Unit series products.
  • การติดตั้ง: Integrated magnet for easy attachment.
M5StickC PLUS2 detailed diagram showing components and pinout

Figure 1: Detailed diagram of the M5StickC PLUS2, highlighting its various components and pin assignments.

สูงสุด view of M5StickC PLUS2 showing pinout and internal labels

รูปที่ 2: ด้านบน view of the M5StickC PLUS2, illustrating the pinout for the external header and labels for internal components like the ESP32 chip, display driver, and battery.

3. การตั้งค่า

3.1 การชาร์จเริ่มต้น

Before first use, ensure the M5StickC PLUS2 is fully charged. Connect the device to a standard 5V USB power source using a USB-C cable. The charging indicator (if available) will provide feedback on the charging status.

3.2 การเชื่อมต่อกับคอมพิวเตอร์

To program or communicate with the M5StickC PLUS2, connect it to your computer using a USB-C data cable. The device will appear as a serial port.

ด้านล่าง view of M5StickC PLUS2 showing USB-C port and HY2.0-4P connector

รูปที่ 3: ด้านล่าง view of the M5StickC PLUS2, highlighting the USB-C port for charging and programming, and the HY2.0-4P connector.

3.3 การตั้งค่าสภาพแวดล้อมซอฟต์แวร์

The M5StickC PLUS2, powered by the ESP32-PICO-V3-02, supports various development environments. Common choices include the Arduino IDE with ESP32 board support or the ESP-IDF (Espressif IoT Development Framework).

  • การติดตั้งไดร์เวอร์: Your operating system (Windows, MacOS, Linux) may require specific drivers for the USB-to-serial chip (likely CH9102) to recognize the device. These drivers are typically available on the M5Stack official website or from the chip manufacturer.
  • การกำหนดค่า IDE: Follow the official M5Stack documentation or community guides to configure your chosen IDE (e.g., Arduino IDE) to work with ESP32 boards and the M5StickC PLUS2 specifically. This usually involves adding board URLs and installing necessary libraries.
  • การอัปโหลดเฟิร์มแวร์: Once your environment is set up, you can compile and upload your code to the device via the USB-C connection.

4. คู่มือการใช้งาน

4.1 เปิด/ปิดเครื่อง

ถึง เปิดเครื่อง the device, briefly press the side button labeled 'C'. To ปิดเครื่อง the device, press and hold Button C for approximately 6 seconds until the screen turns off.

ด้านข้าง view of M5StickC PLUS2 showing the power button

รูปที่ 4: ด้านข้าง view of the M5StickC PLUS2, indicating the location of the power button (Button C).

4.2 ฟังก์ชันปุ่ม

The M5StickC PLUS2 features three programmable buttons:

  • ปุ่ม A: General purpose button, typically located on the front face below the screen.
  • ปุ่ม B: General purpose button, typically located on the front face below the screen, next to Button A.
  • ปุ่ม C: Located on the side. Primarily functions as the power control button, but can also be programmed for short press actions.

4.3 การใช้งานจอแสดงผล

The 1.14-inch TFT LCD provides a visual interface for displaying information, sensor readings, or custom graphics. Its 135x240 resolution allows for clear text and simple graphical elements. Programming libraries are available to control the display content.

4.4 อุปกรณ์ต่อพ่วงแบบรวม

The device includes several integrated peripherals that can be accessed and controlled via programming:

  • Infrared (IR) Transmitter: Use for sending IR signals to control compatible devices.
  • ไมโครโฟน: Capture audio input for sound detection or voice processing.
  • นำ: A programmable indicator light for status feedback.
  • IMU (หน่วยวัดความเฉื่อย): Provides 3-axis accelerometer and 3-axis gyroscope data for motion sensing applications.
  • ออด: Generate audible tones for alerts or simple sound effects.
  • RTC (นาฬิกาเรียลไทม์): Keep accurate time and date, even when the main power is off.

4.5 พอร์ตขยาย

The M5StickC PLUS2 offers several options for expanding its functionality:

  • External 8-Pin Header: This header provides access to various GPIO pins and power lines (GND, 5V, G26, G36/G25, G0, BAT, 3V3, 5V) for connecting external sensors, actuators, or custom circuits.
  • HY2.0-4P Connector: This port is compatible with M5Stack Unit series modules, allowing for easy plug-and-play expansion with a wide range of sensors and accessories.
  • HAT Compatibility: The device is designed to work with M5Stack HAT series products, which can be stacked on top to add specific functionalities like LoRa, GPS, or other communication modules.
ด้านข้าง view of M5StickC PLUS2 showing the 8-pin expansion header

รูปที่ 5: ด้านข้าง view of the M5StickC PLUS2, showing the 8-pin external expansion header.

อีกด้านหนึ่ง view of M5StickC PLUS2, showing the other side with no visible ports

รูปที่ 6: อีกด้านหนึ่ง view of the M5StickC PLUS2, showing the opposite side.

5. การบำรุงรักษา

5.1 การดูแลแบตเตอรี่

To prolong the life of the integrated Lithium Polymer battery:

  • หลีกเลี่ยงการสัมผัสอุปกรณ์ในอุณหภูมิที่สูงหรือต่ำเกินไป (ร้อนหรือเย็น)
  • อย่าปล่อยให้แบตเตอรี่หมดเกลี้ยงเป็นเวลานาน
  • ควรชาร์จอุปกรณ์เป็นประจำ แม้ว่าจะไม่ได้ใช้งานบ่อยก็ตาม

5.2 การทำความสะอาด

Use a soft, dry, anti-static cloth to clean the exterior of the device. Avoid using liquids, solvents, or abrasive cleaners, as these can damage the components or finish.

5.3 พื้นที่จัดเก็บ

When not in use, store the M5StickC PLUS2 in a cool, dry place, away from direct sunlight, excessive heat, and moisture. Ensure the device is powered off before storage.

6 การแก้ไขปัญหา

This section addresses common issues you might encounter with your M5StickC PLUS2.

  • อุปกรณ์ไม่ได้เปิดเครื่อง: Ensure the battery is sufficiently charged. Connect the device to a reliable 5V USB-C power source and allow it to charge for some time before attempting to power it on again.
  • ปัญหาการเชื่อมต่อ USB: If your computer does not recognize the device or you experience problems uploading firmware, verify that the correct USB-to-serial drivers (e.g., for CH9102) are installed for your operating system. Try using a different USB-C cable or a different USB port on your computer.
  • จอแสดงผลไม่ทำงาน: If the screen remains blank, check your code to ensure the ST7789V2 display is correctly initialized and that data is being sent to it.
  • ความล้มเหลวในการอัพโหลดเฟิร์มแวร์: Confirm that the correct board and serial port are selected in your development environment. Ensure the device is not in a state that prevents programming (e.g., a crashed program).
  • อุปกรณ์ต่อพ่วงไม่ตอบสนอง: Double-check your wiring for external components and ensure your code correctly initializes and interacts with the specific integrated peripheral (e.g., IMU, IR, Mic).

For more detailed troubleshooting steps and community support, refer to the official M5Stack documentation and online forums.

7. ข้อมูลจำเพาะ

คุณสมบัติรายละเอียด
ยี่ห้อเอ็ม5สแต็ค
ชื่อรุ่นM5StickC PLUS2
ตัวควบคุมหลักESP32-PICO-V3-02 (Core M Family)
เทคโนโลยีการเชื่อมต่ออินฟราเรด, ไวไฟ
แสดง1.14-inch TFT LCD, 135x240 resolution (ST7789V2)
ไอเอ็มยู6-axis MPU6886
ไมโครโฟนSPM1423-PDM
อาร์ทีซีบีเอ็ม8563
แบตเตอรี่200 mAh integrated Lithium Polymer
พอร์ต USB1 (USB-C for charging/programming)
ระบบปฏิบัติการFreeRTOS (compatible with Windows, MacOS, Linux development environments)
เทคโนโลยีหน่วยความจำ RAMแอลพีดีดีอาร์3
หมายเลขชิ้นส่วนของผู้ผลิตเค054

7.1 เนื้อหาบรรจุภัณฑ์

The M5StickC PLUS2 package typically includes:

  • M5StickC PLUS2 device with integrated 200 mAh Lithium Polymer battery
  • IMU . 6 แกนในตัว
  • อาร์ทีซี
  • ไมโครโฟน
  • เครื่องส่งสัญญาณอินฟราเรด
  • ปุ่ม
  • จอ LCD ขนาด 1.14 นิ้ว

8. ข้อมูลการรับประกัน

M5Stack products typically come with a limited manufacturer's warranty. For specific warranty terms, conditions, and duration, please refer to the official M5Stack website or the documentation provided at your point of purchase. Keep your proof of purchase for warranty claims.

9. การสนับสนุน

For technical support, detailed documentation, tutorials, and community resources related to the M5StickC PLUS2, please visit the official M5Stack website. Online forums and community groups dedicated to M5Stack products and ESP32 development can also provide valuable assistance for development-related queries and project ideas.

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.