'pwm-->12v pc fan' solutions & grumpy_mike's schematic

ye olde control a 12v PC fan using pwm,

ok, first things first, my limited knowledge of electronics has got me bit confused, I was looking to use grumpy_mikes diagram


but could not find a supplier in the UK for part: 2SK3065
http://www.datasheetcatalog.org/datasheet/rohm/2sk3065.pdf

according to the datasheet it's a:
Small switching (60V, 2A)
Silicon N-channel
MOS FET transistor

I'm ordering my components here so if someone or grumpy_mike could suggest an equivalent part I would be much obliged:

fan spec attached..

Farnell has them -

I looked at the site, and any MOSFET on the page with "Power MOSFET TO-220 package" seems to fit (sufficient voltage and amperage) for this circuit (powering a fan). Of course I have NOT looked at every datasheet, or even a single one, so I assume the Vgs for full on (the rated A) is 10V - it usually is - and that the power/wattage is so small that the Rds (effective resistance equivalence) does not matter (no significant heating of the MOSFET). So look at those values (low Rds, Vgs~10V), otherwise choose the cheapest.

Secondly the site has a page with "Logic Level Power MOSFET TO-220". These are the greatest thing since sliced bread, as they will interafce directly to the Arduino the point being they have a Vgs lower than 5V. The circuit simply reduces to the Arduino pin goes to the Gate, leave 12V and fan and 0V as before. All the other resistors, capacitors and transistors are ommited. It is prudent to put a 10K resistor between gate and 0V so the MOSFET is fully turned OFF when the Arduino pin is in INPUT mode (as it is during power up until your program starts)

thanks for the helpful replies ...I got the part from farnell and also ordered a 'Logic Level Power MOSFET TO-220' to play around with

one of these:
http://www.rapidonline.com/sku.aspx?tier1=Electronic+Components&tier2=Discrete+Semiconductors&tier3=MOSFETs&tier4=TO-220+Logic+level+power+MOSFETs+N-Channel&moduleno77687&catref=47-0552

Some computer fans specifically warn against using PWM on them without any smoothing, I've only seen the warning in fairly high end server fans, but it might be worth trying to find a datasheet for your fan(s) if they're expensive.

While this circuit inputs PWM the fan is not driven by a PWM signal. There is a filter first then a FET running in the linear region. This circuit was designed for a high end fan so as not to apply PWM directly to the fan.

Well, that is interesting. I assumed the transistor was to boost the 5V to 12V for the gate. I didnt think about the resistor values which (with that infamous clear hindsight) do not support that. Well, that expains the capacitors, too. I just thought the circuit had gone overboard with decoupling :slight_smile:

Interesting. Heatsink that mosfet if you ever run a server fan!

I'm going to have to build one of these to play with.

You don't decouple signal lines, only power lines.

You don't need a heatsink for a 120mA fan which is what it was designed for.

The filter is first so you can use a high value of R and so only need a smaller value of C and have a high output impedance. The transistor then converts that impedance as well as boosting the signal for the FET.