Jump to content
  • 0

Orange Pi PC: Fan on GPIO


SHA_ndy
 Share

Question

Hi all,

 

I'm not very familiar with linux scripting especially for controlling GPIO on Orange Pi. So my question is: is it possible to connect a fan to a GPIO port that is activated when temperature goes above a given value? Does anyone have a script for that or can suggest how to get it done?

I have a plastic housing for the board and a fan attached to it that is constantly running. But for 95% of the time I don't have load on the pi and don't need the fan...

 

 

Thanks in advance

Link to comment
Share on other sites

Recommended Posts

When discussing a problem make sure to provide full logs!

  • 0

How to check?

Please guide

 

A quick way might be by doing a

    uname -a

 

If it shows something like 3.4.112 then you probably have an armbian kernel. If the version is lower (like 3.4.39) you probably have the xunlong version.

Link to comment
Share on other sites

  • 0

Hello. I'm trying to cool my OPIzero with a 0.20a 5 v fan, but it doesn't work when connected directly to the gnd and +5 v pins(doesn't boot). I don't want to dabble with controlling the fan, so i ask if someone can guide me to the simpler capacitor and diode solution. Thank you in advance.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...