Continuous servo seems to be a positional servo

I bought this:

And I'm using this code to test it:

// Include the library
#include "Servo.h"

// Create the servo object
Servo myservo;

// Setup section to run once
void setup() {
  myservo.attach(9); // attach the servo to our servo object
  myservo.write(90); // stop the motor
}

// Loop to keep the motor turning!
void loop() {
  myservo.write(45); // rotate the motor counter-clockwise
  delay(5000); // keep rotating for 5 seconds (5000 milliseconds)

  myservo.write(90); // stop the motor
  delay(5000); // stay stopped

  myservo.write(135); // rotate the motor clockwise
  delay(5000); // keep rotating 
}

But it simply jerks about as if it is an unstable positional servo. i.e. it does not rotate continuously...

I have not connected the feedback wire, but I presume that does not matter...

The code above was from https://www.makerguides.com/how-to-control-a-360-degree-servo-motor-with-arduino/

That is not a continuous servo. It is a standard servo with position feedback.

1 Like

Hells bells! How did I make that mistake?

This looks good:

Parallax servo 360 wth feedback

Can you recommend any alternatives? I don't mind paying $30+ (with postange to Italy) but maybe there are cheaper alternatives...

By the way I think I made the mistake because it was AdaFruit and had a feedback wire in the photo. I should have noticed it did not say Parallax so was not the servo I thought it was.

Is the feedback wire on a normal servo because you can't trust the servo to get to where you sent it?

Adafruit has a continuous rotation servo for about $12 US.
FS5103R

Edit: If you don't mind waiting, AliExpress has them for about $6. Shipping is slow.

1 Like

No.

It is there to show you when it has stopped moving and therefore is at the position you want. Servos without this have to be given time to reach the required position and that is quite difficult to calculate exactly how much time to give it.

You use this pin by connecting it to an Analogue input pin and measuring the reading to show where it is at the moment. Nothing at all about trusting the motor.

2 Likes

It does not have a feedback wire though, which I need.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.