Is it possible to use 2 rotary encoders at once

controlencoderrotary

I'm working on this project: http://www.corsaclube.com.br/viewtopic.php?t=102183
I'm basically installing an iPad mini on the dash of my new car, but I'm facing a problem:
The iPad doesn't offer volume control when it's in Dock Mode and the head unit will be hidden behind the Tablet.
I was thinking in solder a second and identical rotary encoder as a "parasit" on the original one for the volume control, so I install that second one somewhere handy on the dash. The rotary encoder my head unity uses isn't optical, it's the "clicky" one (same feel of the scrolling wheel on some computer mouses, sorry for my ignorance)

Will it work? If not, how can I do that?

Best Answer

In general this may not be possible easily. The usual mechanical encoder connection appears as two switches with a common connection. Usually the common connection is connected to GND and the other two connections go to pullup resistors and to inputs on a micro.

The problem is that many encoders are not guaranteed to have both switches 'off' when they are at rest in the detent position. I have specified some that do not have a guaranteed state on one of the outputs in the detent position (could be open or could be closed). That allows looser tolerances on the manufacturing and will be more common on encoders with many pulses per revolution.

I suggest it might be easiest and most straightforward to wire a small DPDT toggle switch to switch between the two encoders. DPDT is enough- you can parallel the momentary switches (if present) and the encoder grounds can be connected together.