

A potentiometer, often referred to as a "pot," is a variable resistor that allows users to adjust voltage levels in a circuit. It features a rotating or sliding contact that changes the resistance between its terminals. This smaller version of the potentiometer is compact and ideal for applications where space is limited.








The potentiometer has three pins, as described below:
| 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 rotation. |
| 3 | Terminal 2 | The other end of the resistive track. Connect to ground or voltage source. |
Voltage Divider Configuration:
Variable Resistor Configuration:
The potentiometer can be used to provide an analog input to an Arduino UNO. Below is an example circuit and code:
// Potentiometer Example with Arduino UNO
// Reads the potentiometer value and outputs it to the Serial Monitor.
const int potPin = A0; // Define the analog pin connected to the potentiometer
int potValue = 0; // Variable to store the potentiometer value
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
potValue = analogRead(potPin); // Read the analog value from the potentiometer
Serial.print("Potentiometer Value: ");
Serial.println(potValue); // Print the value to the Serial Monitor
delay(100); // Small delay for stability
}
No Output Voltage from the Wiper:
Inconsistent or Noisy Output:
Potentiometer Gets Hot:
Arduino Reads Incorrect Values:
Q: Can I use a potentiometer to control an LED's brightness?
A: Yes, you can use a potentiometer to adjust the voltage or current supplied to the LED, often in combination with a transistor or PWM control.
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.
Q: Can I use a potentiometer as a switch?
A: Not directly. However, you can use it to create a threshold voltage that triggers a digital input when combined with a comparator circuit.
Q: What is the difference between a linear and logarithmic potentiometer?
A: A linear potentiometer changes resistance proportionally to the rotation angle, while a logarithmic potentiometer changes resistance exponentially, often used in audio applications.