I got a square waveform~ how can I use a simple circuit to convert it to be a dc single?? and the single must be proportional to the peak-to-peak voltage of the square waveform!! is it possilble?? :cry:
This will yield a voltage proportional to frequency, which is not what you asked for. Crust's suggestion is fine so long as one of the levels of the square wave is at zero volts. If not, post a description of your waveform, including voltage levels, frequency, duty cycle, and anything else you can think of (such as what the waveform is generated by).ElectricWraith said:Use an LM2907 Frequency-to-Voltage converter. It's precisely what you need.
Here's a link for the datasheet https://www.national.com/pf/LM/LM2907.html#Datasheet