|
Re: Can any one help us with programing the encoder to control the motor by ticks?
Motors alone cannot do this. If you add a pot or an encoder, then you have a shot. Another way to go about this is with limit switches.
It is reasonable to think of a servo as a motor, a pot, and a loop that quickly adjusts the motor speed based on whether the pot is too low, too high, or just right. If you get a pot or encoder hooked up, try making a periodic task to read the pot and set the motor.
Greg McKaskle
|