EasyLoader (beta)

Current Product Don't Have Test Firmware

Note: pls, use PC chrome/edge browser, if can't connect, refresh the webpage.

1. Click connect button

2. After connected successfully, pick a firmware

3. Click the burn button

4. After burning successfully, Unplug the device and restart.

0%

Core2 for AWS

SKU:K010-AWS

Tutorial

Choose the development platform you want to use, view the corresponding tutorial&quick-Start.

This tutorial will show you how to control Core2 for AWS devices through the UIFlow graphical programming platform
This tutorial will show you how to program and control Core2 for AWS devices through Arduino IDE
This tutorial will show you how to control Core2 for AWS devices through Micropython programming
This tutorial will show you how to control Core2 for AWS devices through AWS FreeRTOS programming

Description

Core2 for AWS is the reference hardware kit for AWS IoT EduKit – a prescriptive learning program from AWS which makes it easy and cost effective to learn how to build IoT applications using AWS services. It comes equipped with a Microchip ATECC608 Trust&GO pre-provisioned secure element, in addition to the existing features of the standard M5Stack Core2 and M5GO Bottom2. The Core2 for AWS is a feature rich, plug and play extensible, and secure hardware kit for learning and building a wide range of IoT applications.

To learn more about the AWS IoT EduKit program, visit https://edukit.workshop.aws

The Core2 for AWS comes with an ESP32-D0WDQ6-V3 microcontroller, which features dual Xtensa 32-bit LX6 cores and a main frequency up to 240Mhz, with 2.4GHz Wi-Fi. Comes with 8MB PSRAM and 16MB flash on board.

The main unit is equipped with a 2.0-inch capacitive touch screen that provides a smooth and responsive human machine interface. The built-in vibration motor can be used to provide haptic feedback or alerts. Onboard RTC module provides accurate time of day. Power is supplied through an AXP192 power management chip, to monitor and control power attributes of the device. The included TF card slot supports microSD cards up to 16GB. The on-board speaker is paired with an I2S digital audio interface power amplifier chip to reduce signal distortion and provide clearer audio output. There are independent physical power and reset (RST) buttons on the sides of Core2 for AWS, with 3 programmable touch buttons on the front of the screen.

The M5GO Bottom2 for AWS adds additional features and security for IoT applications. The MPU6886 provides 6-axis internal IMU and temperature, the SPM1423 digital microphone captures audio for recording or creating voice applications, 10 individually programmable RGB LEDs via SK6812 to create customized and animated light effects, a 500mAh lithium-ion battery provides power on the go, the onboard Microchip ATECC608 Trust&GO crypto-authentication chip is pre-provisioned with secure keys to simplify connectivity to AWS and accelerate cryptographic computation.The CP2104 chip interface is reserved on the PCB of Core2 for AWS to interface with the lithium battery.

For all questions or issue regarding this device, pls visit our forum: https://forum.m5stack.com/category/41/core2-for-aws

Power Management

Operations:
Power on: One click the power button on the left
Power off: Long press the left power button for 6 seconds
Reset: Click the RST button on the bottom side

Extensions

The vibration sensor of M5Core2 and M5 Base series are incompatible in mechanical design. Please do not stack them together.

Product Feature

  • Reference hardware kit for use with AWS IoT EduKit
  • ESP32-D0WDQ6-V3, supports 2.4GHz Wi-Fi
  • 16M Flash, 8M PSRAM
  • Built-in ATECC608 hardware encryption chip
  • Capacitive touch screen
  • Built-in PDM microphone, power indicator, 6-Axis IMU, vibration motor, I2S codec, Amplifier, Speaker, RTC, power button, reset button, 10 x RGB LEDs
  • TF card slot (support up to 16GB)
  • Built-in 500mAh Lithium ion battery, equipped with power management chip
  • Validated through AWS Device Qualification Program
  • Compatible with multi-platform development:

Include

  • 1x M5Stack Core2
  • 1x M5GO Bottom2 for AWS
  • 1x Type-C USB (50cm)
  • 1x HEX KEY

Application

  • Internet of Things Controller
  • STEM Education
  • DIY projects

Specification

