I built waveform generator using AD9833. It can produce sine and triangular wave with amplitude about 1.6 V and square wave with amplitude of 4.5 V. I'm searching for some circuit which can control amplitude of output wave and this amplitude can be set by arduino so something like PWM should be used.
In conclusion I am searching for a circuit which has:
First input - square, triangle or sine signal, frequency 1Hz to 1MHz. Signal is produced by AD9833. Its impedance should be 200 Ohms. Amplitude is 1.6 V for sine and triangle and 4.5 V for square.
Second input - signal from arduino about set amplitude
Wanted output - input signal with modified amplitude between 0 - 12 V. This output amplitude should be set by arduino.
I would like to hear some ideas which circuit should I use. I'm still a beginner and I need your help. Thanks for reply. I look forward to your ideas for solving my problem.