EveryCircuit
Contact
Reviews
Home
smg2006
modified 9 years ago

Measuring the amplitude of a sine wave with an MCU.

1
0
121
01:15:20
If you ever plan to measure the amplitude of a sine wave with a MCU by using the analog to digital converter (ADC), you will realize that the sampling frequency of the ADC and the timing for when to perform the measurement is crucial. This circuit allows for a simple measurement of a DC voltage for determining the sine wave amplitude by cutting the sine wave in halv and only keeping the positive half wave of the sine and then low-pass filtering it. The low-pass filter must have its knee near the sine wave frequency in order to achieve a shorter settling time. The output of the measurement must then be divided by 0.3197 in order to the the amplitude. (the value may be slightly incorrect. I will fix it later.)
published 9 years ago

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy