I used a 5V regulator to regulate the 9V going into the motor, and then I thought that I could power the arduino with that same 5V, and it worked! I was able to unplug it from the computer.
But doesn’t this defeat the purpose of using an external (to arduino) power supply? Was the motor needing more than 5V?
[wpvideo LTPVMetJ]

