I'm using a 555 timer to generate a triangle waveform with a DC offset. I would like to feed the waveform into a comparator along with an AC signal with zero offset to get a PWM signal, so I need the average voltage of both waveforms to be equal. I'm trying to do this with an DC coupling capacitor to make the triangle waveform centered around 0V, but I'm only getting negative voltage after the capacitor. Why is this happening? How can I get a triangle waveform from the 555 with zero DC offset?
555analoghigh pass filter