Go Down

Topic: Servo motor speed adjust (Read 3 times) previous topic - next topic

luisandrade

Hi all, I would like to know if is possible adjust the rc servo motor speed without use loop for?

With loop for I can control the speed adjusting the time.

for(int i=0; i<180; i++){
servo.Write(i);
delay(15);

And this way, how do I control the speed rotation?
servo.Write(150);
Servo.Write(30);
...




oric_dan

#1
Nov 14, 2012, 03:07 am Last Edit: Nov 14, 2012, 03:10 am by oric_dan(333) Reason: 1
servo.Write(150);  // should go one direction
servo.Write(30);   // should go the other direction.

servo.Write(90);    // should stop.
servo.Write(80);    // should go one direction slowly.
servo.Write(100);   // should go the other direction slowly.

luisandrade

I understood, I will make some tests, thanks for now.

zoomkat


servo.Write(150);  // should go one direction
servo.Write(30);   // should go the other direction.

servo.Write(90);    // should stop.
servo.Write(80);    // should go one direction slowly.
servo.Write(100);   // should go the other direction slowly.



That is for a servo modified for continous rotation and not an unmodified servo.
Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   8)

luisandrade

I made a test, really didn't work like I want. I looking for a way to make that control, some idea let me know.
att
luis andrade

Go Up