Going Beyond Arduino # 8: PWM as a Digital to Analog Converter
Craig Hollinger
0:00 / 0:00
Going Beyond Arduino # 8: PWM as a Digital to Analog Converter
38 413 просмотров · 9 лет назад
Craig Hollinger
5,03 тыс. подписчиков
38 413 просмотров · 9 лет назад
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...