How do I connect this linear Potentiometer to the Arduino?

how do i connect this linear potentiometer to Arduino?

Get your multimeter out and measure the resistance between the different pins; vary the position of the slider.

Between 2 of the pins, you should have 10k which will not change when you vary the slider. Between one of those two pins and one of the other pins you will have a reading depending on the position of the slider.

The first two pins with the constant resistance will be connected to GND and Vcc; the slider pin will be connected to an analog input.

I'm not sure why I see 4 pins, you might have two ground pins that are probably connected ( zero ohm); check that. If you have that, it's advisable to connect those to the GND of the Arduino.

Perhaps the "spare" one is for better mechanical stability.

Just measured one I have like this

The other three pins are not connected to anything, they are just for stability of mounting.
Swap over the ground and +5V for it to go the other way.

What is that funny tab on the right hand side?

Thank you very much

this worked ,thank you very much

Not sure what you mean. There are four tabs on the right and two on the left. The top two only on the right are used. Anything else is just part of the mechanical construction and is not used electrical, in any case they are electrically isolated from the three main tabs.

Yes, I meant the "finger" in the middle of the right hand opening. :grin:

On the pots I have this finger is vertical, just like the one on the left hand of the picture which is hard to see simply because it is vertical.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.