How are you powering the servos?ok so i got a question, after i programmed the arduino nano knock off it turns fine with the futaba s3003s i got and they'll turn 180 degrees no problem, though if i set it to 90 using one of them doesnt quite make the last mm and jerks a bit to fix in place. Also when i use tower pro MG90S micro servos one servo turns fine but the other one will turn back and forth and not stop, this is the same program as the one on the first page. Any ideas?
for(pos = 180; pos >= 0; pos -= 10) // goes from 180 degrees to 0 degrees
{
myservo.write(pos); // tell servo to go to position 'pos'
}
for(pos1 = 0; pos1 <= 180; pos1 += 10) // goes from 0 degrees to 180 degrees
{
myservo1.write(pos1); // tell servo to go to position 'pos1'
}
for(pos = 180; pos >= 0; pos -= 1) // goes from 180 degrees to 0 degrees
{
myservo.write(pos); // tell servo to go to position 'pos'
}
for(pos1 = 0; pos1 <= 180; pos1 += 1) // goes from 0 degrees to 180 degrees
{
myservo1.write(pos1); // tell servo to go to position 'pos1'
}
Hey guys im back again to ask question. Lolol hahaha.
Does anyone here know how to control the speed of the servos using the commands shown on the first post? tried to change
to
But it doesnt seem to have ANY difference?
How are you powering the servos?