How DualPWM works part 2 - How to configure faster PWM on an Arduino and resistor values.

preview_player
Показать описание
In this video I go through TWO of the THREE steps needed to get a good 16bit "analog" output from an Arduino. It is a very theory dense video about registers and binary math. If you are interested in just how to set the registers to get faster PWM check the chapters, and the Cheat sheet.
This is the second video about how DualPWM works, where the first video I showed how it works, and in this video we dive deeper into how to configure the Arduino to get a better analog signal out. We do this by speeding up the PWM frequency outside of the hearable range with register manipulation, and by tuning the resistors for the two pwm outputs so there is a good ratio between the two. In the next video I will show how to filter the signal to get the final actual analog output.

The simple code with a lot of comments:

Modular in a Week playlist:

My Tindie store:

Support my work by becoming a Patreon:

Рекомендации по теме
Комментарии
Автор

I'm looking forward to part four of this trilogy!

feudiable
Автор

Great video - well worth watching in whole. Good that you pointed out and explained the accuracy problem.

MeeBilt
Автор

Thank you very much for putting together this series! Very helpful!

GoGoGoRunRunRun
visit shbcf.ru