Linked Questions

0 votes
4 answers
21k 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 ...
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 ...
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" > /...
3 votes
2 answers
111 views

Where to make electronic connections diagrams

I'm making a little project with a raspberry pi zero, for documentation purposes I'd like to add some connection diagrams/representations, my main purpose is to have an easy reference to see pin ...
19 votes
10 answers
112k 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 ...
-1 votes
1 answer
499 views

turn a fan off when a power switch is toggled

I have added a power switch to turn on/off my raspberry pi 4. When I use this switch the fan connected still remains on. How would I add something to my script when the switch is toggled to turn off ...
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?
-2 votes
3 answers
197 views

gpio pin set to output 1 but no current flowing through the fan

I have 2 RPi-4. I've been using a fan inside a case that is designed by Canakit to be used with RPi-4. I've been using the fan for a few weeks by connecting it to constant 5V and ground. Everything ...
0 votes
2 answers
5k 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 ...
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 ...
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 ...
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 ...
2 votes
0 answers
231 views

Wiring 12V 5 pin relay (without a module/board) for usage with Raspberry Pi

I'm trying to setup an automated garden as a quarantine project for my mother and I can't really figure out how to properly wire a 12V 5-pin relay module as every tutorial online only shows the ones ...
4 votes
1 answer
677 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 ...
2 votes
1 answer
5k 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 ...

15 30 50 per page