pdf-icon

Core2

SKU:K010

Description

Core2 is the second generation main unit in the M5Stack development kit series, further enhancing the functionality of the original first-generation main unit with more comprehensive hardware features. The core controller Core2 is equipped with ESP32-D0WDQ6-V3, featuring two independently controllable Xtensa® 32-bit LX6 processors with a main frequency of up to 240 MHz, supporting Wi-Fi functionality. It has onboard 16 MB Flash and 8 MB PSRAM, and programs can be downloaded via the USB Type-C interface. Its powerful configuration meets the resource demands of complex applications. The front is equipped with a 2.0-inch integrated capacitive touch screen, providing users with a smoother human-computer interaction experience.

The body has a built-in vibration motor, providing haptic feedback and vibration alert functions. The built-in RTC module provides precise timing functionality. The power section is equipped with an AXP192 power management chip that effectively controls the power consumption of the body, with a built-in green power indicator light. The body also includes a TF-card (microSD) slot and a speaker. To ensure higher quality sound effects, it uses a power amplifier chip with an I2S digital audio interface, effectively preventing signal distortion. The left side and bottom of the body have independent power and reset (RST) buttons, and the three dots on the front of the screen are part of the touch screen, which can be programmed to map hot zones as three virtual buttons. The back of the body integrates a small expansion board with a 6-axis IMU sensor and a microphone.

Tutorial

This tutorial will introduce you to controlling the M5Core2 device through the UIFlow graphical programming platform
This tutorial will introduce you to controlling the M5Core2 device through the UIFlow 2.0 graphical programming platform
This tutorial will introduce you to controlling the M5Core2 device through Arduino IDE programming

Note

Compatibility Issue
The vibration motor that comes with Core2 interferes structurally with the Base series bases. To prevent damage to the device, do not stack Core2 with the Base series functional bases.

Features

Includes

  • 1 x Core2
  • 1 x USB Type-C cable (20cm)
  • 1 x Hex wrench

Applications

  • IoT controller
  • STEM education
  • DIY projects
  • Smart home devices

Specifications

Main Control Resources Parameters
ESP32-D0WDQ6-V3 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi
Flash 16MB
PSRAM 8MB
Input Voltage 5V @ 500mA
Host Interface TypeC x 1, GROVE(I2C+I/O+UART) x 1
LED Green power indicator light
Buttons Power button, RST button, screen virtual buttons x 3
Vibration Alert Vibration motor
IPS LCD Screen 2.0"@320 x 240 ILI9342C
Capacitive Touch IC FT6336U
Speaker Amplifier NS4168
Microphone SPM1423
I2S Amplifier NS4168
IMU MPU6886
RTC BM8563
PMU AXP192
USB Chip CP2104/CH9102F (two chip versions, no difference in function or use)
DC-DC Boost SY7088
TF Card Slot Supports up to 16G
Lithium Battery 500mAh @ 3.7V
Charging Parameters Charging current: 0.219A
Current after full charge (off): 0.055A
Current after full charge (on): 0.147A
Antenna 2.4G 3D antenna
Operating Temperature 0 ~ 60°C
Base Screw Specification Hex socket flat head M3
Internal PCB Reserved Interface Battery interface (specification: 1.25mm-2P) USB line interface (specification: 1.25mm-4P)
Product Dimensions 54.0 x 54.0 x 16.5mm
Product Weight 54.9g
Packaging Dimensions 80.0 x 59.9 x 21.6mm
Package Weight 100.8g

Learn

Power On/Off

Power On/Off
Power on: Single click the left power button
Power off: Long press the left power button for 6 seconds
Reset: Single click the bottom RST button

When stacking M5Core2 with M5 modules, you need to remove the battery bottom of Core2. If you need to retain the I2S microphone, IMU, and battery functions of the base while stacking other modules, it is recommended to use M5GO Bottom2 . The PCB board of CORE2 reserves the interface for the CP2104 chip and the lithium battery interface.

Some screen edges may have touch non-linearity issues. You can try using M5Tool to upgrade the screen firmware to resolve this issue.

Certifications

  • CE/MIC/FCC/RCM
  • IEC62133

Schematics

PinMap

LCD Screen & TF Card

LCD Pixels: 320x240 TF Card supports up to 16GB

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

CAP.TOUCH (I2C Addr: 0x38)

ESP32 chip GPIO21 GPIO22 GPIO39
AXP192 AXP_IO4
FT6336U SDA SCL INT RST

Microphone & NS4168 Amplifier

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

AXP Power Indicator & Vibration Motor

AXP192 AXP_IO1 AXP_LDO3
Green LED Vcc
Vibration motor Vcc

RTC

ESP32 Chip GPIO21 GPIO22
AXP192 AXP_PWR
BM8563 SDA SCL INT

IMU (3-axis gyroscope + 3-axis accelerometer)

ESP32 Chip GPIO21 GPIO22
MPU6886 SDA SCL

USB to Serial Download

ESP32 Chip GPIO1 GPIO3
CP2104/CH9102F RXD TXD

Internal I2C Connection

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

M5Core2 M-BUS Diagram

M5Core2 BUS (Comparison with M5Stack)

M5Core2 Port Description

PORT PIN Note:
PORT-A (Red) G32/33 I2C
PORT-B (Black) G26/36 DAC/ADC
PORT-C (Blue) G13/14 UART

ESP32 ADC/DAC Mappable Pins

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 on pin allocation and pin remapping, refer to the ESP32 datasheet

Dimensional Drawing

module size

Datasheets

Softwares

Arduino

UIFlow 1.0

USB Driver

Driver
Click the link below to download the driver for your operating system. There are currently two driver chip versions, CP210X (for CP2104 version) / CP34X (for CH9102 version) driver package. After extracting the package, select the installation package for your operating system's bit version to install. (If you are unsure which USB chip your device uses, you can install both drivers. CH9102_VCP_SER_MacOS v1.7 may report an error during installation, but it has actually completed the installation, so you can ignore it.) If you encounter issues with downloading programs (such as timeout or "Failed to write to target RAM"), try reinstalling 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
MacOS Port Selection
On MacOS, there may be two selectable ports. Please choose the port named wchmodem when using.

Easyloader

Easyloader Download Link Note
Core2 Factory FirmWare download /

Other

The book 《ESP32 formats and communication protocols》 introduces the M5Stack Core2 module in several chapters. The M5Stack Core2 module integrates a touch LCD screen, Bluetooth and Wi-Fi communication, a microphone and speaker, as well as an accelerometer and gyroscope, making the M5Stack Core2 module very versatile. The book uses communication protocols to build projects, from connecting a smartwatch to a phone (BLE) to remote communication with satellites orbiting above the earth (LoRa) and audio signal transmission between devices (I2S). QR codes are used to control external devices via the internet, while ESP-MESH and ESP-NOW protocols enable communication between microcontrollers without an internet connection.

Video

Version Change

Release Date Product Changes Remarks:
2020.6 First release /
2021.7 CP2104 replaced with CH9102F Actual shipments have two chip versions, CP2104/CH9102F, with no difference in function or use
2023.2 RTC button battery removed Does not affect timing function
2023.10 Lithium battery capacity changed to 500mAh /