M5Stick-C Development Board Pinout and Technical Specifications
Code name: M5Stick_C
M5Stick-C development board is based on esp32 microcontroller and uses xtensa architecture. This development board has a maximum CPU frequency of 240 MHz and a flash size of 4MB.
Features
- 40 digital IO pins
- 16 external interrupt pins
- 16 analog input pins
- 11 PWM pins
Connectivity
- WiFi: 802.11 b/g/n (2.4 GHz)
- Bluetooth: 4.2
- WiFi: 4.2
Technical specs
Clock Speed | 240 MHz |
Flash size | 4MB |
Microcontroller | esp32 |
Architecture | xtensa |
M5Stick-C Pins Mapping Arduino IDE
Below you can find the M5Stick-C pinout. This development board provides 40 digital IO pins, out of which 16 can be used as an external interrupt pins , 16 as analog input pins and 11 pins have Pulse-Width Modulation (PWM) .
Pin | Analog | Touch | PWM | Other |
---|---|---|---|---|
0 | G0 | |||
1 | PWM | TX | ||
3 | PWM | RX | ||
5 | PWM | SS | ||
9 | PWM | G9 | ||
10 | PWM | G10 | ||
13 | PWM | SCK | ||
15 | PWM | MOSI | ||
25 | PWM | DAC1 | ||
26 | PWM | G26 DAC2 | ||
32 | PWM | RXD2 SDA G32 | ||
33 | PWM | TXD2 SCL G33 | ||
35 | ADC1 | |||
36 | MISO G36 ADC2 | |||
37 | G37 | |||
39 | G39 |
Default Tools
Bootloader tool | esptool_py |
Uploader tool | esptool_py |
Network uploader tool | esp_ota |
Bootloader address | 0x1000 |
Flash mode | dio |
Boot mode | dio |
PSRAM type | |
Maximum upload size | 1280 Kb (1310720 B) |
Maximum data size | 320 Kb (327680 B) |
The M5Stick-C development board by default uses esptool_py uploader tool, esp_ota network uploader tool for Over-the-air (OTA) uploads and esptool_py bootloader tool. The bootloader starts at address "0x1000". Flash mode and boot mode for M5Stick-C development board by default is dio and dio respectively. When using Arduino IDE, the maximum sketch upload size is 1280 Kb (1310720 B) and maximum data size for variables is 320 Kb (327680 B).