View Single Post
  #5   Spotlight this post!  
Unread 06-05-2013, 13:02
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: How can I get an angle from a potentiometer?

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.
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


Reply With Quote