Electronic – arduino – Why MOSFET makes Motor ON directly

arduinodc motormosfetmosfet-driverswitching

In my project I have to operate DC motor. For this I am using Arduino as controller and MOSFET for switching. I have connected MOSFET GATE pin to Arduino's pin 12.

I have used this schematic….

MOSFET as Switch

Main problem is as I give +12v supply to one end of Motor and other end of Motor to Drain of MOSFET and other connection same as Image.
But without connecting Arduino output pin to Gate of MOSFET motor staying on continuously.

In my case I am controlling GATE pin using pin 12 of Arduino,which will send pulse to MOSFET to control motor(ON/OFF).

What wrong am I doing?

Best Answer

The circuit you show should work. You probably don't have something connected correctly. For example, if the drain and source of the FET were flipped, you'd get exactly the symptom you see due to the body diode of the FET conducting.

Check the FET datasheet and your connections carefully.

Measure the gate voltage with a voltmeter, and verify that it really is 0 V.