View Single Post
  #5   Spotlight this post!  
Unread 18-02-2005, 00:33
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Smile Re: Potentiometer Help!

[quote=thoughtful]Hi,
We have a potentiometer wired to p3_x (port 3, x value) on the OI. It is a 100K Ohms, 3/4 turn POt; Used mostly in audio systems. We have wires connected to the middle and one of the outside terminals on the POT. We were getting a range of 231-254 at first, however after our programmers did some bitshifting on the values we had a range of 112-228, however we noticed that the numbers are jumping by 4. Meaning the values go 112,116,120 e.t.c. Is there a way to obtain more resolution from these POTS.

QUOTE]
Bit shifting is causing your pot to jump by fours. A single Bit shift results in either a multiply or divide by 2 of the original value. In your case the programmers bit shifted twice to give you a factor of four. The 112 was originally 112/4 or 112*4. The 116 was originally 116/4 or 116*4, etc.

It is my understanding that audio systems potentiometers are typically
non-linear (tapered) and you will have much more success by purchasing
a single-turn, linear pot from Digikey or mouser.com.
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377