On a sunny day (Sun, 20 Jan 2008 16:19:10 +0000) it happened Baron wrote in :
Hi Guys,
>I want to measure the peak amplitude and duration of a non repetitive
>signal from a transducer. Ideally as a pair of numbers on a four digit
>LCD display.
>Looking at the signal on a scope gets me around 500mv pp maximum and a
>frequency of 5.500 Khz lasting for five or six cycles.
>Looking at specs for various ADC's suggests that I would need to have a
>sample rate of twice the maximum expected frequency or around 10ksp.
>Something to do with "Shannon Nyquist"!
>Since I want to measure the signal duration I would need to be able to
>trigger the start of sampling and store the result. I have no idea how
>to obtain a trigger signal.
Have the ADC run continuously, and software compare the output to your trigger level. Once you find 'trigger' then keep the part just before to just after.
Some sort of ringbuffer and some micro with some ADC could work. You need RAM.
Is that 5.5 kHz? Then you can use a PC with soundcard, and record the wave. Looking at the recorded wave file with a sound editor will give you all the info you want.