# Connecting a potentiometer

I know how to connect potentiometer, but to be honest I don't know why. I would really like to understand what I'm doing.

From what I have read the input voltage and the ground should be connected extreme terminals and the output to the middle one.

Now few questions:
1) What would happen if ground was switched with the output?
2) Why do we need all three terminals? Can't I just use two of them?

Edit 2014-07-11 9:47

So basically potentiometer is something like this. Few thoughts about potentiometer:
1) The total resistance of R1 and R2 is constant but we can split it as we want.
2) If we use just extreme terminals then it would behave like normal resistor.
3) It doesn't matter whether ground in connected to middle or extreme terminal.

Please correct me if I misunderstood the concept. simulate this circuit – Schematic created using CircuitLab

Edit 2014-07-11 10:49
Basically what I'm asking in question one and thought 3 is whether following circuit is correct if I want to measure voltage in analog input? • Your assumptions from the EDIT are correct. – Rev Jul 11 '14 at 8:29
• It's wrong. the middle terminal of the pot (the wiper) should go to the analog input and the other two terminals should go to 5V and GND. – EM Fields Jul 11 '14 at 9:18
• Do NOT connect GND to the center terminal (wiper) and 5V to either end terminal. If you do, and then turn the pot to that end, you will have a low resistance/short between 5V and GND! – DoxyLover Jul 11 '14 at 9:56
• think of the triple-pin layout, where two are 'on one side' together and one sticks out alone. the two which are on the same side together are the top and bottom of the two 'resistor' equivalents that you have shown in your digram, and the lone pin is the wiper, or the 'middle' point between the two variable resistors. you can make an adjustable resistor, or a cool built-in resistor divider (or really just a % of VCC (or whatever input voltage) which an ADC can read nicely. – KyranF Jul 11 '14 at 11:02

A potentiometer is just a variable resistor: -> The longer the "trace" from W to either A or B, the higher the resistance.

1) What would happen if ground was switched with the output?
2) Why do we need all three terminals? Can't I just use two of them?

In general nothing, a resistor has no polarity. However, it depends on how you intend to use it (connecting only two or all three terminals to essentially have two dependent resistors)

You understand the concept.