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

Hardware

5855 readers
20 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? :)

top 26 comments
sorted by: hot top controversial new old
[–] krolden@lemmy.ml 2 points 16 hours ago
[–] fuzzy_tinker@lemmy.world 5 points 1 day ago (1 children)

1st, do not power the fan from the pi if possible to avoid any underpower headaches. It should be fine.

Your best bet is to just power it at 5v using a standard USB wall wart and a sacrificial USB cable (old 2.0 ones work best). Strip the USB cable and expose the positive and negative wires and hook them up to the positive and negative fan pins (identify these using a 4pin fan header diagram). You can either try just shoving the tips of the USB cable into the fan header using electrical tape as a quick bodge, or cut and strip the fan cables and twist them together.

[–] emotional_soup_88@programming.dev 1 points 1 day ago (2 children)

Gotcha! Thanks for the directions! Any reason why I shouldn't power it with 12V, since it says 12 on the fan...?

[–] Romkslrqusz@lemmy.zip 2 points 1 day ago* (last edited 1 day ago) (1 children)

Assuming the supply can saturate the current the fan will use, at 12V it’ll be running at full speed. That’s probably pretty loud. Give it 5V, it’ll run slower and quieter.

[–] emotional_soup_88@programming.dev 1 points 23 hours ago (1 children)

I just found a "noise reduction cable" from Noctua. It ads 51 Ohms. I have no idea how to calculate what the new voltage would be on a 12V 2A DC power supply ( https://www.noctua.at/en/products/nv-ps1/specifications ), but Noctua's website says that the cable lowers fan speeds, so I'll give it a try.

[–] Romkslrqusz@lemmy.zip 2 points 15 hours ago

Yeah, it’s just an inline resistor

A potentiometer is a resistor that you adjust using a dial. If you want control, you may want to get a PWM fan control module. There’s the Noctua NA-FC1 https://www.noctua.at/en/products/na-fc1 but that’s pretty much just a fancy expensive version, you can find the same concept for as little as $1-2 USD

[–] stevestevesteve@lemmy.world 1 points 1 day ago

You should indeed power it with 12v

[–] fuckwit_mcbumcrumble@lemmy.dbzer0.com 5 points 1 day ago (1 children)

You can buy usb to 12v fan adapters for like $8 on Amazon.

But for a pi you don't need that fan to run at full speed, just the 5V of USB or that header + any sort of a heatsink on the CPU will be plenty.

5V seems to the consensus, so I'll go in that direction. But I do want to keep the chassi on, so I think I'll go with a 5V USB.

[–] anamethatisnt@sopuli.xyz 4 points 1 day ago (1 children)

If you decide you wanna go the easy route there are quiet 5V fans out there
https://www.noctua.at/en/products/nf-f12-5v-pwm

pi-noctua-pwm
Controls a 4-pin (PWM) 5V Noctua fan using a Raspberry Pi 5's GPIO pins. The fan speed is automatically adjusted based on the temperature readings from an NVMe drive, making it ideal for cooling solutions like the Pimoroni NVMe Base.

Thanks! That lead me to discover this: https://www.noctua.at/en/products/nv-ps1/specifications Which I guess would have the fan blast away at full speed, but maybe I could force a potentiometer in between somewhere somehow...?

Or, I just go the easy way, as you said. I just hate to know that the Wraith is sitting in my closet, unused... XD

[–] AlphaOmega@lemmy.world 3 points 1 day ago* (last edited 1 day ago) (1 children)

A good external desk/box/tower fan might be an easier solution

Thanks, I thought of that too, and I'll go with that if this doesn't work. I just didn't want this little Wraith lying around unused and the size fits so well on the Pi 😄

[–] lime@feddit.nu 3 points 1 day ago* (last edited 1 day ago) (1 children)

fourth pin is an output i think.

https://glkinst.com/cables/cable_pics/4_Wire_PWM_Spec.pdf

if you bypass it you don't get a signal from the rotation speed sensor and the fan should run at 100% given 12v.

easiest solution is probably one of those 12v inverters for cars but that seems overkill. 5v fans are most likely cheaper.

[–] emotional_soup_88@programming.dev 0 points 1 day ago (1 children)

Right! I have no reason for it to run art full speed on a Pi anyway. I'm leaning towards buying a 5V USB adapter.

[–] lime@feddit.nu 2 points 1 day ago (1 children)

does it work at all on 5v?

I guess I have to try. It either stalls and doesn't turn at all, or I get a comfortable breeze.

[–] meathorse@lemmy.world 3 points 1 day ago* (last edited 1 day ago) (2 children)

12v fans will typically run fine, albeit much slower at 5v. This was a favorite trick many moons ago to reduce fan noise in desktops before quiet fans became mainstream. The main watch out is that the fan doesn't stall at startup and fail to spin completely.

[–] Chronographs@lemmy.zip 1 points 1 day ago

That would obviously work with older dc fans but modern ones use pwm which iirc is a constant voltage just pulsed to varying degrees (thus pulse width modulation)

Right, so less voltage, less speed. Couldn't I "shove" a potentiometer in between and give it around 7,5V or whatever gives the best noise to temp results?

[–] exu@feditown.com 3 points 1 day ago (1 children)

I think PWM fans need 12V all the time. Maybe you have a cheap 3-pin fan, then you can just give it 5V. It'll run slower, but you probably don't need full power.

You could get a cheap boost convert to up 5V to 12V if you want the Pi to power it.

I had no idea the Pi's output could be boosted. Sweet!

[–] vk6flab@lemmy.radio 3 points 1 day ago (1 children)
[–] 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. 😅