3

I want to (de)activate a fan, which is connected to the pins 4 and 6, depending on the temperature of the CPU.

Is it possible to (de)activate Pin 4 (or Pin 2) at the Raspberry Pi 4 via python? I have already read this article: How to turn power off on 5V dc gpio pin with python, but is there another way just via python, without using a transistor?

Mike
  • 45
  • 4

1 Answers1

5

No.

Pin 6 is connected to the Pi's ground rail.

Pins 2 and 4 are connected to the Pi's 5V rail.

joan
  • 71,024
  • 5
  • 73
  • 106