Electronic – AVR and MOSFET gate resistor

avrdrivermicrocontrollermosfet

I am driving a MOSFET with AVR using PWM for controlling a motor. I have a 4K7 pull-up resistor on the gate. My question is, do I need a resistor in between the AVR pin and the gate? (The mosfet is NX2301P)

Best Answer

No you do not need a series resistor. If you put one in there it would limit the current a bit and might help in case of some layout issue, but it's not necessary.

Why the rather low gate pull down and why a pull down rather than pullup? Normally I'd expect to see more like a 20K pullup so if the AVR output is high impedance the motor turns off. A pull down resistor on a P-channel MOSFET gate means that the motor will turn on if the input is open.