Going Beyond Arduino # 8: PWM as a Digital to Analog Converter

By connecting a low-pass filter to the PWM output, we are able to generate a voltage. The voltage can be varied by varying the PWM duty cycle. This video demonstrates this by generating a sine wave. Previous video on PWM:    • Going Beyond Arduino #6: Timer 0 and PWM   Source code is available at: https://github.com/hollingerc/going-b...