M5Stack-Station image

M5Stack-Station

Development Board M5Stack_Station

M5Stack-Station is a development board based on the ESP32 microcontroller using XTENSA architecture.

This board features a maximum CPU frequency of 240 MHz and 16MB flash memory.

240 MHz CPU 16MB Flash WiFi + BT 4.2

About M5Stack-Station

ESP32 Xtensa dual-core 32-bit LX6 · 240 MHz

ESP32 board in a dock-style enclosure - built for desktop-style IoT dashboards and HMI stations.

Technical Specifications

Complete technical specification details for M5Stack-Station

ESP32 · Dual-Core
Arch
XTENSA
Clock
240 MHz
Flash
16MB
SRAM
520 KB
Connectivity
WiFi
802.11 b/g/n (2.4 GHz)
Bluetooth 4.2
Classic + BLE
240x135pixels
Type
LCD
Size
1.14"
20
Digital IO
16
Analog In
16
Interrupts
Full datasheet & reference manual
Download

Quick Setup

Copy-paste configs for M5Stack-Station - auto‑generated from this board's exact hardware specs.

ESP32 240 MHz 16MB DIO Xtensa

In Arduino IDE 2 select M5stack Station from the esp32 by Espressif package. In PlatformIO use board = esp32dev. ESP32 · 240 MHz · 16MB · DIO.

Tools menu settings
Board (select in Arduino IDE) M5stack Station
CPU Frequency 240 MHz
Flash Size 16MB
Flash Mode DIO
Upload Speed 921600
Architecture Xtensa

In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools → Board and select "M5stack Station" for the M5Stack-Station.

M5Stack-Station Pinout Diagram

Complete pin reference for M5Stack-Station

M5Stack-Station pinout diagram

Useful Links

Datasheets and resources for M5Stack-Station

Pin Mappings

Complete pinout and GPIO mapping for M5Stack-Station

20
Digital I/O Pins
16
Interrupt Pins
16
Analog Inputs
PinAnalogTouchPWMOther
1TX G1
3RX G3
4G4
5SS G5
13RXD1 G13
14TXD1 G14
16RXD2 G16
17TXD2 G17
18SCK G18
19G19
23MOSI G23
25G25 DAC1
26G26 DAC2
32SDA G32
33SCL G33
35G35 ADC1
36G36 ADC2
37G37
38G38
39G39
-1MISO
Legend
A0 Analog input
T0 Touch sensor
PWM PWM capable
RX/TX Serial pins
LED Built-in LED
# Pin number

Default Tools & Configuration

Build and upload settings for M5Stack-Station

SettingValue
Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash modedio
Boot modedio
Maximum upload size
6400 KB (6553600 bytes)
Maximum data size
4416 KB (4521984 bytes)
Configuration Summary

The M5Stack-Station 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: 6400 KB | Max data size: 4416 KB