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.
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"...