1. Introduction
The M5Stack Core2 For AWS v1.3 is a comprehensive development kit tailored for AWS IoT learning and security projects. It combines the M5Stack Core2 main controller with an integrated cryptographic chip and the Base M5GO Bottom2 v1.3 expansion base. This device is powered by a dual-core ESP32-D0WDQ6-V3 processor running at 240 MHz, offering 16MB Flash and 8MB PSRAM. It features a 2.0-inch capacitive touchscreen, Wi-Fi connectivity, and a range of peripherals for versatile applications.
This manual provides essential information for setting up, operating, and maintaining your M5Stack Core2 AWS IoT Kit. Please read it thoroughly before use.
2. Product Features
- Main Controller: ESP32-D0WDQ6-V3 (Dual-core, 240 MHz)
- Security: Built-in ATECC608 hardware cryptographic chip
- Memory: 16MB Flash, 8MB PSRAM, 520KB SRAM
- Connectivity: 2.4 GHz Wi-Fi with 3D antenna
- Display: 2.0-inch IPS LCD (320x240) with capacitive touchscreen (FT6336U)
- Audio: Built-in 1W-0928 speaker, SPM1423 digital microphone, NS4168 audio amplifier
- Sensors: BMI270 6-axis IMU (Inertial Measurement Unit)
- Feedback: Vibration motor, 10x SK6812 programmable RGB LEDs
- Power Management: AXP192 Power Management IC, SY7088 DC-DC Boost, 500mAh @ 3.7V Li-ion battery
- Interfaces: USB Type-C (for power/program), Pogo Pin (for charging), I2C, GPIO, UART, microSD card slot, HY2.0-4P expansion ports
- Real-Time Clock: BM8563 RTC clock chip
- USB-TTL: CH9102F
- Development Platforms: UiFlow1, UiFlow2, Arduino IDE, ESP-IDF, PlatformIO
Figure 1: Labeled diagram of the M5Stack Core2 AWS v1.3, highlighting key components and interfaces.
3. Applications
The M5Stack Core2 AWS IoT Kit is suitable for a wide range of applications, including:
- IoT controller development
- General DIY projects and prototyping
- Smart home security terminal prototyping
- Edge computing trusted data acquisition
- Cloud data upload and integration
4. Package Contents
Ensure all items are present in the package:
- 1 x M5Stack Core2 For AWS v1.3 device
- 1 x USB Type-C Cable (50cm)
- 1 x Hex Key L-Shape 2.5mm (for M3 screws)
Figure 2: M5Stack Core2 AWS v1.3 device and packaging.
5. Setup
5.1. Power On/Off/Reset
- Power On: Short press the power button located on the left side of the device.
- Power Off: Long press the power button on the left side.
- Reset: Short press the RST button located on the bottom of the device.
Figure 3: Side view showing the power button and USB-C port.
5.2. USB Driver Installation
Before connecting your device to a computer for programming or data transfer, you may need to install the CH9102 USB serial (VCP) driver. Download the appropriate driver for your operating system from the official M5Stack website.
- Windows: Install the CH9102_VCP_SER_Windows driver.
- macOS: Install the CH9102_VCP_SER_MacOS v1.7 driver. If you encounter error messages during installation, these are often false positives; the driver is usually installed correctly.
If you experience issues with firmware upload or download (e.g., 'Failed to write to target RAM'), try reinstalling the driver, using a different USB cable, or switching to another USB port on your computer.
5.3. Development Environment Setup
The M5Stack Core2 AWS IoT Kit supports various development platforms:
- UiFlow: A graphical programming platform for easy development.
- Arduino IDE: For C++ programming, widely used for embedded systems.
- ESP-IDF: Espressif IoT Development Framework for advanced ESP32 programming.
- PlatformIO: An open-source ecosystem for IoT development, supporting multiple boards and frameworks.
Refer to the official M5Stack documentation and tutorials for detailed instructions on setting up your preferred development environment and getting started with programming.
5.4. Firmware Upload (Easyloader)
For quick firmware updates and demo programs, the Easyloader tool is available. Download the 'Core2 For AWS v1.3 User Demo Easyloader' from the M5Stack website to flash pre-compiled firmware onto your device.
6. Operating Instructions
The M5Stack Core2 AWS IoT Kit offers a rich interactive experience:
Video 1: M5Stack Core2 AWS v1.3 Product Overview and Feature Demonstration.
- Touchscreen Interaction: The 2-inch capacitive touchscreen allows for direct input and display of information. It also features three virtual touch keys for programmable actions.
- Motion Sensing: The integrated BMI270 6-axis motion sensor can detect device orientation, acceleration, and angular velocity, enabling applications that respond to movement.
- Vibration Feedback: The built-in vibration motor provides haptic feedback for user interactions or alerts.
- RGB LED Bar: The 10x SK6812 RGB LEDs can be programmed to display various colors and lighting effects, providing visual cues or aesthetic enhancements.
- Audio Interaction: Use the digital microphone for audio input and the speaker for sound output, enabling voice commands, audio alerts, or simple sound playback.
- Real-Time Clock (RTC): The BM8563 RTC chip ensures accurate timekeeping, even when the device is powered off, useful for logging or scheduling tasks.
- MicroSD Card: Insert a microSD card into the slot for expanded storage of data, logs, or firmware.
- Pogo Pin Charging: The Pogo Pin interface on the bottom allows for convenient charging of the internal Li-ion battery.
- Expansion Ports (HY2.0-4P): Utilize the PORT.A, PORT.B, and PORT.C HY2.0-4P interfaces for connecting external sensors, actuators, or other modules. Refer to the Pinout section for details.
7. Maintenance
- Cleaning: Use a soft, dry cloth to clean the device. Avoid using liquids or abrasive cleaners.
- Storage: Store the device in a cool, dry place away from direct sunlight and extreme temperatures.
- Handling: Handle the device with care to prevent physical damage to the screen, ports, or casing.
- Battery Care: For optimal battery life, avoid fully discharging the battery frequently. If storing for extended periods, charge the battery to about 50%.
8. Troubleshooting
- Screen Touch Non-Linearity: If the screen edges exhibit non-linear touch behavior, try updating the screen firmware using the M5Tool.
- Firmware Upload/Download Failure: Reinstall the CH9102 VCP_SER USB drivers. Try using a different USB cable or connecting to a different USB port on your computer.
- Device Not Powering On: Ensure the internal Li-ion battery is charged. Connect the device via the USB Type-C port to a power source.
- Wi-Fi Connectivity Issues: Verify your Wi-Fi credentials in your code. Ensure the device is within range of a stable 2.4 GHz Wi-Fi network.
- Peripherals Not Responding: Double-check your wiring for external modules. Ensure the correct pin assignments are used in your code, referring to the Pinout section.
9. Specifications
| Specification | Parameter |
|---|---|
| SoC | ESP32-D0WDQ6-V3 @ dual-core, 240 MHz |
| SRAM | 520KB |
| Flash | 16MB |
| PSRAM | 8MB |
| Wi-Fi | 2.4 GHz Wi-Fi |
| Hardware Crypto Chip | ATECC608B-TNGTLSU-G (addr 0x35) |
| Input Voltage | 5V @ 500mA |
| Host Interface | USB Type-C x1, Pogo Pin x1, I2C x1, GPIO x1, UART x1 |
| Programmable LED | SK6812 x 10 |
| Buttons | Power button, RST button, Screen virtual buttons x 3 |
| Vibration Alert | Vibration motor |
| IPS LCD | 2.0" @320 x 240 ILI9342C |
| Capacitive Touch IC | FT6336U |
| Speaker | 1W-0928 |
| Microphone | SPM1423 |
| I2S Amplifier | NS4168 |
| IMU | BMI270 |
| RTC | BM8563 |
| PMU | AXP192 |
| USB-TTL | CH9102F |
| DC-DC Boost | SY7088 |
| Li-ion Battery | 500mAh @ 3.7V |
| Antenna | 2.4G 3D Antenna |
| Operating Temperature | 0 ~ 40°C |
| Housing Material | Plastic (PC) |
| Product Size | 54.0 x 54.0 x 23.7mm |
| Product Weight | 72.1g |
| Package Size | 90.0 x 60.0 x 30.0mm |
| Gross Weight | 114.9g |
10. Pinout and Dimensions
10.1. Detailed Pinout Diagram
For a comprehensive overview of all internal and external pin connections, please refer to the detailed schematic diagram below:
Figure 4: Detailed Pinout Diagram (Refer to original PDF for higher resolution).
10.2. HY2.0-4P Expansion Port Pinout
| Interface | Pin 1 (Black) | Pin 2 (Red) | Pin 3 (Yellow) | Pin 4 (White) |
|---|---|---|---|---|
| PORT.A | GND | 5V | G32 | G33 |
| PORT.B | GND | 5V | G26 | G36 |
| PORT.C | GND | 5V | G13 | G14 |
10.3. Module Dimensions
The physical dimensions of the M5Stack Core2 AWS v1.3 are provided in the diagram below (Unit: mm):
Figure 5: Dimensional drawing of the M5Stack Core2 AWS v1.3.
11. User Tips
- Explore the Ecosystem: M5Stack has a vibrant community and extensive documentation. Explore their official website, forums, and GitHub repositories for project ideas, code examples, and advanced tutorials.
- Modular Design: Take advantage of the modular design by connecting various M5Stack modules and units to expand the functionality of your Core2 AWS IoT Kit.
- Power Management: When developing battery-powered applications, optimize your code for low power consumption and utilize the AXP192 PMU features to extend battery life.
- Secure IoT: Leverage the ATECC608 cryptographic chip for secure communication and device authentication in your AWS IoT projects.
12. Warranty and Support
M5Stack provides technical support and resources for their products. For detailed warranty information, technical assistance, and access to the latest documentation, please visit the official M5Stack website. Keep your proof of purchase for any warranty claims.