Shop OBEX P1 Docs P2 Docs Learn Events
A general question about the potentiometer (pot) and it’s 3 pins — Parallax Forums

A general question about the potentiometer (pot) and it’s 3 pins

SilverwaterSilverwater Posts: 2
edited 2011-01-14 11:57 in Learn with BlocklyProp
[FONT=&quot]A general question about the potentiometer (pot) and it’s 3 pins:[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]In the educational projects the “Potentiometer” is described as follow:[/FONT]
[FONT=&quot]{Reference: Basic Analog and Digital, Student Guide, VERSION 1.4, page 5}[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]“As the wiper gets closer to Vdd, the voltage measured at the wiper terminal will approach[/FONT]
[FONT=&quot]the value of Vdd, which is 5 volts. Likewise, when the wiper is closer to Vss, the voltage[/FONT]
[FONT=&quot]at the wiper terminal will be closer to Vss, which is 0 volts. As the wiper terminal travels[/FONT]
[FONT=&quot]between Vdd and Vss, the output measured at the wiper terminal varies between these[/FONT]
[FONT=&quot]two values in a manner analogous to a door as it opens and closes.”[/FONT]
[FONT=&quot]I get quite the opposite! As the wiper gets closer to Vdd the resistance goes up (gets to maximum) and the voltage approaches zero. Why is this?[/FONT]

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-01-14 08:50
    You get the opposite because something (the pot or Vdd/Vss or the meter you're using for measurement) is connected backwards.

    Voltage and resistance are always measured between two points in a circuit. If you're measuring resistance between the wiper and one end of the pot, as the wiper gets closer to that end, the resistance will approach zero. If you measure resistance that's going up, you're using the opposite end of the pot from the one you think you have. If the voltage is approaching zero, the wiper is getting closer to Vss (the zero voltage point in the circuit), not Vdd.
  • LeonLeon Posts: 7,620
    edited 2011-01-14 10:24
    When connecting a pot I always visualise how it operates, and wire it so that the voltage or signal is at maximum when it is turned clockwise. My PCB symbols for pots have a little arrow on them to remind me how they should be connected.
  • SilverwaterSilverwater Posts: 2
    edited 2011-01-14 11:12
    Thanks, Mike I now know my mistake.
    I had my voltmeter measuring between the wiper and end connected to Vss.
    Summarizing:
    Using a setup, that opposite the wiper are two ends; one connected to Vdd and one connected to Vss; the following is true:
    If the wiper is closer to the Vdd end, that end has higher resistance and therefore higher voltage, if the voltage is measured between the Vdd end and the wiper.(V=IR). So it goes to say, that the closer the wiper is to an end, the measured resistance at that end increases and the wiper voltage increases.
    Please confirm.
    The reason I’m asking is that you wrote in your response, “…If you're measuring resistance between the wiper and one end of the pot, as the wiper gets closer to that end, the resistance will approach zero…”. I performed this measurement with just the pot and an ohmmeter and measured that as the wiper gets closer to that end the resistance approached maximum; the opposite!?
    Please excuse me if I’m wrong again.
    Thank you for your time!
  • LeonLeon Posts: 7,620
    edited 2011-01-14 11:55
    You just need to visualise what is going on, as I suggested. If the wiper is close to the end connected to ground, the output will be close to ground. With the wiper at the other end of the track, you will get a high voltage.
  • Mike GreenMike Green Posts: 23,101
    edited 2011-01-14 11:56
    I don't know what you are measuring. Physically, you must measure a lower resistance between the wiper and one end of the pot as the wiper approaches that end. There is no way you can measure a higher resistance unless you have things connected wrong (like using the wrong end of the pot's resistance element). That said, you can't measure resistance accurately if there's power applied to the circuit. A meter measures resistance by applying a voltage to the resistance and measuring the amount of current that flows. If there's another source of power, it throws the measurement off.

    Inside the pot, there's a strip of carbon-based resistive material with connections at each end (the fixed ends of the resistance). There's a wiper that moves from one end of the strip to the other and a low resistance (essentially zero resistance) contact to that wiper. As the wiper moves closer to one end of the strip, there's less and less resistive material between the wiper and the fixed contact at the end of the strip, therefore less resistance. When the wiper reaches the end and touches the fixed contact at that end, there's essentially zero resistance between the wiper and the fixed contact. If you measure the resistance between the wiper and the other fixed contact (at the other end of the strip), you'll essentially measure the resistance of the entire length of the strip.
  • Mike GMike G Posts: 2,702
    edited 2011-01-14 11:57
    If you have an ideal 100k POT then the resistance across the whole POT is 100k. If the wiper is in the middle then the resistance measured from wiper to either end of the POT is 50k. As the wiper is turned, one side (measured wiper to end) will increase in resistance while the other side decreases. The total resistance (adding both sides) is always 100k. From there it's just a matter of Ohms law.
        5       5
    (-) ---------- (+)
            ^ 
    
       2.5    7.5
    (-) ---------- (+)
          ^
    

    If you have 10V across the 100k POTs above. The first one, as measured from wiper to ground, is 5V on both sides. In the second you have 2.5V in one side and 7.5V on the other.

    Just get a POT and a multimeter in resistance mode. Connect one lead of the meter to the wiper and the other lead to one of the remaining POT nodes. Turn the POT and watch the meter.
Sign In or Register to comment.