Linked Questions

2 votes
1 answer
4k views

Is it safe to connect a 3.3v fan to gpio instead of power? [duplicate]

I have a Raspberry Pi 4B and a fan. According to the instructions paper of the fan, it should be connected to a ground and a 3.3V power , or a ground and a 5V power. So I've used the former setup ...
ynn's user avatar
  • 141
0 votes
4 answers
2k views

Control fan to lower temperatur via script [duplicate]

I have a raspberry pi 4 and a small fan in the case. I know that the pi can run without a fan but I already have one installed so why not using it. The problem is, that this small fan does make a ...
sirzento's user avatar
  • 221
19 votes
10 answers
109k views

How much temperature is normal temperature for Raspberry Pi 4

I am running a haarcascade based face detection and face recognition on Raspberry Pi 4. The CPU temperature rises to 83-84C. So I have installed a heat sink and 5v pi fan. After installing this, I ...
S Andrew's user avatar
  • 480
5 votes
5 answers
10k views

How do I control GPIO-connected fan via code at a certain CPU temperature?

I have just bought a 5v Pi fan for my Pi3. I'm using Retropie 4.1 for the OS. I have connected the red and black wires of the fan to ground and GPIO 18 respectively. How can I get the fan to start ...
Peter Swiggs's user avatar
5 votes
4 answers
11k views

Can I control a 4-pin fan with a Raspberry Pi without adding more circuitry?

I'm interested in adding a fan to my Raspberry Pi 4, but I would like to be able to control when it is on/off programatically. However, what I see is that most of the fans suitable for Raspberry Pi ...
terett's user avatar
  • 159
7 votes
2 answers
20k views

How to turn power off on 5V dc gpio pin with python

I was wondering if there was a way that i could turn the power on and off on the 5V gpio pins with a python script. I am powering a fan with the 5V gpio and was hoping to do something where the fan ...
WavePhaser's user avatar
0 votes
4 answers
20k views

Fan control GPIO settings

I have several Raspberry Pi 4 with a case that includes a fan. I connected the red cable to 5v Power(Physical/Board pin 4) and the black cable to GPIO 14 (Physical/Board pin 8). I setup raspi-config ...
nyitguy's user avatar
  • 213
2 votes
2 answers
5k views

Controlling fan of the LABISTS Raspberry Pi4

I'm a new Raspberry Pi 4 user. I have bought the Labists Kit which includes 3 heatsinks and a fan. As far as I understand the fan is connected directly two the GPIO pins (see for example this video ...
Bakuriu's user avatar
  • 121
1 vote
4 answers
4k views

Using single 5V relay module (jqc-3ff-s-z) - Asking for help

I have a developer background missing the electronics background. I read some threads with great interest: Using single 5V relay (jqc-3ff-s-z) - safety advice required and 5V relay (jqc-3ff-s-z) I ...
GuyH's user avatar
  • 21
2 votes
4 answers
3k views

Using GPIO PWM with sysfs

I'm able to write to GPIO pins with sysfs with the standard commands like echo "1" > /sys/class/gpio/gpio6/value, but that only turns the pin on or off. I tried echo "0.5" > /...
Synetech's user avatar
  • 131
0 votes
2 answers
4k views

is it possible to control the Fan from GPIO?

am a programmer with no hardware knowledge background and defently no physics background. I have a RPi4B and bought a fan bundled with its heatsink. I realized the fan is basic and has 2 female pins ...
Amine Tbaik's user avatar
0 votes
2 answers
3k views

Lower temperature for GPIO fan turning on

raspi-config P4 only allows temperatures above 60, but I prefer being able to touch my pi before the fan turns on. Is there a way to ignore this limit and set the temperature to a lower value?
pythonian 23's user avatar
3 votes
1 answer
579 views

Is it possible to control the 5V supply (e.g. pin 4) via python?

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 ...
Mike's user avatar
  • 45
4 votes
1 answer
663 views

GPIO stuck high after shutdown/halt

I'm new to the world of Raspberry Pi, I'm setting one up as a little PC for a kid. I have a RPi 4 running Raspberry Pi OS, and I've build a case around this heatsink. I have created a simple circuit ...
shane-pi's user avatar
2 votes
1 answer
764 views

Model 4B Running Hot

Here is my hardware/software setup: Model 4B with 4GB of RAM. Official 5V power supply (North American socket) Official case with provided heatsinks Ubuntu 20.04 (Most recent LTS, came out April 2020)...
Brian Tracy's user avatar

15 30 50 per page