Hello everyone.
What do I have:
An arduino board that generates a sine via Direct Digital Synthesis.
The frequency of the sine wave is varied between 50Hz and 2kHz.
This is first filtered through a low pass to get a real sine wave and then over a high pass to get a symmetrical bias of -2.5V to + 2.5V.
What do I need:
Then I would like to provide the signal with an adjustable gain, which can be adjusted via the Arduino, so it is from min. +/- 2.5V to max. Can be up-regulated +/- 5V.
What do I have for solution approaches:
The first thing that comes to my mind is a non-inverting operational amplifier with a remote controlled potentiometer, so that the overall circuit would look something like in the attachment.
What are my problems:
First I do not know how to find the right op amp for my purpose.
Furthermore, I do not know what the best solution for the adjustable potentiometer is.
There are 3 possibilities:
1.) A voltage-dependent resistor that is controlled via an analog output of the Arduino.
2.) A digitally controlled potentiometer, which is controlled via the I2C interface of the Arduino.
3.) A digitally controlled potentiometer, which is controlled via the SPI interface of the Arduino.
What are my questions:
Which parameters should I pay attention to when choosing the operational amplifier?
Which of the 3 options for the controlled potentiometer would you prefer and why?
Best regards Rabobsel