Preamplifier Control

I'm trying to figure out what's the best way of controlling this Stereo Preamplifier http://www.electronics123.com/s.nl/it.A/id.311/.f with an arduino. Instead of manually controlling the preamp with potentiometers, I would like to use an arduino instead. I found this digital potentiometer http://arduino.cc/en/Tutorial/DigitalPotentiometer example using the arduino I2C wire library. It would work out great because I am already using most of my digital pins, so using SPI is out of the question.

Would this work, can any recommend another wiring and the best digital pot to use?

Your stereo preamplifier link is not working. Please try again.

Your digital potentiometer link is broken too, I think you mean this one:

It should work, as long as you keep the voltages seen by the digital potentiometer at its analog points within the power supply range you give it. The "best" digital pot depends upon your constraints: cost, number of steps, linearity, etc.

--
The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons

I've considered this for a project in the future. What sort of adverse affects could you expect by running the audio signal through the arduino for use as a digital pot?

Ok I think I found a winner, the AD5253 is a four channel digital potentiometer 50 k?.

@RuggedCircuits, why is it important to keep the voltages seen by the digital potentiometer within the power supply range you give it?

Because you don't want to destroy the chip :slight_smile: It's not an analog potentiometer, i.e., not a passive device whose ratings are limited by simply physical constraints of power dissipation. It's an active device with transistors and stuff and too much voltage will kill it.

Look at the AD5253 datasheet, for example. If you look on page 8 (absolute maximum ratings)it has the magic specification "Va,Vb,Vw to GND" listed as "Vss,Vdd". That is datasheet-speak for "do not apply a voltage to the "analog" Va, Vb, or Vw terminals beyond the power supplies".

--
The Arduino Drum Machine: MIDI development system with 14-track MIDI drum machine sequencer / groove-box software