37-57V (IEEE 802.3af POE standard)
37-57V (IEEE 802.3af POE standard)
5V
Up to 2.5A
Up to 95%
0C to 50C
65mm x 56.5mm x 12mm
Certifications and Compliance
IEEE 802.3af POE compliant
CE and FCC certified
Warranty and Support
The Raspberry Pi POE HAT is backed by a one-year limited warranty and dedicated technical support from the manufacturer.
Documentation and Resources
For more information, including datasheets, user manuals, and technical guides, please visit the manufacturer's website or consult with the Raspberry Pi documentation repository.
By providing a convenient and reliable power solution, the Raspberry Pi POE HAT is an excellent addition to any IoT project or application that requires a robust and efficient power supply.
Raspberry Pi POE HAT Documentation
Overview
The Raspberry Pi POE (Power over Ethernet) HAT is a peripheral module designed for Raspberry Pi single-board computers. It enables the Raspberry Pi to receive power and data over a single Ethernet cable, eliminating the need for a separate power supply. This HAT is compatible with Raspberry Pi 3, 3+, 4, and 400 models.
Features
IEEE 802.3af compliant
Supports up to 2.5W of power
Isolated switching regulator for stable power supply
Short-circuit and over-voltage protection
Compatible with Raspberry Pi 3, 3+, 4, and 400 models
Connecting the POE HAT
To use the POE HAT, simply attach it to the Raspberry Pi's 40-pin GPIO header. Make sure to align the pins carefully to avoid damage.
Example 1: Using the POE HAT with Raspberry Pi OS
In this example, we will demonstrate how to use the POE HAT with the Raspberry Pi OS to power the Raspberry Pi over Ethernet.
Hardware Requirements
Raspberry Pi (3, 3+, 4, or 400 model)
POE HAT
Ethernet cable
POE-enabled network switch or injector
Software Requirements
Raspberry Pi OS (latest version)
Steps
1. Connect the POE HAT to the Raspberry Pi's 40-pin GPIO header.
2. Connect the Ethernet cable to the POE HAT and the other end to a POE-enabled network switch or injector.
3. Power on the Raspberry Pi.
4. The Raspberry Pi will receive power over Ethernet, and the OS will boot up normally.
Example 2: Using the POE HAT with Python to Monitor Power Status
In this example, we will use Python to monitor the power status of the POE HAT.
Hardware Requirements
Raspberry Pi (3, 3+, 4, or 400 model)
POE HAT
Ethernet cable
POE-enabled network switch or injector
Software Requirements
Raspberry Pi OS (latest version)
Python 3.x (pre-installed on Raspberry Pi OS)
Python Code
```python
import os
import subprocess
# Get the power status of the POE HAT
power_status = subprocess.check_output(["cat", "/sys/class/net/eth0/power/poemode"])
# Print the power status
if power_status.decode("utf-8").strip() == "2":
print("POE power mode: Enabled")
else:
print("POE power mode: Disabled")
```
Explanation
In this example, we use the `subprocess` module to execute the `cat` command to read the `/sys/class/net/eth0/power/poemode` file, which indicates the power status of the POE HAT. The `poemode` file contains a value of `2` when the POE power mode is enabled, and `1` when it's disabled. We then print the power status to the console.
Note: Make sure to run the Python script with root privileges using `sudo` to access the system files.
These examples demonstrate the basic usage of the Raspberry Pi POE HAT. You can explore more advanced applications, such as using the POE HAT with IoT projects, remote monitoring, and automation, by leveraging the Raspberry Pi's GPIO pins and Python programming.