

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 in electronic circuits. They are essential components in both analog and digital systems 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. Connected to a fixed voltage or ground. |
| 2 | Wiper | The adjustable middle pin. Outputs a variable voltage based on the position. |
| 3 | Terminal 2 | The other end of the resistive track. Connected to a fixed voltage or ground. |
Connect the Terminals:
Adjust the Resistance:
Use as a Voltage Divider:
Below is an example of how to use a potentiometer to control the brightness of an LED using an Arduino UNO.
// Arduino code to read potentiometer value and control LED brightness
const int potPin = A0; // Potentiometer connected to analog pin A0
const int ledPin = 9; // LED connected to digital pin 9 (PWM pin)
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 control AC voltage?
A: Potentiometers are primarily designed for DC circuits. For AC voltage control, consider using a variable transformer or a triac-based dimmer circuit.
Q: How do I choose the right potentiometer for my project?
A: Consider the required resistance range, power rating, and physical size. For precision applications, choose a potentiometer with a low tolerance.
Q: What is the difference between a linear and logarithmic potentiometer?
A: A linear potentiometer changes resistance proportionally to the knob's position, while a logarithmic potentiometer changes resistance exponentially, often used in audio applications.
By following this documentation, you can effectively integrate a potentiometer into your electronic projects for precise control and adjustment.