Difference between revisions of "Potentiometers"
Line 26: | Line 26: | ||
[[image:pot_pc104.jpg| |
[[image:pot_pc104.jpg|600px|center]] |
||
==References== |
==References== |
Latest revision as of 11:07, 10 August 2006
Potentiometers (or pots) are variable resistors. They have three terminals with the center terminal being a center tap contact or "wiper" that slides across an element of constant resistance. As the wiper moves along the element, the resistance from the end terminals to the wiper changes. If the total resistance of the pot is and the resistance from the left terminal to the wiper is and from the right terminal to the wiper is , then we have that is always satisfied, and each of and can vary from 0 to . Some rotary pots are "multi-turn," meaning that the knob must be turned several rotations to move the wiper its full range, and some are "single-turn." The former are common for fine gain adjustments on circuit boards, and the latter are common in sensors of shaft angle and knobs for human input. Some pots have a "linear taper," meaning that the resistance from the terminals to the wiper changes linearly with the amount of rotation (for a rotary pot) or translation (for a linear or slide pot), and others have a "logarithmic" or "audio taper," meaning that the amount of resistance changes logarithmically with the motion. This is useful for audio equipment, as our perception of sound volume increases linearly with a logarithmic increase in sound power. Make sure the pot you use has the correct kind of taper for your application!
Types of Pots
There are many different types of pots, though they usually have very subtle differences and can be hard to tell apart. Below are several common types of pots.
- Shaft Potentiometer - The most common type, also come in high-precision versions. The shaft can be turned by hand or attached to some device. Some of these cannot turn complete circles while others can turn all the way (continuous turn). Some are also made to turn around multiple times (multi-turn) to sweep the entire resistance range.
- Trim Pots - These pots are commonly attached to circuit boards when it may be necessary to add tuning to a circuit. They are very small and may require a small screwdriver to turn.
- Linear & Slide Pots - These pots move in a linear motion. Slide pots are used for user-controlled tuning and would be found in such devices such as light dimmers. Linear pots are made to be mounted onto a device to measure linear position.
- Hollow-Shaft Pots - These are used in place of shaft potentiometers when space is limited. They are very thin (~3mm) and mount around a rotating shaft.
Applications
A rotary potentiometer can be used to measure the rotation of a shaft. It is easiest to use if the shaft being measured does not need to rotate continuously, but rather has a range of motion of less than 360 degrees. You can attach the pot to a shaft via gears. By using a gear ratio other than 1:1, you can adjust the range of motion and precision of your angular sensor.
Connecting the potentiometer to the PC/104 Stack
Use the circuit below to connect a potentiometer to the PC/104 stack. You can supply the potentiometer with any supply voltage, but remember that the PC/104 analog INs can only handle +/- 10V. The PC/104 won't read the exact voltage/resistance directly, because there is a 1k resistor in between the terminal and ADC (see PC104 I/O). In correct this, you can use a large resistance POT (if you have that freedom) or you can correct the error in software.