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
Thanks
Attachments
-
23.9 KB Views: 20