Eliminating sine offset with op amp

Thread Starter

Mikołaj Koszel

Joined Nov 24, 2018
1
I generate a sine from PIC16F DAC. As the result I get a sine wave from 0 to 5V. I would like to eliminate offset and get sine wave from -2.5V to 2.5V. What's important I also change amplitude of sine from ( 0 to 2.5V). For example when amplitude is 1.5 V, I want to gen -1.5V to 1.5V sine from 0 to 3V. I tried to use capacitor(3uF) in series with input and resistor in parallel (100k). It works in LTSPICE. Will it also works when I will connect it to microcontroller? What are other solutions of my problem.
Thanks
 

Attachments

ericgibbs

Joined Jan 29, 2010
10,204
hi MK,
Welcome to AAC.
If you want to change a 0V to 5V Sine wave signal to +/-2.5V, you have to Add Offset.
Post your LTSpice 'asc' file and we can show you how to modify the circuit.
E
 

dl324

Joined Mar 30, 2015
10,985
Welcome to AAC!

Using a capacitor to AC couple the signal is the usual way. This is how Tektronix did it in the 7A26 vertical amplifier:
upload_2018-11-30_7-49-47.png
 
Top