View Single Post
  #2   Spotlight this post!  
Unread 02-02-2004, 21:34
Greg's Avatar
Greg Greg is offline
Registered User
FRC #1075 (Sinclair Sprockets)
Team Role: College Student
 
Join Date: Nov 2002
Rookie Year: 2003
Location: Whitby, Ontario, Canada
Posts: 108
Greg is on a distinguished road
Send a message via ICQ to Greg Send a message via MSN to Greg
Re: How does the IR setup work?

Well, you just keep track of the servo position. Because the pwm value you output to a servo actually corresponds to its position, you can easily convert the position at which the sensor (located on the servo) saw the beacon into degrees and calculate the distance to the beacon.

If you are not using servos, you can accomplish the same thing with a motor and a potentiometer.
Reply With Quote