View Single Post
  #14   Spotlight this post!  
Unread 26-01-2005, 00:04
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Potentiometer Trouble ??

Quote:
Originally Posted by steven114
if you want continuous rotation go for some sort of {optical|mechanical} encoder
That may not always be satisfactory. I have an encoder that clicks 32 times per revolution. This turns into 8 counts per revolution in code when using interrupts. With a continuous pot, you may get up to 1024 counts per revolution. If you were counting something that went fast and didn't need too much precision, like the drive train, then you would use an encoder, so you could monitor it with hardware interrupts. If you were using something that was slower and in need of more precision, but still made multiple rotations, like a winch or something, a continuous potentiometer would make more sense, because you wouldn't need interrupts; you could just poll it every 26.2ms without missing any data. While it is safe to say that it's always a good idea to use a potentiometer when you're making less than one complete revolution, encoders are not always the ideal solution for multiple revolutions.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_