I have a need for something like that. I need to convert a square wave output to DC level. Basically the pulse freq. is 3.3KHz, VPP is 1V, -500mV to +500mV pulse.
Any help will be appreciated.
What DC level do you want to convert to? Will the DC level still have a square wave? Is the amplitude of the square what determines the DC level, or the frequency, or neither? Do you just want to add a DC level to the square wave?
One way that shouldn't involve many components could be to use an RMS converter (e.g., an AD737) to change the square wave into a DC voltage; then amplify/offset as needed with an op amp.