I need to rescale an input signal. The source signal is a sine wave with amplitude of about 5 Vpp and a DC offset of 2.5V. In other words, it swings between ground and +5V, centered on 2.5V. I need it to swing between ground and 3.3V, centered on 1.65V. The frequency is in the range of about 1 - 2.5kHz.
My first attempt was to use a fractional gain non-inverting opamp amplifier, but that got me a 3.3Vpp signal centered on 2.5V, swinging between .85V and 4.15V (appreciate ox numbers).
One idea I had was to AC couple the output of the amp, and then rebias it to the correct offset voltage, using a circuit like the one attached (copied from Learning the Art of Electronics), using the appropriate ratio resistors between 5v and ground.
Is there a better way to accomplish this? Maybe with a single step of attenuation and rebiasing?