Main pinout
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 advanced functions
Find the 30 rear M5-Bus contacts and the expansion connectors of the Tab5. The photographs show the battery-free C145 enclosure with a rear V1.0 / ST7121 label. The K145 kit adds an NP-F550 battery.
Pin index
Quickly scan every header pin, port name, supported function and usage note.
| Pin | MCU pin | Types | Notes |
|---|---|---|---|
| GND | BUS1.1. Board ground and signal return. | |
| GPIO | BUS1.2. ESP32-P4 GPIO16, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| GND | BUS1.3. Board ground and signal return. | |
| GPIO | BUS1.4. ESP32-P4 GPIO17. M5Stack marks this module position PB_IN on the Tab5 chart. | |
| GND | BUS1.5. Board ground and signal return. | |
| Control | BUS1.6. SOC_RST, the ESP32-P4 active-low enable/reset line. | |
| SPI | BUS1.7. xSPI_MOSI_GPIO18, data from the controller. Shared with the reserved Stamp footprint. | |
| GPIO | BUS1.8. ESP32-P4 GPIO45, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| SPI | BUS1.9. xSPI_MISO_GPIO19, data to the controller. Shared with the reserved Stamp footprint. | |
| GPIO | BUS1.10. ESP32-P4 GPIO52. M5Stack marks this module position PB_OUT on the Tab5 chart. | |
| SPI | BUS1.11. xSPI_SCK_GPIO5 clock. Shared with the reserved Stamp footprint. | |
| Power | BUS1.12. Shared 3.3 V board supply referenced by the ESP32-P4 GPIOs. | |
| UART | BUS1.13. U0RXD_GPIO38, receive into the ESP32-P4. | |
| UART | BUS1.14. U0TXD_GPIO37, transmit from the ESP32-P4. | |
| UART | BUS1.15. STD_GPIO7. The Tab5 pin map calls this module position PC_RX. | |
| UART | BUS1.16. xMOD_RX_GPIO6. The Tab5 pin map calls this module position PC_TX. The net also reaches the reserved Stamp footprint. | |
| I2C | BUS1.17. Shared internal I²C data. It also reaches the onboard I²C peripherals and the reserved Stamp pads. | |
| I2C | BUS1.18. Shared internal I²C clock. It also reaches the onboard I²C peripherals and the reserved Stamp pads. | |
| GPIO | BUS1.19. ESP32-P4 GPIO3, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| GPIO | BUS1.20. ESP32-P4 GPIO4, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| GPIO | BUS1.21. ESP32-P4 GPIO2, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| GPIO | BUS1.22. ESP32-P4 GPIO48, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| GPIO | BUS1.23. ESP32-P4 GPIO47, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| Control | BUS1.24. BOOT_GPIO35. The Tab5 power/boot circuit also drives this ESP32-P4 strapping signal. | |
| Power | BUS1.25. SYS_VIN feeds the MP4560 buck stage. This is the high-voltage input. | |
| GPIO | BUS1.26. STD_GPIO51 reaches a dedicated TVS diode on the circuit schematic. | |
| Power | BUS1.27. SYS_VIN feeds the MP4560 buck stage. This is the high-voltage input. | |
| Power | BUS1.28. SYS_EXT5VO, shared by BUS1.28, J9.5 and J11.2. E1.P2 controls EXT5V_EN. | |
| Power | BUS1.29. SYS_VIN feeds the MP4560 buck stage. This is the high-voltage input. | |
| Power | BUS1.30. Regulated module battery-emulation output from U22. Separate from the removable 2S battery contacts. | |
| GND | J9.1. Board ground and signal return. | |
| Power | J9.2. SYS_VIN feeds the MP4560 buck stage. This is the high-voltage input. | |
| GND | J9.3. Board ground and signal return. | |
| GND | J9.4. Board ground and signal return. | |
| Power | J9.5. SYS_EXT5VO, shared by BUS1.28, J9.5 and J11.2. E1.P2 controls EXT5V_EN. | |
| Power | J9.6. Shared 3.3 V board supply referenced by the ESP32-P4 GPIOs. | |
| GPIO | J9.7. ESP32-P4 GPIO0, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| GPIO | J9.8. ESP32-P4 GPIO1, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| GPIO | J9.9. ESP32-P4 GPIO49, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| GPIO | J9.10. ESP32-P4 GPIO50, 3.3 V digital I/O. Use the ESP32-P4 GPIO matrix to configure the signal in firmware. | |
| GND | J7.1. Board ground and signal return. | |
| Power | J7.2. SYS_VIN feeds the MP4560 buck stage. This is the high-voltage input. | |
| RS485 | J7.3. A line of the RS-485 transceiver. GPIO20 TX, GPIO21 RX and GPIO34 DIR are on the logic side. | |
| RS485 | J7.4. B line of the RS-485 transceiver. The adjacent 485-SW connects 120 Ω across A and B in the ON position. | |
| I2C | J7.5. Shared internal I²C data. It also reaches the onboard I²C peripherals and the reserved Stamp pads. | |
| I2C | J7.6. Shared internal I²C clock. It also reaches the onboard I²C peripherals and the reserved Stamp pads. | |
| GND | J11.1. Board ground and signal return. | |
| Power | J11.2. SYS_EXT5VO, shared by BUS1.28, J9.5 and J11.2. E1.P2 controls EXT5V_EN. | |
| I2C | J11.3. GPIO53 is SDA on the external I²C bus configured by M5Unified and the Tab5 BSP. Yellow wire. | |
| I2C | J11.4. GPIO54 is SCL on the external I²C bus configured by M5Unified and the Tab5 BSP. White wire. | |
| Power | J6.1. 5 V USB input. J6 shares this path with the USB-C receptacle. | |
| GND | J6.2. Board ground and signal return. | |
| USB | J6.3. Native USB device data minus, shared with the USB-C path. | |
| USB | J6.4. Native USB device data plus, shared with the USB-C path. |
References
Manufacturer references and technical documentation.
| Chip | Role | Manufacturer | Notes | Link |
|---|---|---|---|---|
Tab5 | Product documentation | M5Stack | C145/K145 bundle contents, expansion, photographs and screen revision history. | Datasheet |
Tab5 | Board schematic | M5Stack | Sheet 4 shows BUS1, J9, J7, J11 and J6. Sheet 5 covers their power rails. | Datasheet |
Tab5 | Mechanical drawing | M5Stack | Case dimensions, connector openings and mechanical orientation. | Datasheet |
Tab5 | Enclosure CAD | M5Stack | Mechanical geometry and cutouts. | Datasheet |
BMI270 | Axis orientation | M5Stack | Axes shown with the LCD facing up. | Datasheet |
M5Unified | I²C assignments | M5Stack | Internal SDA/SCL on GPIO31/32 and Port A SDA/SCL on GPIO53/54. | Datasheet |