Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fan Control PWM issues #810

Closed
3 tasks
rlsgit opened this issue Mar 24, 2020 · 3 comments
Closed
3 tasks

Fan Control PWM issues #810

rlsgit opened this issue Mar 24, 2020 · 3 comments

Comments

@rlsgit
Copy link

rlsgit commented Mar 24, 2020

  1. Stratux version: v1.6r1

  2. Stratux config:

    SDR

    • single
    • [X ] dual

    GPS

    • [ X] yes
    • no
      type:

    AHRS

    • [ X] yes
    • no

    power source:

    usb cable:

  3. EFB app and version: (e.g., WingX Pro7 8.6.2)

    EFB platform: (e.g., iOS 9.2)

    EFB hardware: (e.g., iPad Mini 2)

  4. Description of your issue:

Fan control may not like certain fans. I have tested mine (Easycargo cooler kit from amazon) and it doesnt like low PWM values. Looks like min of 5-7 for spin.

Can we add a config file to fan control for simple on (10) off (0) control of fan?

I will work on the code now, but may be easier for a current dev.

@VirusPilot
Copy link

A while ago I did exactly what you described, see attached fancontrol.go (for uploading I had to rename it to fancontrol.txt). It switches the fan to 100% above 50 degrees, and off below 45. You can certainly modify this according to you own needs.

fancontrol.txt

@rlsgit
Copy link
Author

rlsgit commented Mar 25, 2020

i just did that as well, though simply set the pwmminduty to 8.

I may make it more configurable. and submit as a proposed enhancement...

I've found building stratux to be hit or miss...the dependencies arent very obvious.

@cyoung
Copy link
Owner

cyoung commented Aug 19, 2020

  1. If the fan doesn't spin up at a low PWM level, all else held equal, the temperature will continue to be above the setpoint (50ºC).
  2. If the temperature is above the setpoint, the PWM level is increased gradually until it reaches "full on".
  3. If the failsafe temperature (65ºC) is ever reached, the fan is turned on 100% and fancontrol stops attempting to control the fan using PWM.

These things together mean that the fan will eventually spin up. If the fan doesn't respond well to low duty PWM, then it just will take more time to spin up.

@cyoung cyoung closed this as completed Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants