Timing rotations on a continuous rotation servo?
Hi folks,
Just got a contiguous rotation servo for my wheels. Is it possible to program timing of the servo turn? For example - turn clockwise for 2 seconds, turn counter for 2 seconds. I believe i cannot program fixed rotations like a standard servo, but perhaps timing is possible.
Thank you for your help!
Just got a contiguous rotation servo for my wheels. Is it possible to program timing of the servo turn? For example - turn clockwise for 2 seconds, turn counter for 2 seconds. I believe i cannot program fixed rotations like a standard servo, but perhaps timing is possible.
Thank you for your help!
Comments
I kept trying to get my robot to perform the figure 8 but one attempt the robot went too far around a in a circle and the next attempt it wouldn't go far enough. I realized I was having the trouble Mike Green mentioned and the voltage of my batteries was changing which changed how fast my robot would travel.
I finally ended up using a voltage regulator between the servos and the batteries. One I added this regulator the robot behaved much better and I was able to get the robot to perform repeatable figure 8s.
While a voltage regulator will help, IMO, nothing beats encoders.
There are a bunch of DIY encoder examples on the forum and of course Parallax sells encoders for both the BOE-Bot and the ActivityBot (they come with the ActivityBot but they can be ordered separately).
I never purchased and ActivityBot myself. I converted one of my BOE-Bots into and ActivityBot by adding the various parts.