M5Stack Tough Pinout

The K034 pairs an ESP32 touchscreen controller with the removable TOUGH.EXT interface board. The colored HY2.0-4P sockets provide I²C, GPIO, UART and powered RS-485. Reach them by opening the case and route the selected harness through the cable gland.

Jump to pin index ↓

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show signal details

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

16 visible
PinMCU pinTypesNotes
I2CPort A external I²C clock.
I2CPort A external I²C data.
Power5 V expansion supply.
GNDCommon ground.
ADCPort B input.
GPIOPort B digital I/O or analog output.
Power5 V expansion supply.
GNDCommon ground.
UARTPort C receives at the ESP32.
UARTPort C transmits from the ESP32.
Power5 V expansion supply.
GNDCommon ground.
RS485RS-485 B− differential line.
RS485RS-485 A+ differential line.
PowerDC supply input for TOUGH.EXT.
GNDCommon ground.

Specifications

Controller
ESP32-D0WDQ6-V3, 16 MB flash, 8 MB PSRAM, ILI9342C 2-inch 320 × 240 display, microSD.
Onboard devices
AXP192 PMU and BM8563 RTC. The V2.0 label shows capacitive touch and CH9102 USB serial. M5Stack specifies the CHSC6540 touch controller.
Power
Either 5 V USB (500 mA specified) or 6–24 V DC at PWR+485 pin 3 (1 A specified). Ports A, B and C carry a separate 5 V rail and 3.3 V signals.
TOUGH.EXT orientation
Look into the colored sockets from the component side, with the RESET pads above and the converter below. Each socket is numbered from the RESET end. The reverse side prints the four networks for each port.
Port A / Port B
G33 SCL and G32 SDA on A. G36 is input only and G26 is digital I/O or DAC2 on B.
Port C / PWR+485
G13 RX and G14 TX refer to the ESP32 at Port C. PWR+485 presents B−, A+, DC input and ground. The published extender schematic shows a 120 Ω termination.
M5-Bus
30-position core receptacle beneath TOUGH.EXT. View into it with the RTC coin cell at the top. Pin 1 is on the outside edge, opposite pin 2. The core leaves pins 25, 27 and 29 open. TOUGH.EXT ties its matching positions to IN+.
USB and service points
The factory USB-A lead exits the gland and plugs into an internal harness header. USB-C, the RED Port A on the core, battery and RESET service points are inside the case.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Tough K034Product documentationM5StackPin map, input ratings and product photographs.Datasheet
ToughCore schematicM5StackUse the V2.0 core photograph and current pin map where the older schematic differs.Datasheet
TOUGH.EXTExpansion schematicM5StackSockets J1–J4, reset points J7, M5-Bus J6, DC-DC and RS-485.Datasheet
Tough K034Mechanical CADM5StackEnclosure geometry and cable entry.Datasheet
ESP32Series datasheetEspressifGPIO directions, ADC channels and boot strapping.Datasheet
Tough K034Product listingM5StackOriginal ESP32 model.Datasheet