M5Stack · ESP32-P4 · 5.0" · 720×1280
M5Stack Tab5 specifications
This page collects the pinout, free GPIOs and hardware details of the M5Stack Tab5. The board isn't in the LCD Ultra Pro™ editor yet, so there's no driver for it there.
A camera battery for a tablet. The M5Stack Tab5 runs from a removable NP-F550, the 7.4 V pack many video lights use, which gives this 5-inch ESP32-P4 tablet about six hours in M5Stack's test and makes swapping cells trivial.
The screen is a 1280×720 IPS on MIPI-DSI. Its controller has changed twice: ILI9881C with a GT911 touch chip on the first units, then ST7123, and since April 2026 an ST7121, both with touch built into the display IC. Your driver has to match the batch. The backlight is GPIO 22 and the touch interrupt GPIO 23.
Around the P4 (16 MB flash, 32 MB PSRAM) sit an ESP32-C6 for Wi-Fi 6, Thread and Zigbee, a 2 MP SC2356 camera, an ES8388 codec with an ES7210 echo-cancelling front end, two microphones, a 1 W speaker and a headphone jack. For wiring there's RS-485 with switchable termination, a Grove port on GPIO 53/54, USB-A host, USB-C OTG and the M5-Bus with many spare GPIOs.

- Screen
- 5.0" · 720×1280
- Chip
- ESP32-P4
- Memory
- 16 MB flash, 32 MB PSRAM (OPI)
- Input
- capacitive touch
Key features
- 5-inch IPS, 1280×720, MIPI-DSI
- ESP32-P4: 16 MB flash, 32 MB PSRAM
- ESP32-C6: Wi-Fi 6, Thread, Zigbee
- SC2356 2 MP camera
- ES8388 + ES7210 audio
- RS-485, USB-A host, NP-F550 battery
Specifications
| Manufacturer | M5Stack |
|---|---|
| Screen size | 5.0" |
| Resolution | 720×1280 px |
| Colour depth | 16-bit |
| Display controller | ST7121 (MIPI-DSI; ST7123 or ILI9881C on earlier units) |
| Display interface | MIPI-DSI |
| Touch | Integrated in ST7121 / ST7123 (GT911 on early units) |
| Microcontroller | ESP32-P4 |
| Module | ESP32-P4 + ESP32-C6-MINI-1U (Wi-Fi 6, Thread, Zigbee over SDIO) |
| CPU clock | 360 MHz |
| Internal SRAM | 768 KB |
| PSRAM | 32 MB (OPI) |
| Flash | 16 MB |
| Wi-Fi | Yes |
| Bluetooth | Yes |
| Hardware variant | Display controller: ST7121 since 2026-04-28; earlier ST7123, and the first units ILI9881C with GT911 touch. SC2356 2 MP camera, ES8388 codec, ES7210 echo-cancelling front end, dual microphones, 1 W speaker, 3.5 mm jack, BMI270 IMU, RX8130CE RTC, removable NP-F550 battery (7.4 V 2000 mAh), USB-A host, USB-C OTG, microSD. |
| Display | 1280×720, ST7121 (earlier ST7123 / ILI9881C), backlight 22 |
| Touch | Integrated in the display IC (GT911 on early units), INT 23 |
| I2C | SDA 31, SCL 32: touch, camera, BMI270, RX8130CE, INA226 |
| RS-485 | TX 20, RX 21, DIR 34 (SIT3088) |
| Ports | Grove 53 / 54, M5-Bus, Ext.Port, microSD, USB-A, USB-C |
| Size | 128 × 80 × 12 mm, 120.9 g |
GPIO pinout
The GPIOs the board itself uses for the display, touch and on-board peripherals, as published in the manufacturer’s documentation. Pins whose function isn’t stated clearly are left out.
| GPIO | Function |
|---|---|
| GPIO 2 | M5-Bus GPIO |
| GPIO 3 | M5-Bus GPIO |
| GPIO 4 | M5-Bus GPIO |
| GPIO 5 | M5-Bus SPI SCK |
| GPIO 6 | M5-Bus UART TX |
| GPIO 7 | M5-Bus UART RX |
| GPIO 8 | ESP32-C6 SDIO D3 |
| GPIO 9 | ESP32-C6 SDIO D2 |
| GPIO 10 | ESP32-C6 SDIO D1 |
| GPIO 11 | ESP32-C6 SDIO D0 |
| GPIO 12 | ESP32-C6 SDIO CLK |
| GPIO 13 | ESP32-C6 SDIO CMD |
| GPIO 14 | ESP32-C6 IO2 |
| GPIO 15 | ESP32-C6 reset |
| GPIO 16 | M5-Bus GPIO |
| GPIO 17 | M5-Bus GPIO |
| GPIO 18 | M5-Bus SPI MOSI |
| GPIO 19 | M5-Bus SPI MISO |
| GPIO 20 | RS-485 TX |
| GPIO 21 | RS-485 RX |
| GPIO 22 | Backlight (LEDA) |
| GPIO 23 | Touch interrupt |
| GPIO 26 | ES8388 data in |
| GPIO 27 | Audio SCLK |
| GPIO 28 | ES7210 data out |
| GPIO 29 | Audio LRCK |
| GPIO 30 | Audio MCLK |
| GPIO 31 | I2C SDA (touch, camera, IMU, RTC, codecs) |
| GPIO 32 | I2C SCL (touch, camera, IMU, RTC, codecs) |
| GPIO 34 | RS-485 direction |
| GPIO 35 | M5-Bus GPIO |
| GPIO 36 | Camera MCLK |
| GPIO 37 | M5-Bus UART0 TX |
| GPIO 38 | M5-Bus UART0 RX |
| GPIO 45 | M5-Bus GPIO |
| GPIO 47 | M5-Bus GPIO |
| GPIO 48 | M5-Bus GPIO |
| GPIO 51 | M5-Bus GPIO |
| GPIO 52 | M5-Bus GPIO |
| GPIO 53 | Port A (HY2.0-4P) |
| GPIO 54 | Port A (HY2.0-4P) |
Source: github.com, docs.m5stack.com, docs.m5stack.com. Always check against your board revision before wiring.
Free GPIOs and connectors
These GPIOs are not used by the display, touch or on-board peripherals, so you can wire your own sensors, buttons or relays to them.
| Pin | Capabilities | Note |
|---|---|---|
| GPIO 53 | GPIO, PWM, ADC | Port A |
| GPIO 54 | GPIO, PWM, ADC | Port A |
| GPIO 2 | GPIO, PWM | M5-Bus |
| GPIO 3 | GPIO, PWM | M5-Bus |
| GPIO 4 | GPIO, PWM | M5-Bus |
| GPIO 16 | GPIO, PWM, ADC | M5-Bus |
| GPIO 17 | GPIO, PWM, ADC | M5-Bus |
| GPIO 35 | GPIO, PWM | M5-Bus |
| GPIO 45 | GPIO, PWM | M5-Bus |
| GPIO 47 | GPIO, PWM | M5-Bus |
| GPIO 48 | GPIO, PWM | M5-Bus |
| GPIO 51 | GPIO, PWM, ADC | M5-Bus |
| GPIO 52 | GPIO, PWM, ADC | M5-Bus |
- Port A — GPIO 53, 54 · HY2.0-4P
- RS-485 — GPIO 20, 21, 34 (TX, RX, DIR) · terminal
SIT3088 transceiver, switchable 120 Ohm termination, 6-24 V
- M5-Bus — GPIO 2, 3, 4, 5, 6, 7, 16, 17, 18, 19, 35, 37, 38, 45, 47, 48, 51, 52 · M5-Bus
Good to know before you start
- The Tab5 isn't in the LCD Ultra Pro editor yet.
- The display controller depends on the production date.
- The RS-485 port accepts 6 to 24 V and has switchable 120 Ω termination.
What it is good for
- •Portable control tablets
- •Industrial panels with RS-485
- •Camera and voice projects
LVGL support in LCD Ultra Pro™
This board is documented in the wiki, but it is not in the LCD Ultra Pro™ editor yet, so you can’t pick it there or export a project for it. The specs, pins and connectors on this page come from the manufacturer’s own material and are there to help you wire and configure it. See the board list for boards the editor supports today.
Arduino IDE settings
From the manufacturer's documentation (not tested by us yet)
| Board | M5Tab5 |
|---|
Board package: M5Stack board package (Boards Manager: M5Stack)
Menu items the manufacturer doesn't mention are left at their defaults. We haven't compiled a driver for this board ourselves yet. Manufacturer's source
Frequently asked questions
Which display controller does my Tab5 have?
Units since 28 April 2026 use an ST7121; earlier ones an ST7123, and the first batch an ILI9881C with GT911 touch.
What battery does the Tab5 use?
A removable NP-F550 (7.4 V, 2000 mAh).
Which pins are free?
GPIO 53/54 on the Grove port and several M5-Bus GPIOs, for example 2, 3, 4, 16, 17, 35, 45, 47, 48, 51 and 52.
Sources
Specifications cross-checked against the manufacturer’s documentation (last checked 2026-11-03):
More in the M5Stack family
Tools for this board
Connect sensors and parts
- 28BYJ-48 stepper
- A4988 stepper driver
- ACS712 current sensor
- ADS1115 ADC
- ADXL345 accelerometer
- AHT20
- AS5600 magnetic encoder
- BH1750
- BME280
- BME680
- BMP280
- BTS7960 motor driver
- CAN bus (SN65HVD230)
- Capacitive soil moisture
- DFPlayer Mini
- DHT22 / AM2302
- DS18B20
- DS3231 RTC
- EC11 rotary encoder
- ENS160
- HC-SR04
- HC-SR501 PIR
- HX711 load cell
- INA219
- INA226
- INMP441 microphone
- IRLZ44N MOSFET
- KY-023 joystick
- 4x4 matrix keypad
- LD2410 radar
- LDR photoresistor
- MAX31855 thermocouple
- MAX7219 LED matrix
- MAX98357A I2S amp
- MCP23017 GPIO expander
- microSD card
- MLX90614 IR thermometer
- MPU6050
- MQ-2 gas sensor
- NEO-6M GPS
- NTC thermistor 10k
- PCA9685 PWM driver
- Piezo buzzer
- Push button
- PZEM-004T
- RC522 RFID
- 5 V relay module
- RS-485 (MAX3485)
- SCD40
- SG90 servo
- SHT31 / SHT3x
- SIM800L GSM
- SSD1306 OLED
- SSR-40DA relay
- LoRa SX1276
- TB6612FNG motor driver
- TCS34725 colour sensor
- TP4056 battery charger
- TTP223 touch button
- VL53L0X
- WS2812B LED strip
- YF-S201 flow sensor
Last updated:
Adding I2C sensors to this board?See which addresses its own chips already use, and what would clash.Open the checkerSomething wrong on this page?
Tell me what you found. I check every report and fix the page.