Thread: PWM Problem
View Single Post
  #3   Spotlight this post!  
Unread 12-02-2008, 09:17
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
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