View Single Post
  #3   Spotlight this post!  
Unread 09-02-2009, 20:26
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote