Finally think I understand enough about op-amps to be dangerous...probably not...meh...maybe...
Designed this circuit to take a PIC's DAC output (pretty high impedance), buffer it, tap off it, shift it from 0-3.3v to +/- ~15v, and send it out to the D.U.T. And take the resulting signal back in, +/-15v, shift it back down to 0-3.3v for an ADC input to another PIC.
Drew it up, gathering the parts, gonna start on it tonight.
The DAC side...
Takes in the 0-3.3v signal from the PIC, which will be a "sine wave" using the PICs 5 bit DAC, with a frequency range of about 20hz - 10Khz at most. Since the PIC DAC output is a high impedance output, have to buffer it. Run it thru a voltage divider pot to modify the input signal to change the peak level at the output, A/C couple it to the opamp that's going to be doing the 'gaining', turn it up by 10x, and send it out. There's another opamp up there tied to the output to monitor the positive going peaks for some feedback for me to tweak the voltage divider pot (because eventually I'll be using SPI digital pots), 4.7K/1K voltage divider, a diode to keep only the positive going half, and a 3.6v zener just in case.
The ADC side...same thing in reverse...
Takes in the maximum +15v/-15v wave, buffers it, divides it down a bit, A/C couples it to the final variable gain stage, offsets it to ~1.65v center point (a bit more to compensate for the diode drop on the output), and sends it back out to another PICs ADC. The 3.6v zener diode on the output and the 1K/10K voltage divider are there to help protect the ADC on the PIC itself.
I'm using the TL084 opamp, just because I've got a handful in the bins. Will likely switch to something a bit more practical and able to drive harder and closer to the rails for the output opamp on the DAC side.
And I know I'm ignoring input offsets, instabilities, etc.etc.etc. This is try #1 of many I'm sure.
Any inputs from the gallery? (and I can duck any fruits/vegetables that are thrown at me!!!)