I'm working on a small vaporizer project as the cheap ones I have right now are rather crap.
I have some IRL Z44N FETs which (from what I understand ) should be able to be switched directly from an Arduino (and pulsed to vary the output)
I've verified that the circuit and sketch works with an LED and multi meter and I can vary the brightness/voltage with PWM. However I cannot seem to get it to switch from the 5v from the Arduino with any substantial load on it (2.2ohm on 12v). If I apply 12v to the gate it switches the load fine.
I seem to remember reading somewhere that its a good idea to have a small current limiting resistor (120ohm) between gate and the Arduino pin, however I only had a couple 330s lying around.
330 would be fine, you're just trying to limit the IO exposure to the gate capacitance of the MOSFET, which looks like a charged or discharged cap when IO voltage level changes.
Worse case: 5V/.035A = 145 ohm, so 330 ohm will limit current to 5V/330ohm = 15mA.
tekkninja:
I seem to remember reading somewhere that its a good idea to have a small current limiting resistor (120ohm) between gate and the Arduino pin, however I only had a couple 330s lying around.
It doesn't make much difference, but it is wrong to put the 10k resistor on the FET side of R2 as it ever so slightly reduces the drive voltage.
Since the concern is that if the Arduino is in input/ reset mode it will not definitively control the gate, the correct approach is to put the 10k resistor across the Arduino output. This is even more critical if you wish to put a base pull-down on a bipolar transistor.