Very Basic Servo Help (w/ adafruit motor-shield)

Hey! I'm totally new to motor control and I'm having trouble controlling with servos.
I'm interested in using a servo to control a tank-tread style drive system that can be controlled by the user, and have the computer log the position/number of rotations of the tread; it will just be moving in one dimension so rotations to position is easy to calculate.
Any help/recommendations?

Notes: I have the AdafruitMotorShield library and the AFmotor library, but I haven't be able to use them for servos.

criniod:
Hey! I'm totally new to motor control and I'm having trouble controlling with servos.
I'm interested in using a servo to control a tank-tread style drive system that can be controlled by the user, and have the computer log the position/number of rotations of the tread; it will just be moving in one dimension so rotations to position is easy to calculate.
Any help/recommendations?

Notes: I have the AdafruitMotorShield library and the AFmotor library, but I haven't be able to use them for servos.

What kind of servo are you using? If it's a standard R/C servo then you can't drive it with a motor shield as the servo already has a motor driver internal, You just use the servo library commands to control the servo.

It's this one: Parallax Inc | Equip Your GeniusĀ®

criniod:
It's this one: Parallax Inc | Equip Your GeniusĀ®

OK, so my statement holds true, you can't drive a servo with your motor shield, it's not required and can't be used for that purpose.

So off you go to learn the servo library:

Oh thanks!

So it seems that because mine is continuous rotation it cant do some of the iconic servo functions like rotate to a specific angle?

criniod:
Oh thanks!

So it seems that because mine is continuous rotation it cant do some of the iconic servo functions like rotate to a specific angle?

Zakly.... what you send as an "angle" to a continuous servo is interpreted as the speed. 90 is stop, lower is one direction with 0 as full steam, and higher is the other way with 180 as full steam. Also might not be exactly 90.... I've read that it could be say 88 or 92, depends on the individual servo.

There's also discussion here about whether or not a continuous servo should still be called a "servo"...

There's also discussion here about whether or not a continuous servo should still be called a "servo"...

That's correct. It's been modified to become a variable speed bidirectional geared motor drive.

Luckily he can use the variableSpeedBidirectionalGearedMotorDrive library, Servo for short.

UKHeliBob:
Luckily he can use the variableSpeedBidirectionalGearedMotorDrive library, Servo for short.

:smiley: