Zum Inhalt springen

WSAL18014 – PoE HAT (B)/en

Aus JW Tech Wiki

Documentation notice: This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.

Summary

The PoE HAT (B) is a Power-over-Ethernet module for Raspberry Pi 3B+/4B. It powers and connects the Pi over a single network cable using the 802.3af standard.

Related products at JW Tech

Technical overview

  • Compatible with Raspberry Pi 3B+ and 4B
  • PoE input voltage: 37 V to 57 V DC
  • Output voltage: 5 V / 2.5 A
  • OLED display: 0.91 inch, resolution 128×32, driver chip SSD1306
  • I/O expansion via I2C using a PCF8574 chip (8 outputs)
  • Board dimensions: 65.0 × 56.5 mm; height approx. 27.5 mm
  • Integrated fan with switch; temperature readout on the OLED

Commands and examples – verify before use: 

sudo raspi-config
sudo reboot
sudo apt-get install wiringpi
wget https://files.waveshare.com/wiki/PoE_HAT_B/PoE_HAT_B_code.zip
unzip -o PoE_HAT_B_code.zip -d ./PoE_HAT_B_code
sudo chmod 777 -R PoE_HAT_B_code
make clean && make
sudo ./main
sudo python main.py
sudo nano /etc/systemd/system/POE_OLED_Python_Service.service
sudo systemctl start POE_OLED_Python_Service.service
sudo systemctl enable POE_OLED_Python_Service.service
sudo nano /etc/rc.local

Notes and version constraints

  • The source contains template placeholders ({{{name2}}} etc.), which were ignored.
  • Some steps are version-sensitive: On Bullseye/Bookworm only certain libraries are available (e.g., only lgpio).
  • The Python interpreter path in the service file must be confirmed with “which python3.”
  • For older systems, rc.local is used; the command must run with & or boot may hang.
  • Third-party programs are not maintained by Waveshare; test the demo first to rule out hardware issues.

Source and revision record

  • PoE HAT (B) - Waveshare Wiki
  • Source revision: 107144
  • Captured: 2026-09-01T02:55:37+00:00
  • SHA-256: 471504a36d74f53ea296b623b28352f991b684fecd20804599ebf35071eccb60