
M5Stick-C is a development board based on the ESP32 microcontroller using XTENSA architecture.
This board features a maximum CPU frequency of 240 MHz and 4MB flash memory.
About M5Stick-C
Tiny ESP32 wearable-ready dev kit with display, IMU, and battery - perfect for on-the-go sensor projects.
Technical Specifications
Complete technical specification details for M5Stick-C
Connectivity
Microcontroller
✨ Features & Pins
Quick Setup
Copy-paste configs for M5Stick-C - auto‑generated from this board's exact hardware specs.
In Arduino IDE 2 select M5stick C from the esp32 by Espressif package. In PlatformIO use board = esp32dev. ESP32 · 240 MHz · 4MB · DIO.
In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools → Board and select "M5stick C" for the M5Stick-C.
[env:m5stick-c]
platform = espressif32
board = esp32dev
framework = arduino
; Exact hardware config for M5Stick-C
board_build.mcu = esp32
board_build.f_cpu = 240000000L
board_build.flash_size = 4MB
board_build.flash_mode = dio
board_upload.flash_size = 4MBThe board value is a close generic match - check PlatformIO board registry for an exact fit.
esp32:
board: esp32dev
framework:
type: arduino # or "esp-idf"
# M5Stick-C - 240 MHz ESP32
# Flash: 4MB | USB: N/APaste into your device's .yaml. See ESPHome ESP32 docs for full options.
esptool.py \
--chip esp32 \
--baud 921600 \
write_flash \
--flash_mode dio \
--flash_size 4MB \
0x1000 bootloader.bin \
0x8000 partitions.bin \
0xe000 boot_app0.bin \
0x10000 firmware.binInstall: pip install esptool - replace firmware.bin with your binary - bootloader at 0x1000
Useful Links
Datasheets and resources for M5Stick-C
Pin Mappings
Complete pinout and GPIO mapping for M5Stick-C
| 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 & Configuration
Build and upload settings for M5Stick-C
| Setting | Value |
|---|---|
| Bootloader tool | esptool_py |
| Uploader tool | esptool_py |
| Network uploader tool | esp_ota |
| Bootloader address | 0x1000 |
| Flash mode | dio |
| Boot mode | dio |
| Maximum upload size | 1280 KB (1310720 bytes) |
| Maximum data size | 320 KB (327680 bytes) |
The M5Stick-C uses esptool_py for uploads , esp_ota for OTA updates, and esptool_py bootloader at 0x1000.
Flash mode: dio | Boot mode: dio
Max sketch size: 1280 KB | Max data size: 320 KB
Similar Boards
Other development boards with ESP32 microcontroller

M5Stack-ATOMS3
M5Stack-ATOMS3 development board is based on esp32s3 microcontroller and uses xtensa architecture.

M5Stack-ATOM
M5Stack-ATOM development board is based on esp32 microcontroller and uses xtensa architecture.

M5Stack-Station
M5Stack-Station development board is based on esp32 microcontroller and uses xtensa architecture.
