M5StickC PLUS - SamuelLarkin/poulailler.IoT GitHub Wiki

M5StickC-Plus Arduino Library

  • 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 GPIO10 GPIO9 GPIO37 GPIO39 GPIO2
RED LED LED Pin
IR Transmitter Transmitter Pin
BUTTON A Button Pin
BUTTON B Button Pin
Buzzer Buzzer Pin

TFT LCD

Driver IC:ST7789v2

Resolution:135 * 240

ESP32 GPIO15 GPIO13 GPIO23 GPIO18 GPIO5
TFT LCD TFT_MOSI TFT_CLK TFT_DC TFT_RST TFT_CS

GROVE PORT

ESP32 GPIO33 GPIO32 5V GND
GROVE port SCL SDA 5V GND

MIC (SPM1423)

ESP32 GPIO0 GPIO34
MICPHONE CLK DATA

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

ESP32 GPIO22 GPIO21
6-Axis IMU sensor SCL SDA
Power management IC SCL SDA

AXP192

Microphone RTC TFT backlight TFT IC ESP32/3.3V MPU6886 5V GROVE
LDOio0 LDO1 LDO2 LDO3 DC-DC1 IPSOUT

Related Link

⚠️ **GitHub.com Fallback** ⚠️