-1

I was wondering if it is possible to directly control the case fan included with some of the Raspberry Pis. Lots of posts tell you how to turn it on or off when the Raspberry Pi gets to a certain temperature, but I want to use it for other purposes.

Is there a way to turn the 2 pin GPIO fan on or off depending on the time for example?

2
  • Try this link and see if it is close. reddit.com/r/raspberry_pi/comments/2nc4z5/… You will need some code, a sensor, and a driver for your fan. Post a schematic of how you will connect it showing all connections power, ground and power supplies.
    – Gil
    Commented Oct 19, 2022 at 2:46
  • 1
    How could we know? What fan?
    – joan
    Commented Oct 19, 2022 at 10:51

1 Answer 1

0

That will depend entirely upon how the fan is wired, and what type of fan it is. Since you didn't provide these details, the only answer you can get is something like this:

Assuming your fan is powered from the 3.3V bus, and its current is limited to a "safe value", the answer to your question is clearly, "Yes". WRT wiring your fan, another answer here contains a schematic that may be useful.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.