Hello I'm basically controlling a 12v dc motor with a sn754410 motor driver ic to move forwards, pause, and backwards, pause and loop. I followed http://itp.nyu.edu/physcomp/Labs/DCMotorControl
. When it is connected to my computer and where the 12v battery is, it runs ok. But when I plug a 9v battery into the jack for the arduino (since it regulates to 5v) and leave the 12v battery where it is (for the motor), there was smoke. Did I overload the power?
Would it be ok if I connect the 12v battery to the arduino jack and connect the vin to leg 7 of my h-bridge to power both the board and the motor with one battery source?
Ideally it would run for a couple of hours.
Oh if I wanted to control the speed, do I need to add in a potentiometer or can I control the speed directly using the sn754410?
Thanks in advance.