View Single Post
  #2   Spotlight this post!  
Unread 05-02-2013, 01:54
Garrett.d.w's Avatar
Garrett.d.w Garrett.d.w is offline
Build Lead
FRC #2733 (The Pigmice)
Team Role: Alumni
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Portland
Posts: 318
Garrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to behold
Re: Equation for converting potentiometer voltage into angle?

The voltage that the potentiometer will put out is relative to whatever angle it is set at. The way you go about reading the potentiometer's output as an angle is to set it at the desired angle manually, read the potentiometer and save that voltage. To get the robot to set itself to that angle, you just recall the voltage that you measured earlier.

I know that this is super simplified, but its basically what you do, no fancy math involved
__________________
"A mind once stretched by a thought will never regain it's original dimensions."

Optimists think the glass is half full.
Pessimists think the glass is half empty.
Engineers realize it's twice as big as it needs to be.