Thread: Motor to Servo
View Single Post
  #5   Spotlight this post!  
Unread 30-01-2006, 20:35
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Motor to Servo

You'll need some sort of feedback to tell you what position the motor is in. Usually that'll be a potentiometer. Then you'll need to write a program to compare the measured position to the desired position, and drive the motor in the proper direction at the appropriate speed to get it to where you want it to go.

Search the forums for "PID Control" and you'll find several discussions of the topic.

Edit: Search the forums for "PID Control" and you'll also find out what it is.

Last edited by Alan Anderson : 30-01-2006 at 21:31.