Revision as of 14:46, 6 July 2006
Potentiometers (or POTs) are variable resistors. They have three terminals with the center terminal being a center tap contact that slides across an element of constant resistance. As the contact moves along the element, the resistance from one of the end terminals to the center terminal changes.
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.
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 would rotate back and forth (as in a sensor "radar dish"). The easiest way to mount the POT to the rotating shaft is by using 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.