Electronic – DC Fan Control (Switching on/off)

controlfan

I'm using an MC25060V2 fan, and I'd like to switch it on and off through software occasionally (i.e. not PWM or anything fancy like that). My thought is to either put an NPN BJT or a N-channel MOSFET on the low side and control it's gate with a 5V microcontroller GPIO pin. Any reason I should choose one technology over the other (or another approach altogether)? Here are schematic representations of what I'm proposing (just logical, representing fan as an inductor and part numbers / values not important).

schematic

simulate this circuit – Schematic created using CircuitLab

I'm thinking to use something like a BS207FS in the case of a FET, or a 2N3904 in the case of a BJT.

Best Answer

There are plenty of ways, Here's two: -

enter image description here

Note the diode across the motor - this is needed to protect the BJT (or MOSFET) when the transistor is switched-off - this circuit will be OK for low-power fans. Rate the transistor in accordance with the current the fan needs.

Or...

enter image description here

This circuit will run from 5V or a lot higher should your fan be (say) 24V or 12V. Not shown is the reverse connected diode which you must have.

Pick a P-channel MOSFET with low "Vgs(threshold)" to ensure it turns on properly