DirkS wrote: ↑
Sun Jul 22, 2018 7:36 am
nes_pi wrote: ↑
Sun Jul 22, 2018 7:01 am
One thing I noticed is the default pin is 18 but pin 18 is not hooked up. I tried pin 12 too and still nothing happened. I am using a pi 3b+.
Had a quick look at the code and it seems to use BCM numbering. So that should be GPIO18, physical pin 12
The code seems to switch on / off the fan depending on CPU temperature.
Are you sure it is high enough to trigger it?
See https://github.com/KyleRoss/rpi-fan-con ... #cli-usage
for command line arguments.
BTW: I don't think you need to use sudo, ty running the script without it
I appreciate your reply and looking into this very much, DirkS.
My Pi 3B+ gets to 55-56 degrees and stays there by the time i'm done booting into Raspbian, so i fire up the fan controller and it says it's going to turn on the fan but the fan never starts moving. I think i should double-check my hardware work.
I've also found someone claiming on Stackexchange that in most of these pi fan examples, the guides have the transistor facing backwards thus not making a useful circuit. I will have to double check this as well
Hello and welcome. Note that circuit has a major drawback: the transistor on the high-side (near + voltage with respect to the load) is not a useful circuit with an NPN transistor. It is unfortunately somewhat viral and often-posted but still wrong. Connect the emitter (the arrow) to ground and put the load (fan) between collector and +5V. See raspberrypi.stackexchange.com/a/28201/19949 – Ghanima♦ Aug 5 '17 at 10:53