HAT & pHAT 3.0 Instructions

Usage Note:

HAT vs pHAT: HATs are for full size A & B format Pis (3, 4, 5); while pHATs are for the Pi Zero's (preferably the Zero 2). Matching the size is important so that the plug edge can be stabilized to prevent short circuits on the Molex plugs. Failure to stabilize and leading to short circuits may destroy the controller on your generator.

I saw this video where a guy powered it without a power cable, I want to do that. That is no longer supported. Supporting that required connections that if misused could damage the generator and it's roughly $2000 to replace the Evolution 2 controller and I expect similar for other controllers.

Story 1: A customer emailed us stating ignored all the big warnings and ended up frying their Evolution 2 controller.

Story 2: Another customer said "I thought I was supposed to plug the controller into the GenMon port and the Pi running GenMon into the Generator port.". They fried their Evolution controller.

Story 3: Another customer said "I didn't read the instructions and hooked it up this way (they sent a picture) and now the generator doesn't work at all." They fried their Evolution 2 controller.

We had put fuses everywhere we could to try to protect, but we went as far as we could without removing the features and it was still possible to abuse, so we have to remove the feature to prevent the ability to abuse it. On the bright side, stripping out all the functionality that is frequently not used or can be provided in other ways has cut the cost in half and made the HAT/pHAT be responsible for only serial and optionally a fan.

Boards:

HAT version 3.0 pHAT version 3.0
  1. Molex plug that goes to the generator.
  2. Molex plug that a RS-485 MobileLink can be plugged into for a passthrough connection if you want to use both. The RS-485 and power pins flow from one Molex to the other.
  3. The isolation line - the circuitry from the generator and the circuitry for the HAT/pHAT are isolated at this line. The v3.1 pHAT doesn't have the line drawn on the circuit board, but the functionality is present and the line will be added on subsequent versions.
  4. HAT only - mounting point for a 5v 30mm fan. The screws that come with the HAT are for 7mm thick fans and are M2.5 screws. You can use a taller fan if you source taller screws.
  5. HAT only - fan connector. The middle pin is always 5v, the bottom pin is a ground connection switched on GPIO 09 and can be controlled by the Pi OS. The top pin is tied to GPIO 13 and can be used with a PWM controlled fan, we do not have scripts for this and the pin was included at the request of a few customers.

GPIO Usage:

Physical Install:

Configuration and Testing:

Fan (HAT only)

If you install a fan on the HAT, the Pi must drive GPIO 9 to switch the fan ground on and off (see the board list above). Until software enables that GPIO as a cooling control, the fan will not run.

Option 1 — raspi-config (when available): On some Raspberry Pi OS builds you can open sudo raspi-config, go to Performance Options, choose Fan (or similar), enable the fan, and set the GPIO to 9 if the tool asks for a pin. Not every Pi model or OS image exposes this menu; if you do not see a fan option, use Option 2.

Option 2 — Device Tree overlay in config.txt: Add a line so the kernel treats GPIO 9 as a temperature-controlled fan output. Edit the boot configuration file (on Raspberry Pi OS Bookworm and later this is usually /boot/firmware/config.txt; on older images it may be /boot/config.txt), and add:

dtoverlay=gpio-fan,gpiopin=9,temp=60000

temp is the CPU temperature in millidegrees Celsius at which the fan turns on (60000 = 60°C). Adjust the value if you want the fan to start at a higher temperature. Save the file, then reboot: sudo reboot. Raspberry Pi OS will not honor values below 60°C.

PWM note: GPIO 13 is available on the fan header for PWM-capable fans; we do not provide scripts for that path. The gpio-fan overlay above is for simple on/off control via GPIO 9, which matches how this HAT switches the fan ground.