“You can connect it to the middle pin if you want — or just leave it unconnected”, I replied.
A potentiometer has three legs.
When you’re used to resistors with two legs, it might seem strange.
The two pins at the sides work as a normal, fixed-size resistor. If you have a 100k Ohm resistor, this value will be 100k Ohm.
Then you have the middle pin.
The middle pin is connected somewhere in between the two end points.
When you rotate the shaft of the potentiometer, the resistance between the middle pin and each of the end pins change.
Often, you only use two pins: The middle pin and one of the others.
That leaves you with an unconnected pin.
Often, the unconnected pin is connected to the middle pin.
But this doesn’t affect the circuit. It’s like connecting a resistor in parallel with a wire. Like I’ve done in this light-detecting circuit:
The potentiometer is just one of the basic electronic components I explain in my eBook “Getting Started with Electronic”:
Keep on Soldering!