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.

M5Stack Tab5 board diagram with an example screen: 5.0" 720×1280, ESP32-P4
Annotated diagram of the M5Stack Tab5, drawn by LCD Ultra Pro™.
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

M5Stack Tab5 technical specifications
ManufacturerM5Stack
Screen size5.0"
Resolution720×1280 px
Colour depth16-bit
Display controllerST7121 (MIPI-DSI; ST7123 or ILI9881C on earlier units)
Display interfaceMIPI-DSI
TouchIntegrated in ST7121 / ST7123 (GT911 on early units)
MicrocontrollerESP32-P4
ModuleESP32-P4 + ESP32-C6-MINI-1U (Wi-Fi 6, Thread, Zigbee over SDIO)
CPU clock360 MHz
Internal SRAM768 KB
PSRAM32 MB (OPI)
Flash16 MB
Wi-FiYes
BluetoothYes
Hardware variantDisplay 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.
Display1280×720, ST7121 (earlier ST7123 / ILI9881C), backlight 22
TouchIntegrated in the display IC (GT911 on early units), INT 23
I2CSDA 31, SCL 32: touch, camera, BMI270, RX8130CE, INA226
RS-485TX 20, RX 21, DIR 34 (SIT3088)
PortsGrove 53 / 54, M5-Bus, Ext.Port, microSD, USB-A, USB-C
Size128 × 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.

M5Stack Tab5 GPIO pinout
GPIOFunction
GPIO 2M5-Bus GPIO
GPIO 3M5-Bus GPIO
GPIO 4M5-Bus GPIO
GPIO 5M5-Bus SPI SCK
GPIO 6M5-Bus UART TX
GPIO 7M5-Bus UART RX
GPIO 8ESP32-C6 SDIO D3
GPIO 9ESP32-C6 SDIO D2
GPIO 10ESP32-C6 SDIO D1
GPIO 11ESP32-C6 SDIO D0
GPIO 12ESP32-C6 SDIO CLK
GPIO 13ESP32-C6 SDIO CMD
GPIO 14ESP32-C6 IO2
GPIO 15ESP32-C6 reset
GPIO 16M5-Bus GPIO
GPIO 17M5-Bus GPIO
GPIO 18M5-Bus SPI MOSI
GPIO 19M5-Bus SPI MISO
GPIO 20RS-485 TX
GPIO 21RS-485 RX
GPIO 22Backlight (LEDA)
GPIO 23Touch interrupt
GPIO 26ES8388 data in
GPIO 27Audio SCLK
GPIO 28ES7210 data out
GPIO 29Audio LRCK
GPIO 30Audio MCLK
GPIO 31I2C SDA (touch, camera, IMU, RTC, codecs)
GPIO 32I2C SCL (touch, camera, IMU, RTC, codecs)
GPIO 34RS-485 direction
GPIO 35M5-Bus GPIO
GPIO 36Camera MCLK
GPIO 37M5-Bus UART0 TX
GPIO 38M5-Bus UART0 RX
GPIO 45M5-Bus GPIO
GPIO 47M5-Bus GPIO
GPIO 48M5-Bus GPIO
GPIO 51M5-Bus GPIO
GPIO 52M5-Bus GPIO
GPIO 53Port A (HY2.0-4P)
GPIO 54Port 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.

Free GPIO pins of the M5Stack Tab5
PinCapabilitiesNote
GPIO 53GPIO, PWM, ADCPort A
GPIO 54GPIO, PWM, ADCPort A
GPIO 2GPIO, PWMM5-Bus
GPIO 3GPIO, PWMM5-Bus
GPIO 4GPIO, PWMM5-Bus
GPIO 16GPIO, PWM, ADCM5-Bus
GPIO 17GPIO, PWM, ADCM5-Bus
GPIO 35GPIO, PWMM5-Bus
GPIO 45GPIO, PWMM5-Bus
GPIO 47GPIO, PWMM5-Bus
GPIO 48GPIO, PWMM5-Bus
GPIO 51GPIO, PWM, ADCM5-Bus
GPIO 52GPIO, PWM, ADCM5-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)

BoardM5Tab5

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

All free tools →

Connect sensors and parts

All sensors and parts →

Last updated:

Adding I2C sensors to this board?See which addresses its own chips already use, and what would clash.

Something wrong on this page?

Tell me what you found. I check every report and fix the page.