|
Re: PWM Problem
That's actually a good question. The problem is knowing when the servo reached the commanded position. The small hobby servos don't return the current position, that single wire is an input to the servo and there is no position output.
We have tried to solve that problem in the past (and this year too) with limit switches to know when the motion is complete. In our case it was even more important because the servo controlled a latch to keep a motor from backdriving. If we try to run the motor before the servo finishes moving the motor or the latch will break.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
|