Author Options:

how to connect a sensor to act as a potentiometer? Answered

 I deed to connect distance measuring sensors with my keyboards potentiometers so they become midi volume controls


The forums are retiring in 2021 and are now closed for new topics and comments.

10 years ago

Sharp IR sensors?  With analog outputs, I assume?  That depends very much on the keyboard.  If the potentiometers inside the keyboard are acting as voltage dividers and are simply feeding a reference voltage into a secondary voltage controlled amplifier, then it should be easy enough to hack the sensor directly onto that control line.

However, if the pots are controlling the analog signal itself, it will be much, much harder.  Sadly without a schematic for the keyboard I can't help beyond that.