View Single Post
  #10   Spotlight this post!  
Unread 07-05-2013, 09:12
bumblebee3339's Avatar
bumblebee3339 bumblebee3339 is offline
Team's main account
FRC #3339 (BumbleBee)
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Israel
Posts: 34
bumblebee3339 is an unknown quantity at this point
Re: How can I get an angle from a potentiometer?

Quote:
Originally Posted by Phalanx View Post
Depending on the quality of your Potentiometer you can use a simple formula to compute it's voltage reading to it's degree. I've used this with fairly good results. It all depends on much accuracy you require.

For example, let's take a 340 degree single turn pot....
Roughly we know it's voltage is from 0v to 5v.....
So if it we take 5v / 340 that means it's 0.0147 volts/per degree.
Take your voltage reading and divide it by your volts per degree to get your angle.

300 degree pot would be 0.0166 volts per degree.
270 degree pot would be 0.0185 volts per degree.
I like your way of thinking
I'll use that
Reply With Quote