M5Stack U213

Contents

M5Stack Unit PoE-P4 User Manual

Model: U213 | Brand: M5Stack

1. Introduction

The M5Stack Unit PoE-P4 is a high-performance Power over Ethernet (PoE) Ethernet embedded controller. It is powered by the ESP32-P4 System-on-Chip (SoC), featuring a RISC-V 32-bit dual-core processor running up to 360MHz and a single-core low-power CPU up to 40MHz. This unit integrates 16MB Flash and 32MB PSRAM for robust application development.

It includes a built-in IP101GRI Ethernet PHY, supporting 10/100 Mbps communication, and offers PoE power delivery with a maximum output of 6W. An onboard DC-DC converter efficiently supplies system power, simplifying wiring for various applications. The Unit PoE-P4 is ideal for Industrial HMI, PoE smart terminals, vision acquisition nodes, smart home controllers, and edge computing devices.

M5Stack Unit PoE-P4 main diagram showing ports and features
Figure 1: M5Stack Unit PoE-P4 Overview Diagram

2. Package Contents

Your M5Stack Unit PoE-P4 package should contain the following items:

  • 1x M5Stack Unit PoE-P4 Module
  • Other accessories (e.g., cables, connectors) may be included depending on the specific product package.
M5Stack Unit PoE-P4 product packaging
Figure 2: M5Stack Unit PoE-P4 Product Packaging

3. Specifications

FeatureDescription
Main ControllerESP32-P4 SoC (RISC-V 32-bit dual-core @360MHz + LP single-core @40MHz)
Flash Memory16MB
PSRAM32MB
EthernetIP101GRI 10/100 Mbps PHY
Power InputPoE (Power Over Ethernet) with max 6W output, Onboard DC-DC converter
Camera Interface1x 24P FPC (MIPI CSI 2-Lane)
Display Interface1x 24P FPC (MIPI DSI 2-Lane + TP + BL)
USB Host1x USB Type-C Host (USB 2.0)
USB OTG/Download1x USB Type-C (USB 2.0)
Expansion InterfacesHat expansion interface, SDIO & ISP IO expansion interfaces, Grove interface (HY2.0-4P)
Human-Machine Interaction1x RGB LED Indicator, 1x User Button, 1x Infrared Transmitter
Dimensions (L x W x H)64mm x 24mm x 20.2mm (2.51in x 0.94in x 0.79in)
Weight28.2g
M5Stack Unit PoE-P4 with dimensions 64mm, 24mm, 20.2mm
Figure 3: M5Stack Unit PoE-P4 Dimensions
M5Stack Unit PoE-P4 on a digital scale showing 28.2g
Figure 4: M5Stack Unit PoE-P4 Weight

4. Hardware Overview

The Unit PoE-P4 features a variety of interfaces and components for versatile applications:

  • ESP32-P4 Controller: The core processing unit.
  • IP101GRI Ethernet Transceiver: Provides 10/100 Mbps Ethernet connectivity.
  • Power Over Ethernet (PoE): Allows power and data transmission over a single Ethernet cable, up to 6W.
  • USB 2.0 Host: For connecting USB peripherals like U disks or HID devices.
  • USB-C (Prog & OTG): Used for firmware download, debugging, and On-The-Go (OTG) functionality.
  • RGB LED: A programmable indicator LED for status feedback.
  • Programmable Button (UserKEY): A user-configurable button, also used to enter BOOT mode by long-pressing.
  • IR TX (G14): Infrared transmitter for remote control or communication.
  • HY2.0-4P Expansion Interface: A Grove-compatible interface for connecting various sensors and modules.
  • 2.54-16P Hat Expansion Bus: A newly upgraded expansion bus (2x8 Pin @2.54mm) that unlocks more I/Os and expansion possibilities, compatible with legacy Hat expansions.
  • MIPI CSI (FPC 0.5mm 24P): Camera Serial Interface for high-resolution image capture.
  • MIPI DSI (FPC 0.5mm 24P): Display Serial Interface for high-resolution display output, including Touch Panel (TP) and Backlight (BL) control.
  • SDIO Bus (@ 2.54-9P): Serial Data Input/Output bus for high-speed data transfer.
  • ISP Bus (@ 2.54-6P): In-System Programming bus.
