Let's Make Robots!

Custom Motor Driver Debugging

Simon Z's picture

Hello LMR!

I built a motor driver, look: 

motor_driver_1.jpg

Cool isnt it? Of course it doesn't work as intended, but hopefully you guys can help me fix that. Lets take a look at the details first, and afterwards my problem.

DC motor control with Arduino

Simon Z's picture

Ok, so i had this running just a few days ago, but then when i tried to assamble it didnt work out for me. Now I cant even get this simple DC motor running from the arduino, or to be more precise; the motor will run at a very low speed. Connecting it directly to my two 1.5 batteries it will run at full speed, but when trying to control it from the Arduino it wont work for me.

 Here is my setup:

simple_dc_motor_sch.jpg

and the code is dead simple: