Using mosfet for the first time. Found two different approaches. Can someone explain differences?
Hello, I purchased P30N06LE (N-channel) to drive a 12v solenoid with my arduino. I found two circuits to wire it up and I'm not sure which is better/why they are different. Could someone explain so I can learn not just for this task but future projects? Thankyou.

9 Replies

Difference : one has the gate wired to ground.
First image should work
2nd imagine is a BJT
so the pins are named dfiferently
Ah ok...I don't understand what the first picture is doing. I thought it was protection againist a spike of current when the motor stops. But it seems like the gate pin is directly connected to the board. Does the spike occur on the source pin? Sorry if this is a silly question.
the diode takes care of that
So what is the 10k resistor for?
pulldown so the gate is not floating
Thank you for explaining. I really appreciate your time! It's really helpful!
Is this what you are asking for?
?