rpi-fan-controller icon indicating copy to clipboard operation
rpi-fan-controller copied to clipboard

Feature Request: Different Speed of the Fan

Open miki3421 opened this issue 5 years ago • 2 comments

Hi, @KyleRoss

I've successfully deployed your solution on the last version of the Raspberry Pi4. I would like to know if are you planning to add different speed of the fan based on the temperatures reading. Correct if I'm wrong but for the moment is working only on/off Thanks for this very nice project. Michele

miki3421 avatar Feb 17 '21 14:02 miki3421

@miki3421 Glad to hear you have it deployed and working :)

When I built this, I was looking for a simple solution to add a software-controlled fan to my RPi and to only have that fan be utilized when needed (ex. temperatures reach a certain level). The best way to have a speed-controlled fan is by using a 4-pin PWM fan and allows fine-grained control of the fan speed although it can be done with a 2 or 3-pin fan using a resistor and diode.

I currently don't have the hardware needed to build either one, but it may be something I'd be interested in doing in the future. Until then, if anyone wants to help out and submit a PR, that would be great! If anyone builds out the hardware or is willing to donate the hardware, I'd be glad to write up the code and have someone test it.

KyleRoss avatar Feb 17 '21 15:02 KyleRoss

Thanks for your response,

Just for your information, I had success just to add this very cheap component to your schema.

https://www.amazon.it/gp/product/B075QD884C/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

reading the PIN 18

I was using the PY script but it's to heavy in term of cpu load. If you add this component you can control fan with PWM or no in the PY script they are managing different RPM based on the temp.

just for info

Il giorno mer 17 feb 2021 alle ore 16:05 Kyle Ross [email protected] ha scritto:

@miki3421 https://github.com/miki3421 Glad to hear you have it deployed and working :)

When I built this, I was looking for a simple solution to add a software-controlled fan to my RPi and to only have that fan be utilized when needed (ex. temperatures reach a certain level). The best way to have a speed-controlled fan is by using a 4-pin PWM fan and allows fine-grained control of the fan speed although it can be done with a 2 or 3-pin fan using a resistor and diode.

I currently don't have the hardware needed to build either one, but it may be something I'd be interested in doing in the future. Until then, if anyone wants to help out and submit a PR, that would be great! If anyone builds out the hardware or is willing to donate the hardware, I'd be glad to write up the code and have someone test it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KyleRoss/rpi-fan-controller/issues/5#issuecomment-780617988, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKFA25RZOZ553M3HBZV2WDDS7PLKLANCNFSM4XYOIWSQ .

miki3421 avatar Feb 17 '21 15:02 miki3421