PWM Question - Connecting A PWM EC Fan To My Raspberry Pi 4 B

I thought I’d share the following for 6233114 and anyone else who is wondering how to wire up the Type C connectors (on at least VIVOSUN and likely the AC Infinity EC fans) to Kyle’s Terrabloom fan boards instead of the TRRS socket.

I got a VIVOSUN AeroWave E6 EC fan which uses the Type C USB (“SGS”) cable and their “Type C to MOLEX & AUX Adapter Dongle” to sort this out. I’ve attached photos showing wiring from Kyle’s board which is designed for the TRRS plug (not using this connector) wired to a female USB C breakout board I had around.

Kyle’s board to Type C breakout board
GND → GND
10V → VBUS
PWM → D+
TACH → D-

I also show the Molex wiring scheme I figured out as well for the “VIVOSUN SGS Convertor. They state this dongle also works for AC Infinity fans which implies the USB wiring scheme is the same. *This adapter only passes 3 wires through the Type C connector (10v, GND, and PWM) for the Molex and the one I got from Amazon only passes GND and PWM through the 3.5 mm AUX socket so it is useless (assuming a defective dongle). It’s a shame neither of these companies document this and only want to sell you their controllers.

Note: The Vivosun E6 fan is not designed to use the fourth “Tach” wire as Terrabloom fans do, so no feedback signal is sent. I don’t know if their bigger fans, or any of the AC Infinity fans have this feature - if anyone knows which fans do (other brands as well), please let me know as I think this feedback is important and I’ll be needing larger fans soon.

As for actually using the PWM output in Mycodo, I’m still unsure of how to determine the best/proper frequency setting in the PWM Output Configuration but, for my little fan, I’m finding 250 Hertz gives me the widest range of usable Duty Cycle (18-97%).

Regards, Bill

P.S. Matt, I replied a few times to your PM and never heard back. Perhaps emails are in your junk folder…


1 Like