Uploaded February 2024 | Updated November 2026, 1 day ago
To use the arduino in a modular setting, a good "analog" output signal is vital. In this video I try to make a 10 bit "analog" output by using port manipulation to use 10 output pins into an R2R network, to create a much nicer signal than the 8 bit pwm signal that is called to do an analogWrite to a pin.
A video with lots of tinkering and explaining concepts, and not so much modular fun ;)
Read the article about port manipulation that I refer to in this video:
deepbluembedded.com/arduino-port-manipulation-registers-example
The image that I used to describe the R/2R DAC can be seen here along with some more info on how it works:
allaboutcircuits.com/textbook/digital/chpt-13/r-2r-dac
Modular in a Week playlist:
youtube.com/playlist?list=PLyE56WXw0_5Q5QGMEXWmskuhojKyRdA3T
My Tindie store:
tindie.com/stores/Sourcery
Support my work by becoming a Patreon:
patreon.com/SourceryOne
Join the discussion on the Discord server: discord.gg/pZtVheVCTW
To use the arduino in a modular setting, a good "analog" output signal is vital. In this video I try to make a 10 bit "analog" output by using port manipulation to use 10 output pins into an R2R network, to create a much nicer signal than the 8 bit pwm signal that is called to do an analogWrite to a pin.
A video with lots of tinkering and explaining concepts, and not so much modular fun ;)
Read the article about port manipulation that I refer to in this video:
deepbluembedded.com/arduino-port-manipulation-registers-example
The image that I used to describe the R/2R DAC can be seen here along with some more info on how it works:
allaboutcircuits.com/textbook/digital/chpt-13/r-2r-dac
Modular in a Week playlist:
youtube.com/playlist?list=PLyE56WXw0_5Q5QGMEXWmskuhojKyRdA3T
My Tindie store:
tindie.com/stores/Sourcery
Support my work by becoming a Patreon:
patreon.com/SourceryOne
Join the discussion on the Discord server: discord.gg/pZtVheVCTW










