Problem zeroing speed of Boebot with servopal
I have purchased 12 sets of Boe bots with a bunch of accessories (servoPal, Ping kit, gripper, IR follower) for an upcoming robotics camp. As I was working out the activities, I run into a problem when using the servoPal, specifically, I cannot keep the BoeBot standing still.
Without the servoPal, I can send 1500 uSec pulses to both motors on a loop and by using the adjustment screw, I can zero the speed. However, after installing the servoPal, there is a lot of erratic movement when the same width pulses are sent out through the servoPal. I initially thought that the motors produced more torque due to the regularity of the pulses produced by the servoPal and hence I just have to adjust the screw on the servos, however, no matter how hard I try to cannot get it to stop. It doesn't help that the adjustment screws are so sensitive it only takes thinking about twisting them and the speed changes, but with the servoPal it's impossible to zero the speed.
What is happening is the motors remain stopped for a second or two, but then start randomly jittering; each jitter is rather small, but over 10 to 20 seconds, the beobot will pivot quite a bit, and after enough time it may even move backwards or forward by a few inches.
Any idea if this is typical? My plans for the camp will have to change significantly if I can't reliably stop the robot when using the servoPal. Any suggestion would be welcomed!
Thanks
Without the servoPal, I can send 1500 uSec pulses to both motors on a loop and by using the adjustment screw, I can zero the speed. However, after installing the servoPal, there is a lot of erratic movement when the same width pulses are sent out through the servoPal. I initially thought that the motors produced more torque due to the regularity of the pulses produced by the servoPal and hence I just have to adjust the screw on the servos, however, no matter how hard I try to cannot get it to stop. It doesn't help that the adjustment screws are so sensitive it only takes thinking about twisting them and the speed changes, but with the servoPal it's impossible to zero the speed.
What is happening is the motors remain stopped for a second or two, but then start randomly jittering; each jitter is rather small, but over 10 to 20 seconds, the beobot will pivot quite a bit, and after enough time it may even move backwards or forward by a few inches.
Any idea if this is typical? My plans for the camp will have to change significantly if I can't reliably stop the robot when using the servoPal. Any suggestion would be welcomed!
Thanks
Comments
1. When you want the bot to remain at rest, command the ServoPAL to quit sending pulses altogether. [Best]
2. Do an occasional pulse refresh, so that the ServoPAL can remeasure the pulse widths. [Less convenient]
-Phil
Servos can definitely drift off center null on their own, although Parallax Futaba servos are some of the most stable I've ever seen. I wonder if the servopal is the root of the problem.
Also, are you using rechargeable batteries, which provide a more stable voltage source than alkalines? A drifting supply voltage (which goes stright to your servos) might also contribute to servo drift.
Erco: there is no drift without the servoPal, once the servos are zero'ed, the remain at 0 velocity with the neutral pulse (1500 uS). Problem only appears with the servoPal, but turning it off all together addresses the problem.