i am using AT 89S52 microcontroller and we want to measure average value of a signal with frequency between 10khz-15khz. is there any ADC IC available which will directly give me an average value ? if there is any other solution please let me know.
that, of course is 66us
Erik
If your signal is either 5V or 0V (rectangular or in special square wave) it should be sufficient do sample this two states and calculate the on/off ratio.
"If your signal is either 5V or 0V (rectangular or in special square wave)..."
Just to be clear that I'm uderstanding you here:
Are you saying that, if you can assume that the signal is a perfect square wave, and that the two states can only ever be precisely 5.00V and precisely 0.00V, then there is no point in having an Analogue-to-Digital converter?
Yes?
That is one valid method of measuring the pulse quote or the RMS or whatever for a rectangular wave of known amplitude.
If the amplitude isn't known, then it is possible to measure the peak voltage together with edge-detection.
There are a lot of special cases available as long as the wave-form or amplitude is known.
Yes! I thougt, the OP should get some alternative suggestions.