PWM fan connector:
RockPro64 "PWM controlled fan header":
What do?
RockPro64 "PWM controlled fan header":
What do?
How do you connect PWM fan (3/4 pins) to this board (2 pin fan connector)?
|
PWM fan connector:
RockPro64 "PWM controlled fan header": What do?
10-12-2020, 11:56 AM
10-14-2020, 01:34 PM
11-19-2020, 04:35 PM
Hello Aleksei,
Your fan has non-standard pin colors, so I am not completely sure whether this answer applies. But assuming, this fan complies to the popular specifications (e.g. here or here), you have rather bad luck with ROCKPro64. The standard 4-wire PWM fan requires 5 Volt PWM signal with frequency between 21 kHz and 28 kHz. The PWM signal at connector J8 is designed for direct driving a 2-wire fan. It has 12 volt and low frequency (in the standard Linux kernels). The signal is generated from PWM_1 (GPIO4C6), so it is easy to change its frequency by accessing the registers directly. But I do not understand the circuit, which converts the GPIO signal to 12 volt. So I am not sure if it can run well with frequency beyond 21 kHz. Also you would need to convert it down to 5 volts, what makes such solution somehow offending. First shift from 3 V to 12 V, and then back to 5V... I have asked once in this forum, if it is possible to obtain this signal before it is shifted up (https://forum.pine64.org/showthread.php?tid=7877), but no answers. Thus, when I hit this problem, I have implemented fan control in a separate Arduino PRO Mini board, which communicates with ROCKPro64 through UART. The Arduino uses very little power and allows me to read additional temperature sensor, which I placed in the housing box. Sorry for not knowing a better solution for you. Best regards, Gienek. |