Simulation of Low-Frequency Sine Wave Generator with DDS Method Based on Arduino Uno using SimulIDE Simulator
Muhammad Nurul Puji, Winda Astuti · 2022
DDS (Direct Digital Synthesis) is a method to produce analog waves using digital techniques. Analog waves can be sine waves, square waves, triangular waves, or others. This research used SimulIDE simulator software to simulate electronic hardware or hardware, an Arduino Uno microcontroller, and Oscilloscope. This research utilized the PWM (Pulse With Modulation) feature on the Arduino Uno microcontroller, where the amount of duty cycle was regulated using the DDS method. A Low Pass filter was needed to remove high-frequency signals from the PWM base frequency. The system was made with source code design using two ways, the first source code used timerO and timerl directly while the second source code used the delay() and analogWrite() functions that had been provided by Arduino. From the research results, the output waveform had a sine shape and a frequency that was in accordance with the calculations at the time of software design. The use of dual low-pass filters could reduce/eliminate high-frequency signals originating from the PWM base frequency.