Skip to main content
montoya
Associate
May 3, 2013 9:19 AM UTC
Question

Measuring a sinewave

Posted on May 03, 2013 at 11:19

Hello everyone, I am trying to measure a sinusoid signal via ADC. I used timer's trigger to obtain different samples. But i don't know how i can

synchronize

the trigger's time with the frecuency of the signal, to obtain a good measure.

And

then, how

I have

to process the data

that

I have

in

an array in

the

DMA

to obtain

the necessary information

?

Thanks

#adc-sine-measure
This topic has been closed for replies.

2 replies

Andrew Neil
Super User
May 3, 2013 12:25 PM UTC
Posted on May 03, 2013 at 14:25

''I am trying to measure a sinusoid signal via ADC''

What, exactly, are you trying to measure: Peak amplitude? Peak-to-Peak amplitude? RMS amplitude? Frequency? Period? or what??

''how i can

synchronize

the trigger's time with the frecuency of the signal''

Google ''Zero-Crossing''...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
montoya
montoyaAuthor
Associate
May 6, 2013 7:28 AM UTC
Posted on May 06, 2013 at 09:28

I want to mesure peak amplitude and frecuency.