Resources Parameter
ESP32-D0WDQ6-V3 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi
Flash 16MB
PSRAM 8MB
Hardware encryption chip ATECC608B-TNGTLSU-G (addr 0x35)
Input voltage 5V @ 500mA
Host interface TypeC x1, POGO PIN x1, I2C x1, GPIO x1, UART x1
Programmable LED light SK6812*10
Button Power button, RST button, virtual screen button * 3
Vibration reminder Vibration motor
IPS LCD screen 2.0"@320*240 ILI9342C
Capacitive touch screen IC FT6336U
Speaker 1W-0928
Microphone SPM1423
I2S power amplifier NS4168
IMU MPU6886
RTC BM8563
PMU AXP192
USB chip CP2104
DC-DC boost SY7088
TF card slot Support up to 16G
Lithium battery 500mAh @ 3.7V
Antenna 2.4G 3D antenna
Working temperature 32°F to 104°F (0°C to 40°C )
Net weight 101g
Product size 54 x 54 x 24mm
Package size 90 x 60 x 27mm
Shell material Plastic (PC )

Driver Installation

Click the link below to download the driver that matches the operating system. There are currently two driver chip versions, CP210X (for CP2104 version)/CP34X (for CH9102 version) driver compressed package. After decompressing the compressed package, select the installation package corresponding to the number of operating systems to install. (If you are not sure of the USB chip used by your device, you can install both drivers at the same time. During the installation process of CH9102_VCP_SER_MacOS v1.7, an error may occur, but the installation is actually completed, just ignore it.) When using it, if If the program cannot be downloaded normally (the prompt is overtime or Failed to write to target RAM), you can try to reinstall the device driver.

Driver name Applicable driver chip Download link
CP210x_VCP_Windows CP2104 Download
CP210x_VCP_MacOS CP2104 Download
CP210x_VCP_Linux CP2104 Download
CH9102_VCP_SER_Windows CH9102 Download
CH9102_VCP_SER_MacOS v1.7 CH9102 Download

EasyLoader

EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification.

Download Windows Version Easyloader

Description:
Core2 for AWS factory default example.

PinMap

LCD & TF card

LCD :320x240 TF card Maximum size 16GB

ESP32 Chip GPIO38 GPIO23 GPIO18 GPIO5 GPIO15
AXP192 Chip AXP_IO4 AXP_DC3
ILI9342C MISO MOSI SCK CS DC RST BL
ESP32 Chip GPIO38 GPIO23 GPIO18 GPIO4
TF Card MISO MOSI SCK CS

CAP.TOUCH (I2C Addr: 0x38)

ESP32 chip GPIO21 GPIO22 GPIO39
AXP192
FT6336U SDA SCL INT

Mic & NS4168

ESP32 Chip GPIO12 GPIO0 GPIO2 AXP_IO2 GPIO34
NS4168 BCLK LRCK DATA SPK_EN
Mic CLK DATA

AXP Power Indicator Light

AXP192 AXP_IO1 AXP_LDO3
Green LED Vcc
Vibration motor Vcc

RTC

ESP32 Chip GPIO21 GPIO22
AXP192 AXP_PWR
BM8563 SDA SCL

IMU(3-axis gyroscope & 3-axis accelerometer) &Pogo Pin

ESP32 Chip GPIO21 GPIO22
MPU6886 SDA SCL
Pogo Pin SDA SCL

USB to serial chip

ESP32 Chip GPIO1 GPIO3
CP2104 RXD TXD

PSRAM

ESP32 Chip GPIO8 GPIO7 GPIO10 GPIO9 GPIO17 GPIO16
ESPRAM64H SI/SIO0 SO/SIO1 SIO2 SIO3 SCLK CS#

SK6812-LED

ESP32 Chip GPIO25
SK6812-LED DATA

Internal I2C connection

ESP32 Chip GPIO21 GPIO22
MPU6886 SDA SCL
AXP192 SDA SCL
BM8563 SDA SCL
FT6336U SDA SCL
ATECC608 SDA SCL

Charging current measured value

charging current Fully charged current(Power OFF) Fully charged current(Power ON)
0.219A 0.055A 0.147A

M5Core2 M-BUS Schematic diagram

M5Core2 PORT

HY2.0-4P-PortA(Red)

ESP32 Chip GPIO32 GPIO33
PortA GPIO32(SDA) GPIO33(SCL)

M5GO-Bottom For AWS PORT

HY2.0-4P-PortB(black)

ESP32 Chip GPIO26 GPIO36
PortB GPIO26(DAC) GPIO36(ADC)

HY2.0-4P-PortC(blue)

ESP32 Chip GPIO13 GPIO14
PortC GPIO13(RXD2) GPIO14(TXD2)

ESP32 ADC/DAC

