How do connect this fader?

Hi,

I got these guys here:
fader
data-sheet

but I can't figure out how to connect this to my arduino :confused:
can someone help me with understanding the data-sheet? what pin connect to what?

Left pin to ground, center pin to an analogue input, right pin to 5V.

hi,

thank you for the quick response.
thats what i thought, but this fader has four pins on the one .. and two on the other side

It sounds like you have the dual unit. If you do, you should have told us. What part number do you have?

oh, sorry .. i'm very new at all this. please be patient with me.

what do you mean by "part number"? there is only one (?)

It is difficult to be patient with you when you still have not answered the question.

The data sheet lists four standard models and shows 72 (!) possibilities including the standard models (not to mention others that might be available if one contacts ALPS).

Variations include length of travel, single versus dual units, resistance taper, total resistance, and something called "Type of operation unit".

You claim to want help understanding the data sheet and yet you deny us very important information.

According to the data sheet, the part number will look like RSx0N1x1-xx-xxxx where each "x" depends upon the model that you have.

Once again: What part number do you have?

ah okay, now I see..

it is the RSA0N12-LIN10K
(this should be the last one.. with 100mm Taravel and Dual)
..sorry for that I'm a lillte dumb at this.. but thank's for the explanation.. I swear I will try to do better :slight_smile:

Thanks! Unfortunately, that is not the way that ALPS designates these parts in their data sheet.

However, there really are only two possibilities (at least according to the data sheet). Grumpy_Mike gave you one of them but assumed a different type of device, I think.

The other possibility is for a dual (stereo) unit:

Assuming a fader with four pins on one end and two on the other...

On the four pin end, the two pins in the center to +5 volts.
On the four pin end, the two pins on the outside to Arduino analog inputs.
On the two pin end, both pins to ground.

If this moves in the wrong direction for you, you could do this...

On the four pin end, the two pins in the center to ground.
On the four pin end, the two pins on the outside to Arduino analog inputs.
On the two pin end, both pins to +5 volts.

Of course, since there is only a single lever, the two analog inputs will be very similar. You really only need one for your Arduino. In that case, you could disconnect one Arduino analog input and the +5 volts on that side.

The connections are shown on page 140 of the data sheet, in the figure titled "Terminal layout/Circuit diagram(Viewed from the mounting side)".

1 Like

Hi,
Your pin outs.
Dual_Slider.jpg
Can you tell us your electronics, programming, arduino, hardware experience?

Thanks.. Tom.. :slight_smile:

It any doubt exists from the documentation you get out a multimeter and measure it! Cannot go
wrong that way. Certainly for simple parts like pots and diodes and so forth.

Hi

thank you all :slight_smile:

On the four pin end, the two pins in the center to +5 volts.
On the four pin end, the two pins on the outside to Arduino analog inputs.
On the two pin end, both pins to ground.

this seems to work, but I got a few more questions on this :slight_smile:

#1 I have connected the

On the four pin end, the two pins on the outside to Arduino analog inputs.

to my A4 and A5 .. do I have to monitor both inputs? what is the difference between a normal fader with three pins and this dual-fader with 6 pins? .. i mean.. I do a simple

const int analogInPin = A4;  
int sensorValue = 0;  

void setup() {  
  Serial.begin(38400);
}

void loop() {  
  sensorValue = analogRead(analogInPin);
  Serial.println(sensorValue);
}

but the fader sends 1023 when is just ca 1/2 - 3/4 opened .. how do i get this "resolution" fixed?

do I have to monitor both inputs?

No they will give you the same result so there is no point. The point of your double fader is that it can be used on a stereo signal, one volume control in each channel.

In reply #8 you have to connect pins marked 1 to ground and pins marked 3 to 5V.

Hi,
Do you have a DMM to measure your control?

Tom... :slight_smile:

AdmiralCrunch:
. . .
but the fader sends 1023 when is just ca 1/2 - 3/4 opened .. how do i get this "resolution" fixed?

The potentiometer is not linear. It seems to me to be the one with a resistance taper of 15A. That means that the scale is logarithmic and, when the slider is at the mid point, the resistance (between terminals 1 and 2) will be 15% of the total resistance of the potentiometer.
You can invert the effect by swapping terminals marked 1 and 3.

Edit:
You could possibly make the potentiometer more linear if you connect pin 1 on one side to pin 3 on the other side and measure the resistance between the two pins marked 2. That way, the tapers on each side may cancel each other out. But you may get some surprising results.

thanks for the explanations :slight_smile:

Edit:
You could possibly make the potentiometer more linear if you connect pin 1 on one side to pin 3 on the other side and measure the resistance between the two pins marked 2. That way, the tapers on each side may cancel each other out. But you may get some surprising results.

unfortunately this did not work..

but I found out, that connecting it to 3.3V somehow solves the problem.. now I got the full "resolution" :slight_smile: