Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Measuring sine wave altitude by adc

$
0
0
Hey everyone,

I am currently struggeling in measuring a one way rectified sine wave with my arduino board. I have a function generator which gives me a sine wave. I rectify it by a diode and measure the signal with my adc. No problem so far.
Now I just like to have the maximum point of the sine wave, but my code gives me the right values sometimes, sometimes the wrong values. I know why, but I am not that experienced to solve the programming task here by myself. I am continuosly asking the...

Measuring sine wave altitude by adc

Viewing all articles
Browse latest Browse all 4923

Trending Articles