Go Down

Topic: Strange Problem while controlling motors with MOSFET (Read 924 times) previous topic - next topic

nishant_91

So, I was trying to drive a motor using PWM based on the circuit in the Getting started with Arduino book (Image attached). However my circuit (the second image) does not behave as expected.

As soon as the power is turned on, the motor is on irrespective of the Arduino. In fact it works even if I disconnect the the arduino from the gate pin! I have replaced the mosfet, diode, resistor etc, in case there was a hardware problem but there is still no difference. Please hep me to find the mistake!
Requiescat in Pace

nishant_91

The thin red and blue wires are going to the brushed DC motor (Not able to fit in the picture, sorry!)
Requiescat in Pace

LarryD

Your 100R resistor is shorted out, review how to use a protoboard.
I don't see a ground going to the Arduino.
The way you have it in your schematic isn't the same as how you have it wired up!

nishant_91

Thanks for pointing that out, silly of me,
But shouldn't it work even though the resistor is shorted? Since the motor should only be on wen there is a high voltage applied to the gate?
Requiescat in Pace

LarryD

Please confirm you have a ground connection going to the Arduino.
Would you also confirm what number is written on the FET.
Also, we like to see a Gate to Ground resistor (10K should be good here).
The way you have it in your schematic isn't the same as how you have it wired up!

Go Up