Tue May 16, 2017 12:14 pm
komarek wrote:hi
i've made a script to control a fan on the case of my Raspberry Pi 3 model B.
when temperature goes over 46.C the fan turns ON... but unfortunately at the same time the Red Power led of the device turns off as well and i don't think it's a good thing at all.
i am controlling the fan through a MOSFET. (IRFZ44N) set on the gpio 4 which acts like a switch. The fan is then connected to the 5v pin.
what do you think about this issue?
thanks
How much current does the fan require? It's possible that it's too much to be supplied directly through the Pi and the PoWeR led is turning off as (one of) the low voltage warnings. What devices do you have plugged in to the USB ports? Is the total current for those, plus the fan, close to the 1200mA limit?
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm