Hi,
I am building a function generator. The output functions (sine/traingle/square) all have amplitude 5V(thus 10Vpp). This is the maximum required output amplitude.
I want to use a PIC to digitally attenuate the signal. Does anyone have any circuit ideas? Digital Pots with the required voltage ranges are quite expensive where I live and have only a maximum resolution of 8bits. I have seen circuits using 12bit DAC's, however, again these DAC's with +-5V support are expensive.
maybe I can scale the signal first, then attenuate/amplify and scale again? this would probably create noise though....
thanks
I am building a function generator. The output functions (sine/traingle/square) all have amplitude 5V(thus 10Vpp). This is the maximum required output amplitude.
I want to use a PIC to digitally attenuate the signal. Does anyone have any circuit ideas? Digital Pots with the required voltage ranges are quite expensive where I live and have only a maximum resolution of 8bits. I have seen circuits using 12bit DAC's, however, again these DAC's with +-5V support are expensive.
maybe I can scale the signal first, then attenuate/amplify and scale again? this would probably create noise though....
thanks