Hi I’ve got a Raspberry Pi Pico W and I’m running the Cooling Fan for Raspberry Pi | Core Electronics Australia off 3V3(out), pin 36. I know it’s a 5V fan, but it runs well on 3.3V and it’s much quieter.
I’d really like to be able to turn it on and off, I tried connecting it to a GPIO as it’s also 3.3V, but with the load of the fan it drops to 2.2V and it doesn’t work. I’m also a little worried it would be a bit bad for the pi.
I also thought about putting the pi in deep sleep, but that leaves 3v3 high, and that’s probably a good thing for most uses.
Any suggestions on how to do it? Will I just have to live with it constantly on?
You’ll want some sort of driver to allow for higher current and voltages to flow through the fan, I’d go for this MOSFET module:
A circuit like this will let you use a logic high signal to turn the fan on:
There is already a 10k pull-down, but to bring the gate below 1.5V you’ll need to add a parallel 680 ohm or thereabouts.
While it skips the fun part of designing a circuit this fan has an inbuilt control wire: Raspberry Pi 4 Case Fan | Core Electronics Australia
what about somethign like this? How to Build an N-Channel MOSFET Switch Circuit
except that it’s 3.3V for the gate, and the fan instead of the buzzer… and possibly 3.3V instead of 6V
- my electronics knowledge if pretty basic
- it might not work
The “smaller” is helpful as I’m a bit tight on space
Yeah that should work fine as well, its best practice to also include a resistor(~120 ohm) inline with the gate pin).
If you are super space constrained using the Pi fan might be the best way to go
Good if you want the thing to be on at all times. The Mosfet will stay on even if the 3V is removed. Pretty much forever unless the internal gate capacitor is discharged to source somehow.
So no, I don’t think this circuit as drawn would be successful.
Hi Liam & Doug
That extra resistor IS NOT required with that module. I believe the Pico I/O should source and sink. A high will turn the Mosfet ON and a low turn it OFF. The module has a 1kΩ resistor in series with the gate to limit I/O current to a safe value and a 10kΩ resistor from gate to source to make sure the gate capacitor is discharged when power is removed. It is not a “pull down” in the true sense where it would be necessary if the driving I/O did not sink.
Hey Bob & @Liam ,
Thanks for your help. It works like a charm.
One last question:
I’d like to shorten the cables a bit, is there an appropriate connector/crimping tool to make the ends plug into the header pins? I checked my local Jaycar and Altronics and they sayd they had nothing.
Ideally, something that’d let me do individuals, pairs (like jst), or 3 or 4
If its a permanent fixture could you solder directly to the pin? Otherwise female headers have worked for me in the past (and are usually on-hand).
A more formal approach may be to use these style of connectors: Polarised Headers Australia
Most will work as long as they have the same pitch
These also have the advantage of 2.54mm pin pitch which means they will fit most things that have holes for “standard” headers.