ropg / M5Core2

M5Core2 Arduino Library
MIT License
7 stars 1 forks source link

M5Core2 Library

English | 中文

M5Core2_P1 M5Core2_P2

Description

M5Core2 is the second generation core device in the M5Stack development kit series, which further enhances the functions of the original generation of cores.

The MCU is an ESP32 model D0WDQ6-V3 and has dual core Xtensa® 32-bit 240Mhz LX6 processors that can be controlled separately. WiFi and Bluetooth are supported as standard and it includes an on board 16MB Flash and 8MB PSRAM, USB TYPE-C interface for charging, downloading of programs and serial communication, a 2.0-inch integrated capacitive touch screen, and a built-in vibration motor.

M5Core2 also features a built-in RTC module which can provide accurate timing. The power supply is managed by an AXP192 power management chip, which can effectively control the power consumption of the base and a built-in green LED power indicator helps to notify the user of battery level. The battery capacity has been upgraded to 390mAh, which can power the core for much longer than the previous model.

The M5Core2 retains the SD card slot and speakers. However, in order to ensure higher quality sound output, the I2S digital audio interface power amplifier chip is used to effectively prevent signal distortion. There are independent power and reset buttons on the left side and bottom of the base.

The 3 icons on the front of the screen are capacitive buttons which are programmable. There is a small expansion board on the back of the base with a 6-axis IMU sensor and microphone.

PinMap

LCD & TF card

LCD :320x240 TF card Maximum size 16GB

ESP32 ChipGPIO38GPIO23GPIO18GPIO5GPIO15
AXP192 Chip AXP_IO4AXP_DC3AXP_LDO2
ILI9342CMISOMOSISCKCSDCRSTBLPWR
ESP32 ChipGPIO38GPIO23GPIO18GPIO4
TF CardMISOMOSISCKCS

CAP.TOUCH

ESP32 chipGPIO21GPIO22GPIO39
AXP192AXP_IO4
FT6336USDASCLINTRST

Mic & NS4168

ESP32 ChipGPIO12GPIO0GPIO2AXP_IO2GPIO34
NS4168BCLKLRCKDATASPK_EN
MicCLKDATA

AXP Power Indicator Light & Vibration motor

AXP192AXP_IO1AXP_LDO3
Green LEDVcc
Vibration motorVcc

RTC

ESP32 ChipGPIO21GPIO22
AXP192AXP_PWR
BM8563SDASCLINT

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

ESP32 ChipGPIO21GPIO22
MPU6886SDASCL

USB to serial chip

ESP32 ChipGPIO1GPIO3
CP2104RXDTXD

Internal I2C connection

ESP32 ChipGPIO21GPIO22
MPU6886SDASCL
AXP192SDASCL
BM8563SDASCL
FT6336USDASCL

M5Core2 M-BUS Schematic diagram

M5PORT EXPLAIN

PORT PIN Note:
PORT-A(Red) G32/33 I2C

More Information

Product docs