I am using the arduino example "sweep" servo program to control a Tower Pro Micro Servo - SG90 (9g), and it works fine. However, I have recently purchased two Tower Pro MG995s and when I plug in the same three wires into the tower pro header, the servo is all over the place, with no recognisable pattern. The same happens with both the MG995s, but then when I return the pins to the SG90, it works fine again.
I am using Arduino Uno Rev 3 and the arduino servo library and an external 5v power supply if any of that has any relevance!
Any help on what the problem could be would be much appreciated.
Thanks in advance! ;D
If you have an external power supply separate from the arduino, then make sure you have a good ground between the external power ground and the arduino ground.
The bigger servo need several amps to work at all - I'd estimate about 2.5A min from
the specs. Your supply is failing with the high power servo but not the lower power one.
Approx 90% of servo problems on these forums are inadequate powering.