A simple but interesting experiment: with the use of simple mathematical functions it is possible to generate waveforms such as square, saw and sine wave and still apply a low pass filter on the square wave, as I demonstrate in the video. This application is known as Numerically Controlled Oscillator (NCO), which is the basis of DDS AD9850 for example. Of course, for practical use it would be necessary to use a higher processing power MCU.I am using the IDE connected to Arduino Uno. The graph plot is done by the IDE's serial monitor (serial plotter).
Below are images of plotted waveforms:Instructions:
Connect Arduino Uno to PC or Notebook via USB cable, choose one of the functions to be plotted (SAW, SQR, FILTER and SINE), load the sketch in Arduino Uno, go to the Tools menu and open the Serial Plotter.
Enjoy - Julio Cesar - JCR
Comments