

A potentiometer is a variable resistor that allows users to adjust voltage levels in a circuit. By varying its resistance, it enables control over current flow and signal levels. Potentiometers are widely used in applications such as volume controls, light dimmers, and as input devices for microcontrollers like Arduino. They are essential components in both analog and digital electronics for fine-tuning and calibration.








Potentiometers typically have three pins. The table below describes their functions:
| Pin Number | Name | Description |
|---|---|---|
| 1 | Terminal 1 | One end of the resistive track. Connect to the voltage source or ground. |
| 2 | Wiper | The adjustable middle pin. Outputs the variable voltage based on position. |
| 3 | Terminal 2 | The other end of the resistive track. Connect to ground or voltage source. |
Basic Voltage Divider:
Current Control:
Microcontroller Input:
Below is an example of how to use a potentiometer to control the brightness of an LED using an Arduino UNO:
// Define pin connections
const int potPin = A0; // Potentiometer connected to analog pin A0
const int ledPin = 9; // LED connected to digital pin 9 (PWM capable)
void setup() {
pinMode(ledPin, OUTPUT); // Set LED pin as output
}
void loop() {
int potValue = analogRead(potPin); // Read the potentiometer value (0-1023)
// Map the potentiometer value to a PWM range (0-255)
int ledBrightness = map(potValue, 0, 1023, 0, 255);
analogWrite(ledPin, ledBrightness); // Set LED brightness
}
No Output Voltage:
Inconsistent or Noisy Output:
Overheating:
Q: Can I use a potentiometer to directly control a motor?
A: No, most potentiometers cannot handle the high current required by motors. Use a motor driver or transistor circuit instead.
Q: What is the difference between a linear and logarithmic potentiometer?
A: A linear potentiometer changes resistance uniformly, while a logarithmic potentiometer changes resistance exponentially, often used in audio applications.
Q: How do I know the resistance value of my potentiometer?
A: The resistance value is usually printed on the body of the potentiometer (e.g., "10k" for 10 kΩ). You can also measure it with a multimeter.