Author Options:

Motor not working? Answered

I uploaded my motor project above. I have it wired according to diagrams and it worked with LED but not with motor. I tried setting up the wiring in the tinkercad simulator and it works there. I get a reading on the serial port. Thoughts? For photos see above.


when you connect your motor and power source directly into arduino it will not work. Arduino will regulate the power to low for its components. So if you want the motor run, you should connect it to motor driver or motor shield. I n addition, you should give power to arduino and another battery to driver or shield. For the codes and connections just search on youtube as "how to make rc car from motor driver". If you want further help , please mail to arunbrabr2@gmail.com

From what I can tell, your wiring looks correct... did you try plugging
in your motor directly to power and ground to verify that it spins? What
is the value of the resistor in your circuit, and is your serial
monitor showing that your potentiometer values extend through the full

Motor works when plugged into 5v and gnd. The resister is 1K. On the serial monitor the serial reading is 1019 top range and low of 0 on the output top is 254 and low of 0 when I spin the 10k potentomiter.

Hm, what's the transister that you are using? For lack of other things to check, I'd double check the datasheet of your transistor to ensure the pinouts are correct.