/M5StickC-Plus

M5Stack Arduino Library

Primary LanguageCMIT LicenseMIT

M5StickC-Plus Arduino Library

English | 中文

  • For the Detailed documentation of M5StickC, please click here

M5StickC_01

Description

M5StickC PLUS is powered by ESP32-PICO-D4 with Bluetooth 4.2 and WiFi.It's an upgrade big screen product of M5StickC.It is a portable, easy-to-use, open source, IoT development board. What it can do? This tiny block is able to realize your idea, enlighten your creativity, and help with your IoT prototying in a very short time. It will take away a lot of pains from the development process. M5stickC Plus is one of the core devices in M5Stack product series. The compact body is integrated with rich hardware resources, such as infrared, RTC, Microphone, LED, IMU, Buttons, PMU,etc. Compared with StickC, a buzzer is added and the big screen is upgraded to a 1.14-inch, 135 * 240 resolution LCD Screen.Compared with the previous display area, the display area is increased by 18.7%, and the battery capacity is 120mAh.It also supports HAT and Unit family products.

Power switch operation:

  • Power on :Long press power button for 2 seconds

  • Power off :Short press power button for 6 seconds

Notice:

  • Baud rate supported by M5StickC Plus: 1200 ~115200, 250K, 500K, 750K, 1500K

  • G36/G25 share the same port, when one of the pins is used, the other pin should be set as a floating input

  • For example, to use the G36 pin as the ADC input, Configuration the G25 pin as FLOATING

setup()
{
   M5.begin();
   pinMode(36, INPUT);
   gpio_pulldown_dis(GPIO_NUM_25);
   gpio_pullup_dis(GPIO_NUM_25);
}

PinMap

RED LED & IR Transmitter & BUTTON A & BUTTON B

ESP32 GPIO10GPIO9GPIO37GPIO39GPIO2
RED LEDLED Pin
IR TransmitterTransmitter Pin
BUTTON AButton Pin
BUTTON BButton Pin
BuzzerBuzzer Pin

TFT LCD

Driver IC:ST7789v2

Resolution:135 * 240

ESP32 GPIO15GPIO13GPIO23GPIO18GPIO5
TFT LCDTFT_MOSITFT_CLKTFT_DCTFT_RSTTFT_CS

GROVE PORT

ESP32 GPIO33GPIO325VGND
GROVE portSCLSDA5VGND

MIC (SPM1423)

ESP32 GPIO0GPIO34
MICPHONECLKDATA

6-Axis posture sensor (MPU6886) & power management IC (AXP192)

ESP32 GPIO22GPIO21
6-Axis IMU sensorSCLSDA
Power management ICSCLSDA

AXP192

MicrophoneRTCTFT backlightTFT ICESP32/3.3V MPU68865V GROVE
LDOio0LDO1LDO2LDO3DC-DC1IPSOUT

Related Link