I've been trying to pan an audio signal between 2 speakers, in a way that I could program it to create an autopan effect.
It seems an easy thing to do, but I have been struggling a lot with it and some help would be appreciated. Here is what I've tried to do:
1: Using Arduino with digital pot:
I tried to use the MCP4141 (100K) digital pot with an Arduino through SPI communication. It did work, but the resistance is not enough as in its highest resistance the sound is still audible. I even tried to use 2 pots in parallel to double the resistance, still, 200K was not enough and I realised I needed a much higher value. I tried to use a 1000K pot, the AD5241BRZ1M, which is the only one that seems to be available at 1000K (1M) resistance. However, not much information is available about it and I could not make it work with an Arduino. After many tries I had to give up.
Now I'm considering using a Teensy, but it seems to expensive for my project (teensy + audio board) and I don't know if it would work.
Is there any other solution?? Are there other types of potentiometers I'm missing?
Thanks.
Below is my attempt of using it with MCP4141 (with only 1 pot and 1 speaker, as if I make this work I can add the other later).
simulate this circuit – Schematic created using CircuitLab
MCP4141 datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/22059a.pdf