I have a problem with my 360 ° servos. If I run them at 6 volts, they start to jerk after a while, despite the fact that they are officially approved for 6 volts.
Can anyone help me ? Thank you in advance.
P.S. The servos are running with an external voltage converter.
Try giving us a few real details. For a start tell us what servos you have, how many and the specification of your "external voltage converter". Then post the code you are using to drive them.
If they jerk "after a while" what do they do before a while? And how long is a while?
I use two TowerPro MG995 360° servos. The voltage converter converts 6 Volts and should actually have enough power to drive the two servos, unfortunately I dont know, which specific model it is.
The servos are driving normal for 4 or 5 seconds and then they start to jerk, they still drive but much slower.
Here is an example code with which I drive the servos:
Simple servo test code you might try to see if the servo runs stable without anything else going on.
// zoomkat 7-30-10 serial servo test
// type servo position 0 to 180 in serial monitor
// for writeMicroseconds, use a value like 1500
// Powering a servo from the arduino usually *DOES NOT WORK*.
String readString;
#include <Servo.h>
Servo myservo; // create servo object to control a servo
void setup() {
Serial.begin(9600);
myservo.attach(9);
}
void loop() {
while (Serial.available()) {
if (Serial.available() >0) {
char c = Serial.read(); //gets one byte from serial buffer
readString += c; //makes the string readString
delay(3);
}
}
if (readString.length() >0) {
Serial.println(readString);
int n = readString.toInt();
Serial.println(n);
myservo.writeMicroseconds(n);
//myservo.write(n);
readString="";
}
}