View Single Post
  #1   Spotlight this post!  
Unread 17-01-2008, 04:57
kylehager kylehager is offline
Registered User
FRC #2385
 
Join Date: Jan 2008
Location: Oklahoma
Posts: 1
kylehager is an unknown quantity at this point
Help wiring potentiometer-to-Analog port

I picked up a 10k pot cheap at an electronics shop (for testing only) and am trying to connect it to the Analog port. The pot is a slider-style and has no markings on it. If anyone can help me figure out how to wire it I would be very appreciative.

There are 3 posts on this slider.
On one end there is a silver post (call it "A")
On the other end there is a silver post (say "B") and a gold post (call it "C").

Kind of like this (I'll try to "draw" it - pretend the dashes aren't there and that's space between the legs)

|----------------------------|-------|
|----------------------------|-------|
A--------------------------- C-------B
slvr------------------------gold-----slvr


A and B are on one side ("front" as pictured above) and C is on the other side ("back").

When I put a meter from A to B I get about 10k ohms regardless of the position of the handle.
When I put a meter from A to C I get close to 0 ohms when the handle is on the left and nearly 10k ohms when the handle is on the right (and about 5k ohms when it's in the middle)
When I put a meter from C to B I get nearly 10k ohms when the handle is on the left and close to zero ohms when the handle is on the right (just the opposite of the A to C measurement)

The way I read the diagram I should wire A & B to Red & Black (+5V & Ground) and wire C to White. Switching A & B around will only change which end of the pot gives me +5V vs. 0V. Is this right?

Can anyone verify or correct this?

Thanks

Last edited by kylehager : 17-01-2008 at 05:03. Reason: can't get the drawing to look right