Using 250k (audio taper) pot with Arduino?

So I'm trying to modify my passive volume pedal to be a volume pedal / USB (arduino teensy) expression pedal. So it would still function as it normally does with the 250k(audio) part of the dual-ganged pot, or if the USB (arduino) is plugged in, it would function as a MIDI-over-USB expression pedal.

Initially I thought about getting a dual-ganged B10k / A250k so each gang would serve its ideal purpose, the A250k for volume and the B10k for the arduino/expression.

I've had a hard time finding a pot that is A250k/B10k, much less that is a compact frame with a long shaft, like what will be needed for the mounting:

I have managed to find a compact, long shafted A250k/A250:

So that would work for the passive volume part, but leaves me with a tricky situation of using an A250k pot with an Arduino. I've always used B10k.

Is there a way to use an A250k pot with an Arduino and still have a linear output? (Its final output will be 0-127 MIDI-over-USB)

OR

Does anyone know of a brand that makes A250k/B10k dual-ganaged pots?

What voltages are you talking about? I assume you want to connect it to one of the analog input pins.

Maybe a buffering opamp between the 250k and the arduino?

Yeah sorry I should have been clearer. I want to use one of the analog input pins.

Would buffering just resolve the impedance (250k vs 10k) or the taper (log vs linear) or both?

Bourns used to make 'modpots' on which you could stack several (different) resistance/taper units onto a shaft .

regards

Allan

It will just solve the impedance. Sorry, did not understand that the 'linear' that you referred to indicated that the potentiometer was logarithmic.

An analogue input has no problems reading a 250k pot.
But because of the higher impedance, hum/hash pickup could be a problem.
If the wires are long (>20cm), use shielded (audio) wire.
Two consecutive analogue readings, and only using the second one, could also be needed for stable readings.
"Log" might be your biggest problem.
You can try to make readings of that 250k log pot more lineair by enabling the internal pullup resistor of the analogue pin by adding.
pinMode(A0, INPUT_PULLUP); in void setup()
Assuming A0 is the potPin.
Leo..

It seems the OP wants to retain his existing 250k log pot to control the analog volume, and another coupled linear pot to be read from the arduino for other purposes... am I right?

Allan

You can plot the resistance values as you swing the pot from 0 to 250K, say getting 10 values as close to uniformly spaced as possible. Now you can linearize by first mapping the 10 values you got to a linear ramp up from 0 to 250 K. Now google "piecewise linear" and you will see how to create a correction in software for your logarithmic input.

allanhurst:
It seems the OP wants to retain his existing 250k log pot to control the analog volume, and another coupled linear pot to be read from the arduino for other purposes... am I right?

I understand OP wants to replace his single 250k log pot with a dual gang 250k log pot.
Because he can't get a double 250k log and 10k lin.

jrdoner:
You can plot the resistance values as you swing the pot from 0 to 250K, say getting 10 values as close to uniformly spaced as possible. Now you can linearize by first mapping the 10 values you got to a linear ramp up from 0 to 250 K. Now google "piecewise linear" and you will see how to create a correction in software for your logarithmic input.

A pullup resistor, as explained, can be used to pull a log pot towards lin behaviour.
Not ideal, but probably usable.
Leo..

allanhurst:
It seems the OP wants to retain his existing 250k log pot to control the analog volume, and another coupled linear pot to be read from the arduino for other purposes... am I right?

Allan

Yeah that's correct.

I did think of a lookup table as well, but worried that in the extreme ranges that it would get steppy or inconsistent, which wouldn't be ideal for the purposes of a pedal controlled expression thing.

There are the "mod pots" too, which I hadn't ever heard about:

I submitted for a quote, but since it's only one, I can see that being quite expensive.

Is there a place that just sets the components piecemeal? I don't need especially weird values (250k audio taper and 10k linear).

Oh, I kind of have a feeling that "audio taper" is "reverse log" is that right? Or is it regular log?

kriista:
I did think of a lookup table as well, but worried that in the extreme ranges that it would get steppy or inconsistent, which wouldn't be ideal for the purposes of a pedal controlled expression thing.

If the 10-bit analog inputs on the Arduino are not good enough, you could use one of these inexpensive 16-bit external adaptors:
16-Bit-I2C-4-Channel-ADS1115-Mod.jpg

kriista:
Oh, I kind of have a feeling that "audio taper" is "reverse log" is that right? Or is it regular log?

A = audio = log
B = lin
C = reverse log

Hi Kriista.... I was right - you can get pots with all sorts of odd sections - except that Honeywell make them now...

see Safety and Productivity Solutions | Honeywell.

All sorts of laws and values.

regards

Allan

Wawa:
A = audio = log
B = lin
C = reverse log

Perfect! I figured as much, but didn't want to screw the pooch ordering a custom/weird pot and have it be wrong.

allanhurst:
Hi Kriista.... I was right - you can get pots with all sorts of odd sections - except that Honeywell make them now...

see http://sensing.honeywell.com/modpot.pdf.

Perfect! Will have a thorough look.

Ok, a bit of a bump.

So wasn't able to order a modpot as one of the elements was out of stock and they'd have to order them in in bulk.

So I've been looking at more DIY options, like buying a dual-ganged 10k/10k that uses conductive plastic elements, and kind of cracking it open and sliding in an A250k into one of them.

Has anyone done that kind of pot surgery?

Try this family at Digikey

"Multi Gang Versions Available"

Or these perhaps, 10K and 250K

You're using the pot sections as ratio dividers - so the actual resistance values aren't that important - have you checked what values are available?

100k to 1Meg may do for the audio, 5k -50k for the linear bit.

regards

Allan

CrossRoads:
Try this family at Digikey
1624191-3 TE Connectivity Passive Product | Potentiometers, Variable Resistors | DigiKey
"Multi Gang Versions Available"

This looks nice and compact, but I would worry about the stability of the body of this as it would be in a foot pedal, so there would need to be some structural strength.

CrossRoads:
Or these perhaps, 10K and 250K
450D103KSD4 CTS Electrocomponents | Potentiometers, Variable Resistors | DigiKey

450D254KSD4 CTS Electrocomponents | Potentiometers, Variable Resistors | DigiKey

The CTS ones on the other hand are sturdy as shit! However the shaft bit just pops in or is held in way via friction?

I ended up googling my way to these:
http://www.ebay.com/itm/Japan-ALPS-RK27-VOLUME-Potentiometer-Dual-10K-10KAX2-Slotted-/152153113409?hash=item236d084341:g:FvYAAOSwuzRXeGeX

And they appear to make them in a couple of different resistances. It looks like the bottom just unscrews too.

allanhurst:
You're using the pot sections as ratio dividers - so the actual resistance values aren't that important - have you checked what values are available?

For the Arduino/digital part that makes sense, but wouldn't it need to be an actual A250k if being used as a purely passive pot?

For the Arduino/digital part that makes sense, but wouldn't it need to be an actual A250k if being used as a purely passive pot?

Nope - just like the linear pot - given that drive source impedance is low enough and the output sink impedance high enough, the actual nominal value doesn't matter.

regards

Allan