this post was submitted on 16 Jan 2026
12 points (100.0% liked)

Hardware

5859 readers
18 users here now

This is a community dedicated to the hardware aspect of technology, from PC parts, to gadgets, to servers, to industrial control equipment, to semiconductors.

Rules:

founded 5 years ago
MODERATORS
 

I disassembled an AMD CPU Wraith Cooler, meaning, I took the fan off of the heatsink, because I want to attach the fan on top of a Raspberry Pi that I'm using as a router. The Pi runs quite hot because it transmits several hundred megabytes per second, non stop, and I want to give it some cooling. (It already has its own heatsinks on its various chips inside the chassi and I don't want to use the little shitty Okdo fan, because it's loud.)

Is there any smart solution to how I could power this 4-pin fan? It needs 12V DC.

This is the Pi with its chassi.

And I'm considering something barbaric like this.

~~Are there perhaps conveniently positioned GPIO pins on the Pi that the 4-pin connector could just slide on to and just work?~~ Never mind this. The Pi 4 that I'm using can only output 5V:

Or would I need to cut off the 4-pin connector to expose the individual wires and attach them to a 12V DC adapter?

Or any other genuis solutions? :)

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Orygin@sh.itjust.works 2 points 1 day ago (1 children)

You can use a transistor to pwm the 12v input to the fan. I used IRLZ44n to this effect since they work ok at logic level. There are better transistors but the principle is the same

[โ€“] emotional_soup_88@programming.dev 2 points 1 day ago* (last edited 1 day ago)

Nice! I was just going to ask if I should add in a potentiometer to regulate the fan speed. But you say it should be a transistor? I'm a complete noob at hardware, so please excuse any inaccurate lingo. ๐Ÿ˜