Internal view of M5Stack Unit PoE-P4 highlighting ESP32-P4, peripheral and expansion interfaces
Figure 5: Internal Components and Interfaces
Video 1: M5Stack Unit PoE-P4 Product Overview. This video demonstrates the key features, ports, and expansion capabilities of the Unit PoE-P4, including its web control interface.

5. Initial Setup

5.1 Powering the Device

The Unit PoE-P4 can be powered via Power over Ethernet (PoE) through its RJ45 port or via the USB-C port. When using PoE, ensure your Ethernet switch or injector provides compliant PoE power.

5.2 Connecting to a Computer

To program or debug the device, connect the Unit PoE-P4 to your computer using a USB-C cable via the USB-C (Prog & OTG) port.

5.3 Development Environment Setup (Arduino IDE)

For programming the ESP32-P4, the Arduino IDE is a recommended environment. You will need to install the ESP32-P4 board support package. Refer to the official M5Stack documentation or the specific Arduino IDE tutorial for Unit PoE-P4 for detailed installation and programming instructions.

6. Operating Instructions

6.1 Basic Operation

Once powered, the device will execute the loaded firmware. The RGB LED can indicate device status as programmed. The user button can be used for local interaction or to enter BOOT mode (long press) for firmware updates.

6.2 Integrated Web Control Interface

The Unit PoE-P4 supports an integrated web control interface for easy management and monitoring. Within the same Local Area Network (LAN), you can access the control page via a web browser by navigating to http://poe-p4.local or by entering the device's assigned IP address.

The web interface typically provides functionalities such as:

  • RGB LED color control
  • Button press count statistics
  • GPIO mode switching (input/output)
  • High/low level control for GPIOs

7. Expansion Interfaces

The Unit PoE-P4 offers rich expansion capabilities:

  • MIPI CSI (FPC 0.5mm 24P): Connect compatible camera modules for vision applications.
  • MIPI DSI (FPC 0.5mm 24P): Connect compatible display modules for visual output.
  • USB Type-C Host: Expand functionality with standard USB peripherals.
  • Hat Expansion Bus (2.54-16P): Utilize M5Stack's Hat modules for additional sensors, actuators, or communication interfaces.
  • SDIO Bus & ISP Bus: Advanced interfaces for specific high-speed data or programming needs.
  • HY2.0-4P (Grove) Interface: Easily integrate with the vast ecosystem of Grove modules.
Examples of M5Stack Unit PoE-P4 applications including vision acquisition, smart home, PoE terminals, and edge computing
Figure 6: Example Applications of Unit PoE-P4

8. User Tips

  • Always ensure all physical connections (Ethernet, USB, expansion modules) are secure before powering on the device to prevent damage.
  • When developing, frequently save your code and test in small increments to simplify debugging.
  • Utilize the web control interface for quick diagnostics and monitoring of GPIO states and button presses.

9. Maintenance

  • Cleaning: Use a soft, dry cloth to clean the device. Avoid using liquids or abrasive cleaners.
  • Storage: Store the device in a cool, dry environment away from direct sunlight, extreme temperatures, and humidity.
  • Handling: Handle the device with care to avoid physical damage to connectors or components. Avoid static discharge.

10. Troubleshooting

  • Device not powering on: Check the power source. If using PoE, ensure the Ethernet cable is connected to a PoE-enabled port or injector. If using USB-C, ensure the cable and power adapter are functional.
  • Unable to upload firmware: Ensure the device is in BOOT mode (long-press the user button while connecting USB-C or resetting). Verify that the correct board and port are selected in your IDE.
  • No network connectivity: Check the Ethernet cable connection. Verify your network configuration and ensure the device's IP address is correct or that poe-p4.local is resolvable on your network.
  • Expansion module not working: Ensure the module is correctly connected to the appropriate interface. Verify that the firmware supports the specific expansion module.
  • RGB LED not lighting up: Check your code to ensure the RGB LED is being initialized and controlled correctly.

11. Warranty and Support

For detailed warranty information, technical support, and additional resources, please refer to the official M5Stack website or contact their customer service.

A comprehensive user manual in PDF format is available for download: M5Stack Unit PoE-P4 User Manual (PDF).

You can also find tutorials and community support on the M5Stack official website: www.m5stack.com.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.