Arduino 10 bit analog output using Port manipulation and R/2R ladder @SourceryOne
Arduino 10 bit analog output using Port manipulation and R/2R ladder  @SourceryOne
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
Arduino 10 bit analog output using Port manipulation and R/2R ladderBuild video for the MU ltiple with Thonkiconn jacksLowcost DIY LTC1799 adjustable clock module 1kHz to 33MHz - Inbetween EpisodesJam - Baby8 Sequencer Jam with a Deep Bass NineMutable instruments links clone with throughhole components first working test. 🙌 #sdiy diymodularNew firmware for the SITH s&h module. It now can do Sample and Slide! 🤩 #diymodular  #sdiy #synthButton and Pedal input - DIY Modular in a Week 11.4Introducing POW Power Panel - Your PSU companionGrenar Zener fix and Twigs firmware - Modular in a Week4066 Quad gate controlled switch - DIY Modular in a Week 10.6Last minute changes - and why you shouldnt do them (rant ;)Dismantling an old organ I found by the road side
Kristian Blåsol |

Arduino 10 bit "analog" output using Port manipulation and R/2R ladder

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER