How to power a 4-pin CPU fan?
How to power a 4-pin CPU fan?
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.
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 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