I started working on a digital POT system for amp control. The idea is to use digital potentiometers (dpots) in place of standard volume controls and trim pots in an amp.
As can be seen in the photo, I have an arduino, a CmoyBB amp and a breadboard with an AD5206 chip on it. My ultimate goal for this particular system is to be able to control the volume (with balance control), bass boost and gain with one AD5206, and possibly control bias settings with another dpot. All these would be controlled from a single rotary encoder, with a push button for mode selection.
I am still working on the code, and as I am fairly new to coding this is taking some time. But I am making pretty good progress.
I have a pretty solid button read code, it will ignore very short button presses, but any button press longer than .1 second but less than 1 second will cycle a mode counter (this will eventually be volume>bass boost>balance>volume...etc), any press longer than 1 second will bring up a special mode(s), these will be used for gain and possibly bias settings.
The code is getting fairly complex, and I have the volume section working at the moment, I had the BB working as well, but needed work as it would transfer settings from BB to volume and vise-versa, once I added code to split everything up i broke it somewhere. But that's the fun part of doing this.
As can be seen in the pic, I have it attenuating the input signal into a Cmoy, once I get the code working the way I want, I will remove the BB resistors and the gain resistors and wire those to the AD5206 as well.
Then I will start on adding code to control a small OLED display.
The current code could talk with a serial LCD i have, but it is too big for the intended application.
Not seen in the pic is the rotary encoder attached to the three wires coming off the lower left hand corner of the breadboard.
I may eventually build a system to install on some of my amps, I have a PPAv2 and a Mosfet-MAX that would be cool to mod.
For those applications, a muti-pot single chip would not be ideal, the best bet would probably be individual IC's on small boards that could directly replace the on board pots.
Joe















