10k slide potentiometer wiring

hello, how are you all?

im a newbie in arduino and this is my first time i try to use it.
im trying to follow a tutorial, and stumbled on this.

im trying to wire like this

but what i bought is nothing like the photo, i have 6 pins, without any diagram to know how can i wire.

how to know how to wire?

if this wont work for me, i also bought the arduino potentiometer.

can someone tell me the directions to be able to wire like the first photo?

thank you for your help

Wire one GND and VCC pin on the slider to the corresponding pins on your Arduino and the third pin of that set to an analogue input. Ignore the second set of pins on the slider

OK, I confess, there does not seem to be any help for this on a Google search. I answered the same question a little while back but for a quite different pin arrangement. :roll_eyes:

What you have is a stereo potentiometer - two potentiometers side-by-side.

So you ignore one set of pins on one long edge. Obviously the centre pin is just the metal casing which would be grounded in an audio circuit. On one side then, the end pins should be (but this may need to be checked) the two ends of the resistance that you connect to Vcc and ground.

Both of the inner pins should be the variable wiper to connect to your analog input so you only need to use one of them, but you should really check that the two inner pins are indeed connected together. You can do this with a multimeter (and you really must have one for this hobby/ occupation) or using a LED and 1k resistor in series with the 5 V Arduino supply. :grinning:

Procedure:

  1. position the slide in the middle
  2. pick any pin
  3. meter all the pins until one of them reads the same ohms that the pot is rated for, e.g. 10K

repeat 1-3 until you are successful.

You have already found 2 of the pins...

  1. keep metering more pins while remaining on the first pin you chose, in 1-3 when it worked

  2. When you find a reading that is somewhat less than the example 10k, you have found the third pin, the wiper pin.

  3. position the wiper at the bottom

  4. meter from the wiper pin you found in step 5, to both of the 2 pins you found in steps 1-3. When you read zero ohms, you have found the lower resistor contact. The other is the upper.

1 Like

Hi,
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".
OR
http://forum.arduino.cc/index.php/topic,148850.0.html.

Do you have a DMM?

Can you please tell us your electronics, programming, arduino, hardware experience?

Thanks.. Tom... :slight_smile: