#85: Basics of R2R Ladder DAC | Digital Analog Conversion, Tutorial R-2R DAC Thevenin Superposition

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

ความคิดเห็น • 145

  • @djtoddles8750
    @djtoddles8750 5 ปีที่แล้ว +57

    I've never seen the "flip book" approach you used here, that's genius

    • @friedmule5403
      @friedmule5403 5 ปีที่แล้ว +4

      Yes he do really deserve a big thanks because he do that! It is genius, simple and so illustrative that I hope everyone else would do the same! w2aew, thank you for doing that extra work and for sharing your knowledge with us!!

  • @RaviShankar-db5jc
    @RaviShankar-db5jc 5 ปีที่แล้ว +19

    Sir you are an incredible teacher....hands down

  • @bunnythekid
    @bunnythekid 2 ปีที่แล้ว +1

    Every so often I come across a really great electronics video and I go to click subscribe - then I realise I already have. And it’s always you!

  • @deanthomson8658
    @deanthomson8658 8 ปีที่แล้ว +2

    you've got no idea the amount of stress this video just cured me of, thank you so much

  • @tradegrabber4854
    @tradegrabber4854 12 วันที่ผ่านมา +1

    As always, awesome explanation with real life examples, thank you!

  • @SatyajitRoy2048
    @SatyajitRoy2048 7 ปีที่แล้ว +11

    You are the master of demonstrating complex things in the easiest manner. Even a small kid now can understand how R-2R DAC works. I am sure it would be less noisy than PWM DAC without all the switching noise?

  • @cny02253
    @cny02253 11 ปีที่แล้ว +1

    You know, I learned all this stuff in college, but Alan -your K.I.S.S. approach, crystal clear presentations and concise treatment of these subjects are now streamlining my brain! (Which I really need in my advancing age.) Very much appreciated!

  • @crocellian2972
    @crocellian2972 9 ปีที่แล้ว +2

    Really good. Thank you.
    I remember my undergrad p-chem lab exam had us doing the derivation of this. I flunked. Nice to see a master do it right.
    Please do more of this sort of thing. The Arduino kids are really learning almost nothing but silly cutesy junk. They can really benefit from people who meet them half way.

  • @JanMoren
    @JanMoren 10 ปีที่แล้ว +11

    Seriously good, informative video on a resistor ladder for digital to analog conversion.
    And yes, I do look at videos like this on a Saturday Morningside for fun :)

    • @JanMoren
      @JanMoren 10 ปีที่แล้ว +1

      I thought I posted this on g+, not TH-cam. Now I can't edit it or delete it :(

    • @richardsidler
      @richardsidler 10 ปีที่แล้ว

      I got the post from you on G+, are they not one in the same now? Thank you I enjoyed the lecture very much.

  • @JeremyVeleber
    @JeremyVeleber 11 ปีที่แล้ว +1

    I really enjoy these videos. Your preparation and attention to detail, without becoming too technical, has allowed me to learn and understand at a level that I will likely use the stuff you are presenting. Thanks a whole bunch! Keep up the great work!

  • @CassetteMaster
    @CassetteMaster 6 ปีที่แล้ว +4

    Fantastic presentation! I love the paper-flipping technique!

  • @MrNBit
    @MrNBit 8 ปีที่แล้ว +2

    I am learning electronics buy myself and your video has made allot of things make sense now. From how digital outputs work (constant voltage) to how transistors control voltage, and even how capacitors are used to clean up ac from a dc voltage signal. Great I can not thank you enough for your clean and detailed walk-though explanation! I have just purchased an old analog oscilloscope, cant wait to see pulses that can otherwise not be perceived :-)

    • @w2aew
      @w2aew  8 ปีที่แล้ว

      Great! I'm glad my videos are helping you to learn electronics!

  • @flanlemonjello
    @flanlemonjello 11 ปีที่แล้ว +3

    I always enjoy your presentation style (and content!), but the analog PowerPoint animation is a whole other level of awesome! Thank you!

  • @andrewferg8737
    @andrewferg8737 4 ปีที่แล้ว +4

    I feel like a caveman every time I watch your videos... Indistinguishable from magic.

  • @Neuroszima
    @Neuroszima 2 ปีที่แล้ว

    Only after i read "Art of Electronics" chapter 1 with voltage dividers and such i have now fully appreciated and went ahead of 3:10 for a magical "AHA!" in my head. What i mean is, i finally understood how does it become a "resistance = R". But that is not your fault, it is more of a personal obsession of mine. 4 months ago i had been jumping around many different topics and things i've watched were nowhere near close to each other (one time, what is oscilloscope, watching several GHz oscilloscopes and "WOW he can view gigabit ethernet, or transmission through wireless, does it really look like this??", another about what is a mixer, how to manufacture projects from Dave from EEVBlog... you get the point) but after i started reading this (very slowly btw, i should progress faster) book, everything seemed to finally click rather than being chaotic collection of facts.

  • @rbmwiv
    @rbmwiv 5 ปีที่แล้ว +1

    Excellent video. Thanks for the great explanation of how everything works in a D/A resistor ladder converter. Very clear drawings and explanations. I learned this easily watching your video while the book I was reading was kind vague on what your video covered. Thanks again for showing me how it works. I will definitely be checking out your channel, from this video I can tell that you know exactly what why and how this stuff works and you are very good at explaining it in a very easy to comprehend way that the books don’t. Thanks again. I have said that too many times.

  • @Allan-mf1he
    @Allan-mf1he 2 ปีที่แล้ว

    Thanks understanding the weighting using a simple resistor network was easy enough. I struggled with the R 2R voltage mode model. This helps a bunch.

  • @RazvanMihaiDudu
    @RazvanMihaiDudu 10 ปีที่แล้ว +2

    Very educational, thank you. I love the way you pictured all the steps in the analysis of the circuit. Awesome!

  • @Exo5432
    @Exo5432 10 ปีที่แล้ว +6

    This helped me understand r-r2. I have resolved to watching this video as my electronics book didn't help me understand it much for my course. I shall share this with my fellow students.

    • @w2aew
      @w2aew  10 ปีที่แล้ว +3

      I'm glad you found the video useful. Let me know if there are other topics that you and your fellow students have difficulty with, and maybe I'll do a future video on them.

    • @Exo5432
      @Exo5432 10 ปีที่แล้ว +2

      ***** Wheatstone bridges :)

  • @coreyk9518
    @coreyk9518 7 ปีที่แล้ว

    All electronics lessons should be presented through flip-books! Wonderfully lucid explanation of R2R DACs

  • @JimGriffOne
    @JimGriffOne 11 ปีที่แล้ว

    I remember learning a little about MIDI sequencing when I was younger, and I never quite got the concept of MSB and LSB until I learned about A/D and D/A resistor networks.
    Your video is by far one of the best on TH-cam about explaining the concept of parallel D/A conversion. Thanks for making your videos. I should make some videos about own about my profession, but audio mixing and mastering really isn't one of those necessary things in life as electronics is.

  • @REDACT3D
    @REDACT3D 5 ปีที่แล้ว +1

    great video bud. The gag with the pages flipping over, demonstrating the current flow through the r2r ladder, was a great visualization! didn't even need to get fancy with the graphics!

  • @RAndrewNeal
    @RAndrewNeal 3 ปีที่แล้ว +2

    Your tutorial is on Tektronix's website in written form. That's pretty cool.

  • @Mydrac
    @Mydrac 11 ปีที่แล้ว +1

    I like a lot the video, especially the way you use the paper to explain, it is a system that helps to understand.
    Thank you.

  • @jj74qformerlyjailbreak3
    @jj74qformerlyjailbreak3 2 ปีที่แล้ว

    ScopeArt. My new favorite hobby.
    Thanks.

  • @Fatkuh
    @Fatkuh 11 ปีที่แล้ว +1

    I love how you used the cut pages for the explanation! Great!

  • @electronicgarden3259
    @electronicgarden3259 4 ปีที่แล้ว

    Excellent! There's no other word for this.

  • @memadmax69
    @memadmax69 11 ปีที่แล้ว

    I remember this stuff long ago and far away.
    Was working on z80's and such... this brings back plenty of memories thank you!

  • @neodonkey
    @neodonkey 5 ปีที่แล้ว

    Brilliant. There is something really beautiful and elegant about the R-2R ladder.

  • @JunkyardPhysics
    @JunkyardPhysics ปีที่แล้ว +1

    Simply brilliant. Thank you.

  • @unklebidii
    @unklebidii 6 ปีที่แล้ว

    I was not aware that I watched this...haha.. Right when I am looking into R2R ladders for an ADC0809 that I've been playing around with... Great job on the Thev and Superposition part..I have to go back and rewatch that as I note EVERYTHING. Thx Alan

  • @friedmule5403
    @friedmule5403 6 ปีที่แล้ว

    You are simply a fantastic teacher!!
    The part with the fold over paper make it so obvious and simple to understand! :-)

  • @andreaacme
    @andreaacme 11 ปีที่แล้ว

    VERY USEFUL, one of the quickest self-made DAC converters I've ever seen :) I'm sure it will come in handy at a certain point. Thanks for sharing.

  • @jimadams2473
    @jimadams2473 10 ปีที่แล้ว

    Nice!! An excellent tutorial on the R-2R ladder. I liked the way you illustrated the R-2R with the folding paper. Best explanation I have ever seen on this topic. Keep up the GREAT work. Nice lab, too. Thanks

  • @ibjavier
    @ibjavier 11 ปีที่แล้ว

    Omg. Thanks a lot. I actually remember seeing your video a few months back. I think that is how I found your channel in the first place and that was when I subscribed. I will watch it again soon. Thanks again.

  • @PA2OLD
    @PA2OLD 11 ปีที่แล้ว +1

    Hi, we used that network (with a bit of filtering) in the late 80s to get digital audio from a 8 bit PC Printer port.

  • @thecombatengineer7069
    @thecombatengineer7069 5 ปีที่แล้ว

    binge watching all the circuit tutorials, trying to remember to like and comment on each as well

  • @GuilhermeSampaioC
    @GuilhermeSampaioC 4 ปีที่แล้ว +2

    You have great teaching skills! Thanks

  • @KominTater
    @KominTater 7 ปีที่แล้ว

    Very much appreciated, W2AEW! This and the rotating "TeK" video very nicely done, well paced lessons and the start of a much-needed refresher course, if I'm going to make any headway with some of the projects I've been wanting to try. The R-2R DAC stuck into an Arduino is a kick! I have all the parts but I doubt if I have all the patience. We'll see! Thank you for posting!

    • @w2aew
      @w2aew  7 ปีที่แล้ว

      You can buy R-2R resistor networks from places like Digikey or Mouser - a lot less tedious to wire up!

    • @KominTater
      @KominTater 7 ปีที่แล้ว

      Thank you, W2AEW, will def. look into the ready-made solution. But there are times when such tedium can be good for the soul. ;)

  • @Keep-Exploring128
    @Keep-Exploring128 11 ปีที่แล้ว +1

    the art of DAC ... thanks for the great video

  • @jstro-hobbytech
    @jstro-hobbytech 8 หลายเดือนก่อน

    You are an incredible teacher. A teacher whom I'd like to play paper rock scissors for that beautiful mdo of your's. Wow. I keep my eye out on ebay all the time. Instead of paying 3k last year for one and a k the year before (that I donated) I should've bought a second hand one. Haha

  • @Auerc0re
    @Auerc0re 8 ปีที่แล้ว

    you should be teaching this .... i had to learn this 2 months ago and i didnt even understand a single word of what my teacher tried to tell me but now i understand it even though superposition could be realized with less resistors but more resistor values

    • @w2aew
      @w2aew  8 ปีที่แล้ว

      Identical values are used to take advantage of the inherent matching in IC manufacturing.

    • @christheother9088
      @christheother9088 8 ปีที่แล้ว +1

      +Auerc0re He IS teaching this.

  • @DasIllu
    @DasIllu ปีที่แล้ว

    I remember vaguely seeing this in a german home computer magazine (64'er) in the early nineties. I always thought it's super convenient, but alas the userport on the C-128 even when driven by machine code was too slow to really have that level of fun with it.

  • @haimt
    @haimt 10 ปีที่แล้ว +3

    very good explained of R-2R ladder, thank you very much :-) genius.

  • @realtoy1
    @realtoy1 4 ปีที่แล้ว

    Another excellent training video. Thank you!

  • @StephenMendes
    @StephenMendes 5 ปีที่แล้ว

    I made an R2R ladder video also ..... I show the staircase waveform on oscilloscope .... it's in my Electronics Projects playlist..... I subscribed..... great channel

  • @krish2nasa
    @krish2nasa 6 ปีที่แล้ว

    Excellent explanation as always, Thanks for your time and efforts.

  • @Nermash
    @Nermash 11 ปีที่แล้ว

    Brilliant explanation of R2R DAC!

  • @ChrisGozzardThatPhysicsGuy
    @ChrisGozzardThatPhysicsGuy 9 ปีที่แล้ว

    Many thanks.. Got the PWM method working so I think I will try with the R2R method. :)

  • @ydonl
    @ydonl 4 ปีที่แล้ว

    Ahrrrr, matey! :)
    I like this one. Gonna make one of these some day. I'm thinking about adding rotation in the analog domain... Hm! Multiply an analog value by a sine wave... Gilbert Cell, I think. Then... the full set: scaling. rotation, translation. Lots of multiplies; maybe multiplexed Gilberts so we don't need so many of them. Lots of oscillators, too. Fully over-engineered!

  • @robertjohnson4089
    @robertjohnson4089 3 ปีที่แล้ว

    great talk and i loved the demp

  • @GeorgeGraves
    @GeorgeGraves 11 ปีที่แล้ว

    Awesome video - thanks for showing the math for the R2R ladder.

  • @gotbread2
    @gotbread2 10 ปีที่แล้ว +2

    Very good explanation, also well done with the substitution!

  • @BrianHensleyRULES
    @BrianHensleyRULES 11 ปีที่แล้ว

    You did it again Allen! Great video!

  • @Pwaak
    @Pwaak 11 ปีที่แล้ว

    All from YOUR desire to learn more! Thank You!

  • @TheRogerx3
    @TheRogerx3 10 ปีที่แล้ว

    Useful and interesting... Who needs power point anyway. : )
    Very creative on so-many levels.

  • @Deceneu6
    @Deceneu6 8 ปีที่แล้ว

    Big like for the explanation method!

  • @yoramstein
    @yoramstein 8 ปีที่แล้ว +1

    Great, thanks. Alan you got teaching talent. This paper equivalent cut outs which you add graduately are worth registerd as a teaching aid patent :-) great.

  • @JanicekTrnecka
    @JanicekTrnecka 8 ปีที่แล้ว +2

    I love this w2aew version of DaveCad :-)

  • @Aeduo
    @Aeduo 11 ปีที่แล้ว +1

    That's how Disney Sound Source/Covox Speech Thing worked. A good few old games supported just that.

  • @zhangbotao0831
    @zhangbotao0831 5 ปีที่แล้ว

    a good teacher

  • @gamingSlasher
    @gamingSlasher 10 ปีที่แล้ว

    Best explanation ever. Love it!

  • @ibjavier
    @ibjavier 11 ปีที่แล้ว +1

    Can you explain the PLL to me? I would like to understand the mathematics behind it but at the same time get a clear and basic understanding of it. In the meantime, I will look to see what other videos I find on youtube. Thanks.

  • @tsalgir
    @tsalgir 11 ปีที่แล้ว

    thnks for your clear explanation. really love it

  • @InsurgentX
    @InsurgentX 11 ปีที่แล้ว

    Fantastic video as usual. Thanks!

  • @ricktighe191
    @ricktighe191 2 ปีที่แล้ว

    Brilliant!

  • @afterthought138
    @afterthought138 9 ปีที่แล้ว

    really excellent video.

  • @Naviscoop
    @Naviscoop 10 ปีที่แล้ว

    great video, very informative, thanks a bunch :)

  • @anthonymullen2599
    @anthonymullen2599 9 ปีที่แล้ว

    This video rally helped me understand r-2r network in a simple and uncomplicated way , thanks . Also i adoing my 3rd year project this year and there will bw ADC and DAC in it I am struggling to find material on speeds and settling times on DACs and wanted your opinion if possible Thanks

  • @jstro-hobbytech
    @jstro-hobbytech 8 หลายเดือนก่อน

    Random fact. Modern high end tvs (oleds) will have to reach a refresh rate of 1k hz for them to achieve the smooth motion of those 'relic' crt displays our civilization ran away from. Imagine the processing power a pc would need to drive path traced graphics in real-time to achieve a perfect v-synch with that. 2000 dollar gpus have to use interpolation to create false frames to hit 4k60 now finally but cpus will take longer to evolve than the display tech because they can't match the parallelism of modern gpus to feed them fast enough. I rarely find a game the odd time I play one (as I get older) where my cpu can saturate the gpu with vertices fast enough to hit full utilization. Intel said they would be at 10ghz by now but they can't hit it with current 3nm euv silicon etching. The 3nm node itself is a feat of monumental human ingenuity and it's hard to believe only one company makes sub 28nm lithographic etching technology. Most ics these days have stayed at that node as it's more than sufficient for most smd ics. I believe all dip ics are on the same 140 something nanometer node for the last 15 or so years. It's why most Chinese ttl and cmos ics are somewhat reliable for most hobbyists to mess around with. I've stopped buying as much from them the deeper I go down this fun rabbit hole people like you make so infectiously approachable and fun. I've read more text books the last five years and taken more notes than I did in university learning about data mining algorithms back in the 90s haha. To be fair though there were not alot of books then so we read white papers and such. I graduated top of my class then went into policing ffs and now play catchup in my 40s hahaha. Best thing about early retirement has been learning about electronics and playing stringed instruments. I wish I was as good at electronics as I am at playing guitar. You should have a patreon, even if you don't need the money. I'm sure alot of us would show appreciation.
    If you give me your mso I'll donate 10k worth of test gear to a local non profit hahaha. (Admittedly though it wouldn't be fair as I'm half way there already) hahaha.

  • @MsFireboy2
    @MsFireboy2 ปีที่แล้ว

    Question Would a square wave input at 50% yield a stair step waveform?

  • @electronicatutorial
    @electronicatutorial 11 ปีที่แล้ว

    Doesn't the Arduino have analog outputs? I used basic stamp long ago. For hobby what do you recommend to be easier to program Arduino or Basic Stamp?

  • @MrNBit
    @MrNBit 8 ปีที่แล้ว

    Thank you very much!

  • @edmclaughlin4923
    @edmclaughlin4923 10 ปีที่แล้ว +3

    Alan, did you have to adjust your X/Y coordinates when you switched from PWM to the R-R2 DAC and started writing PORTD and PORTB registers? I built a ladder very similar to yours and it seems to test out well on the "steps" test. (Just running up consecutive numbers and resetting to 0). When I tried applying my PWM coordinates, my initials where not recognizable although points and lines were and no flickering. Looked misconfigured. Same 2.7K resistors (2 in series for R2) and a 10nF to ground off the output. I am wondering if my sketch might be off but it seems pretty simple to do.

    • @w2aew
      @w2aew  10 ปีที่แล้ว +2

      The only two things I had to do was to use the map() function to rescale the X values to 0-255 and the Y values to 0-64. Also, adjust the delay in the loop and/or the filter cap to ensure the points settle to make a clean, crisp trace.

    • @edmclaughlin4923
      @edmclaughlin4923 10 ปีที่แล้ว +1

      Been fooling around and yes, figured out you couldn't push a number like 98 into a six bit field. Went back to the Xmas tree and got that displaying nice. I divided all the coordinates by 5. I'll use the map() function for my initials and see what I get! Alan, I want to sincerely THANK YOU for all the time you take posting your videos. Thank you for uploading your knowledge and experience!

    • @w2aew
      @w2aew  10 ปีที่แล้ว +6

      I'm constantly inspired by the nice comments and encouragement I receive from my viewers, so Thank You!

    • @edmclaughlin4923
      @edmclaughlin4923 10 ปีที่แล้ว +1

      ***** Everything worked. Christmas Tree and initials are crisp and flicker free. Have to get a camera that is fast enough to show it!! LOL. Had to fool around with the cap filter and timings to get the right combo. Settled on a .1uF Mylar cap. I was only seeing points on the scope until I changed out the cap. Learned a lot about my scope in this project. Thanks again!

  • @NanikT
    @NanikT 11 ปีที่แล้ว

    Just a dumb question ... does this R-2R Networks is exactly similarly to what we normally hear DAC ? if I understand it correctly. Sorry...still learning about electronics

  • @Observ45er
    @Observ45er 11 ปีที่แล้ว

    I should add that with the right software algorithm, you can even do polyphonic music. (you're just adding binary numbers).
    73, Steve

  • @82abn34
    @82abn34 3 ปีที่แล้ว

    Thanks!

  • @sc0or
    @sc0or 2 ปีที่แล้ว

    When r2r is feed with a current, the overall analysis looks much simpler. All you need is to divide the current by two at each stage. And a I/U stage is simpler and more precise than U stage. The only reason for a voltage ladder is a ghetto-dac, when fpga/soc is connected directly to the ladder.

  • @fredflickinger643
    @fredflickinger643 2 ปีที่แล้ว

    Very cool🙂

  • @Shakespeare1612
    @Shakespeare1612 8 ปีที่แล้ว +1

    It seems that I can use this circuit to read four (or more) digital buttons, or switches. I would connect one side of the open switch to my high logic level, like 5 volts, or three volts and then the other side of each switch to b0, b1, b2, and b3, and then if the switch or button is connected (it registers a binary 1 on that line) and it will add an appropriate amount of voltage to the Vout. Am I understanding that right?

    • @w2aew
      @w2aew  8 ปีที่แล้ว +2

      Yes, except that the output will be binary weighted for any single button push.

  • @Neuroszima
    @Neuroszima 2 ปีที่แล้ว

    Ok so real question is, can you go backwards and creat analog--to-digital converter?

  • @Turjak_art
    @Turjak_art 4 ปีที่แล้ว

    nice thank you!

  • @jamilfaultfinder
    @jamilfaultfinder 11 ปีที่แล้ว

    Hi could you please tell me which mixed signal scope you use and its bandwidth thanks

  • @DAVET38
    @DAVET38 11 ปีที่แล้ว

    Another good video. The combination of Thevenin AND Superimposition theory in one example is brilliant. Keep up the good work. You certainly inspire me to try new techniques and ideas. DAVET38

  • @outlawstc
    @outlawstc 7 ปีที่แล้ว

    I took a array of cd4066 bilateral switches and set them up where they could switch each R2R bit to either a common signal or gnd... pretty much made a R2R amplifier in that manner that could be digitally set by a micro port.

    • @w2aew
      @w2aew  7 ปีที่แล้ว +2

      Sounds clever!

    • @Tadesan
      @Tadesan 6 ปีที่แล้ว

      Yeah, that's a cool idea!

  • @harisonk
    @harisonk 11 ปีที่แล้ว

    Just wondering, could you use this as a DDS circuit for some lower frequencies?

  • @baldbadger7644
    @baldbadger7644 5 ปีที่แล้ว

    I wish my high school teacher taught as good as one tenth of you

  • @MsFireboy2
    @MsFireboy2 7 หลายเดือนก่อน

    Have you ever used the 74hc393 ic chip to build a 4 bit stair step generator before?

    • @w2aew
      @w2aew  7 หลายเดือนก่อน +1

      I haven't

    • @MsFireboy2
      @MsFireboy2 7 หลายเดือนก่อน +2

      @@w2aew Ok. I’m working on one. Using in a Curve Tracer circuit.

  • @Crytek1337
    @Crytek1337 7 ปีที่แล้ว

    My analog audio output on my pc doesnt work, so im must use the digital one. Is it possible to use only one digital input?
    So, the resistors are voltage dividing the digital input so it can be read as analog? How can i get more bits if i only have one digital output? Hope you can answer me :)

    • @w2aew
      @w2aew  7 ปีที่แล้ว +1

      The R2R DAC needs parallel digital input. If you only have a single bit source, then the only thing you might be able to do is to feed the data into a shift register. Although, you will still need and additional bit of two to click the data into the register, etc. the better thing would be to pick up a $10 Arduino...

    • @Crytek1337
      @Crytek1337 7 ปีที่แล้ว

      Aha i see. Thank you for answering this quick, this is what i needen to know.

  • @markderlo212
    @markderlo212 ปีที่แล้ว

    flip book idea is great!
    but why did you solder 14 bit ladder if you used only bits b6...b0 for the presentation? all other buts are nit used so fir this example one port would do, right?

    • @w2aew
      @w2aew  ปีที่แล้ว

      I built this for a project that used both a 6 bit and an 8 bit R2R for a scope XY display application.

    • @markderlo212
      @markderlo212 ปีที่แล้ว

      I got an impression that you built 14 bit dac, 8 bits on one port and extra 6 on another...

    • @w2aew
      @w2aew  ปีที่แล้ว

      @@markderlo212 nah, it was 8 bits on one port to drive the X position of an XY display, and 6 bits on another port to drive the Y position.

    • @markderlo212
      @markderlo212 ปีที่แล้ว

      oh I see, how to find that xy dac clip ?

    • @w2aew
      @w2aew  ปีที่แล้ว

      @@markderlo212 It's at the very tail end of this video

  • @edmclaughlin4923
    @edmclaughlin4923 10 ปีที่แล้ว

    You have an 8 bit and a 6bit ladder. You show us the 6 bit on your mixed domain. Is that your Y-axis and the 8 bit your X-axis?

    • @w2aew
      @w2aew  10 ปีที่แล้ว

      Yes - I used 6-bit for Y axis because the screen is rectangular.

    • @edmclaughlin4923
      @edmclaughlin4923 10 ปีที่แล้ว

      Thanks, I get it. You are working with DWORD and BWORD in the Arduino. Great project.

  • @MrMac5150
    @MrMac5150 11 ปีที่แล้ว

    Your GOOD

  • @electronicatutorial
    @electronicatutorial 11 ปีที่แล้ว

    Can you share the program I want to put my callsign on the scope too :-)

  • @edtix
    @edtix 7 ปีที่แล้ว

    End of the video made me laugh :D cool stuff!

  • @Infinitesap
    @Infinitesap 7 ปีที่แล้ว +2

    Hi what about a video regarding ADC? Thanks for GREAT stuff :-)

    • @w2aew
      @w2aew  7 ปีที่แล้ว +1

      Maybe someday...

    • @Loundre3
      @Loundre3 6 ปีที่แล้ว

      Try out making a SAR ADC, maybe someday.
      en.wikipedia.org/wiki/Successive_approximation_ADC

  • @fir3w4lk3r
    @fir3w4lk3r 11 ปีที่แล้ว

    Great! Did you tested it as a DDS? :P :P :P

  • @micomrkaic
    @micomrkaic 6 ปีที่แล้ว

    A great video. I have some beginner's questions. How do you select the magnitude of R? In principle it does not matter, but if it is too low it might load the digital source. Can it be too high? For example, very high resistance might add more thermal noise? Thanks in advance for any answers.

    • @w2aew
      @w2aew  6 ปีที่แล้ว +1

      The resistor value is a compromise between the load placed on the digital source driving it, and the output impedance - and how it will be loaded by the circuit that "reads" the analog output.

    • @odissey2
      @odissey2 6 ปีที่แล้ว +1

      I built R2R DAC using 0.1% 7.5k and 15k resistors. The expectation was to get 8-bit resolution with 8 digital inputs. Not so easy. Actual resolution appeared to be 7-bit, most likely due to variance in intrinsic resistance of digital pins of the microcontroller, estimated to be in 300-500 oHm range. So higher resistance (50-100k) might be beneficial. Yet another limitation was Vdd noise on digital pins, also limiting resolution to about 7-bits. Overall impression that 7-bit is a practical limit.

  • @KirkOfBellevue
    @KirkOfBellevue 11 ปีที่แล้ว

    NEAT.

  • @flurng
    @flurng 6 ปีที่แล้ว

    Thank you, Alan, for another terrific, informative video! However, I'd like to stir things up , if I may, with a bit of debate: I submit to you, Sir, that this is technically not a digital-to-analog converter, but a binary-to-decimal converter, since it's output is still composed of discrete, non-arbitrary steps, rather than one smooth, continuous curve. Would you or anyone else care to refute my claim? ;^)

    • @w2aew
      @w2aew  6 ปีที่แล้ว +1

      I wouldn't call it "binary-to-decimal", since the output is certainly not a decimal value. A more accurate description would be a binary to discrete analog or quantized analog. All DACs output discrete analog outputs. You can put a low pass filter at the output, whose corner frequency is below 1/2 the sample rate, that will "smooth out" the steps in the response. This is often called a "reconstruction" filter.

  • @jstro-hobbytech
    @jstro-hobbytech 8 หลายเดือนก่อน

    I have the tds2002c that I got in a trade and I use it more than my new one. It's the only piece of gear (along with a tek dm916) I'd never part with. Even the documentation that came with it is incredible. I buy an expensive (for me) rigol and all they have is pdfs and I don't trust it like I do the tds2002c. It's a buggy mess.