Logo
M5Stack Core2 Display
Model reference: Core2
M5Stack Core2

Available from:
Banggood.com
Amazon.com



Manufacturer:
M5stack.com


Template for ESP32 device
{"NAME":"M5Stack Core2","GPIO":[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"FLAG":0,"BASE":1}
Requires tasmota32.bin or variations of it to run. Flashing instructions.

You do not need to apply any templates. All pin definitions are hardcoded except GPIO 33,34 for external SCL and SDA on grove bus.

Use latest Tasmota development release and set in user_config_override.h

#define USE_M5STACK_CORE2  
#define USE_SCRIPT_FATFS 4  
#define FAT_SCRIPT_SIZE 8192  
#define USE_SCRIPT  
#define USE_I2C  
#define USE_BMA423  
#define SAY_TIME  
#define USE_WEBRADIO  
#define USE_DISPLAY  
#define USE_SPI  

#define USE_DISPLAY_ILI9342  
#define USE_TOUCH_BUTTONS  
#define MAXBUTTONS 16
#define JPEG_PICTS  
#define USE_FT5206  
#define USE_MPU6886  

add this in platformio.ini to build_flags:

-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue

Fully supported with all sensors and SD card.

Special commands

core2shutdown <seconds> - shut down hardware and wake up after N seconds (>=30) core2shutdown <HH:MM> - shut down hardware and wake up on HH:MM time