Hello All, I am building a circuit that drives a Vex motor (http://www.vexrobotics.com/vex-robotics-motor-kit.shtml) using the Servo library. The motor is powered from the Duemilanove's Vin connector and its signal is generated digital pin 9.
The whole board is running on a 9v power supply.
My problem is that even after i send the servo.detach() command, the motor displays very erratic behavior. It will suddenlty start turning at random times and wildly different sppeds and directions.
I've read that motors may require having a capacitor connected to them in order to ensure they receive a steady and clean source of power. Is this true? if so, could this be the reason for the erratic beahior? Lastly, if this is the case, would you please recommend the appropiate capacitor that would be needed for this motor (see link above for details)
Thank you all for your help!