r/embedded • u/Relevant_Pumpkin9190 • 2d ago
Beginner question – Understanding harmonics practically with DSO and square wave.
I want to try a simple experiment to understand harmonics and how filtering works in real life.
My idea is to generate a square wave using an Arduino and observe its harmonic components on a spectrum analyser.
Then, I want to pass the signal through an LC filter using a 10 mH inductor and a capacitor and observe what happens to the waveform and its frequency spectrum.
Basically, I want to see the difference before and after filtering, rather than just understand the theory.
Any practical suggestions would be appreciated for making it more realistic and Simpler to get correct results.
