Re: Picbasic serial commands
This really should be in the Other Basic forum, but ...
There are two ways of holding the servo in its current position:
1) If you're controlling the servo directly (not through a servo controller chip) - keep DC on the last pair of poles.
2) Using a selsyn (or other position sensor), ALWAYS turn the servo to the required position with a voltage proportional to the error. If it's in the right position the voltage will be 0. As soon as it moves it'll get a pulse driving it in the opposite direction. (You don't even need a servo with this method - any DC motor will give you an accuracy of around 14-16 bits. That's about 1 part in 10^12 - it should be accurate enough for any real-world use. This is the method used to drive the 5 axes of the Zeiss planetarium projector in the Hong Kong Space Museum.)
Re: Picbasic serial commands
Quote:
Originally Posted by Al42
This really should be in the Other Basic forum, but ...
Agreed. :)
Moved
Re: Picbasic serial commands
Is the drive tuned correctly?
When the drive is tuned to the motor you should have a stiff shaft (no comments from the peanut gallery please)
The motor should not drift unless the load is heavier than then the motor can stabilize. Sounds like you may have some slop.
How much is the motor moving out of place?