ADC1 ADC2 DAC1 DAC2
8 channels 10 channels 2 channels 2 channels
G32-39 G0/2/4/12-15/25-27 G25 G26

For more information about Pin assignment and Pin Remapping, Please refer to ESP32 Datasheet

Schematic

Learn

It is a device that assists in verifying body temperature information so that people can meet with ease at the Corona disaster.

Example

Arduino

Tutorial

Video

FAQ

Q1: How do I remove the speaker floor noise when the M5Core is on or running?

Execute the following statement in Setup() of the Arduino program

Q2: How does M5Core2 stack modules?

When M5Core2 is stacked with other M5 modules, you need to remove the battery base of Core2, which does not support module stacking.

Q3: A timeout error is displayed when uploading the program to the device

Reason and solution: The power supply current of the port is insufficient, which can cause the device to not enter the download mode normally. You can try to connect a capacitor (>0.1uF) between the RST pin and the GND pin, or when uploading the program, set the G0 Short-circuit to GND, so that G0 can be set to a low level state normally

Q4: How to solve the phenomenon of automatic signal triggering of M5Core button A

Add the header file #include <driver/adc.h> and the function adc_power_acquire(); in the Arduino program

Q5: M5 device battery life

The battery life of the controller is affected by various factors such as battery capacity, operating status, and load, so there is no fixed value. Reducing the load and adopting a sleep strategy can effectively increase the battery life.

Q6: Can multiple modules with batteries be stacked at the same time?

Support multiple stacks, the total capacity of the batteries in parallel increases, and the voltage remains unchanged. However, since the discharge of each battery is not balanced during use, there is a voltage difference between the batteries, which may cause the battery to charge backwards. .(will lose part of the battery capacity)

Q7: M5 master supports WiFi connection to 5G frequency band

ESP32 module currently does not support WiFi in 5G band, only 2.4G.

Q8: The RS485 device cannot communicate normally/data is garbled. Packet loss, etc.

Confirm whether the TX/RX pin on the TTL side of the pin is correct, try to add two 120Ω terminal resistors at the beginning and end of the device line to reduce signal reflection interference

Q9: The difference between different masters and camera products

Click the link below to view the product comparison table

Q10: M5 camera image blur, how to adjust the focal length

Rotate the lens to adjust the focal length within a certain range

Q1: How to read the programmed firmware?

Use esptool to read the flash content of esp32 and export the bin file. Refer to the detailed operation

Q2: Several solutions for esp32 board download failure in Arduino IDE board management

Restart the Arduino IDE, the computer uses the mobile AP mobile network to download.

Method 3: Download the resource package provided by M5Stack for direct installation, and extract the contents to the board management path of Arduino, such as (C:\Users\Sean\AppData\Local\Arduino15\packages), https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/packages/m5stack_v2.0.0.zip
Q3: Arduino SPIFFS file upload operation

Refer to the Github link below, use arduino-esp32fs-plugin for file upload

Q4: When M5Burner burns firmware, an error pop-up window or exception occurs

Check if the COM of the corresponding device is selected and if the M5Burner is the latest version

Q5: Does the M5 master device support multi-language display (Chinese, English, Japanese, Russian, etc.)?

UIFlow users can switch the Label font to Unicode, Arduino users can use the Chinese font library provided in the M5GFX driver library

Q6: The program cannot load the SD card normally

Confirm whether the SD card format is FAT32, and no partitions exist.

Q7: How to use Bluetooth, HTTP, SD, WebServer, FreeRTOS and other features in Arduino IDE

You can refer to the following link for other ESP32 users to share the case program

Q8: How to download programs for STAMP C3U

STAMP C3U enters program download mode operation: 1. Long press the center button (G9) of STAMP C3U when the power is off. 2. Connect to the computer, after the port is successfully identified, program burning.

Q9: How STAMP C3U defines UART0 output mode

By default, USB CDC is not enabled, the serial port output started by C3U will be output through the default pins (G20, G21) of UART0. If you want to output through USB, please use the IDE to output Its USB CDC option is enabled. (Arduino users can enable it through Tools->USB CDC on Boot-Enabled. For IDF users, please refer to the ESP IDF official documentation.)

Q10: Unable to connect to UIFlow Desktop IDE

Refer to the UIFlow documentation of the corresponding device to check whether the device has entered the USB programming mode.

COMMON

Q1: Consultation for after-sales problems of products

Describe the problems encountered in detail. Screenshots of the programs involved or files can be added as attachments and sent to M5Stack's official after-sales email

Q2: Code Resources, Cases, User Communication