Servo Problems

25 Feb 2012

I had 6 servo's that I am controlling through PWMout with the Servo class. My problem is that quite often all the motors start to freak out and twitch, moving pretty much their entire range of motion at random directions and speed, even when it is being commanded to hold position, or have not told it what to do at all. I built my own servo class (I wanted to specify side of the body, and be able to create a default constructor) which I was using. I tried rolling back to the build with the MBED Servo with no luck. I have been trying to figure out if it is a wiring problem, but when the MBED is off the servo's fire up with a little twitch then don't move after that, so it seems as if they are getting some type of signal from the board. I am at my wits end on what to do to troubleshoot...

Thanks for any ideas!

Kris