Collin's Lab: Digital to Analog Converter

  Переглядів 277,926

Make:

Make:

13 років тому

The Digital to Analog Converter (DAC) turns bits into waves using a surprisingly simple circuit built from little more than a few resistors. Learn how to build your own R-2R DAC and use it to generate waveforms with a microcontroller
Find more at the Maker Shed: makershed.com

КОМЕНТАРІ: 294
@tobortine
@tobortine 10 років тому
Best explanation of a DAC I've ever seen.
@Daski69
@Daski69 9 років тому
after watching entire lectures on this, I still wasn't getting the principal concept of how a DAC/ADC works, how it's all about matching the curve with the right voltages. Best video of all time!
@SE45CX
@SE45CX 8 років тому
+Daski69 If you want a smooth signal out of the DAC. You use that DAC and place an analog filter on the output.
@AWESOMEEVERYDAY101
@AWESOMEEVERYDAY101 6 років тому
Daski69 try great scott
@Abihef
@Abihef 3 роки тому
This is great beyond comprehension, or at least my explanation of how useful this is for me right now and great to find.
@Cerenth
@Cerenth 13 років тому
Awesome tutorial as aways! I really love the way you explain these things in such simple terms. I've learnt more from you in 4 and a half minutes than I have in an hour with a teacher. Can't wait to see more videos!
@tophattommy2
@tophattommy2 4 роки тому
After 20 some videos... I find this gem of simple understanding!!!!! Thank You!
@griffgriffo9746
@griffgriffo9746 9 років тому
Fantastic,,Now it is easy to understand DAC conversion...Very good tutorial
@Spacekriek
@Spacekriek 6 років тому
Excellent video. I love programming the 16F PIC series microcontrollers and anyone familiar with them will know that the majority of these PICs lack a basic DAC. It seems that the opinion is once you have converted an analogue quantity into a digital value you very seldom want to go back to the analogue side of things. At least, maybe that's how things turn out in the industrial world for which PICs are well suited. Using the knowledge acquired in this tutorial many of us will now be able to give our microcontrollers the ability to act like DACs, even extending it to 16 or 24 bit capability with the larger type.
@TheBlackhawk2399
@TheBlackhawk2399 12 років тому
i think that the best part of your videos are that when you assemeble or review or open a kit!
@Norfeldt
@Norfeldt 13 років тому
Seen this 5 times now and think its absolutely awesome!
@Dylanjraub
@Dylanjraub 13 років тому
Holy crap! This design is freaking perfect! You are a genius.
@StarfieldBound
@StarfieldBound 10 років тому
Excellent demo. Great work!
@homosapienssapiens19
@homosapienssapiens19 13 років тому
amazing! ive never seen someone describe electronics so well!
@buttersstotch2014
@buttersstotch2014 3 роки тому
Miss colins lab. This got me into electronics like 10 years ago
@LudwigSpiegel
@LudwigSpiegel 13 років тому
I wish I had an electronics Professor like you back in the days!
@JohnIvoryMusic
@JohnIvoryMusic 6 років тому
Bruh we dont even need college anymore everything is on the internet
@domobrah2671
@domobrah2671 5 років тому
real talk
@onefractalfield6818
@onefractalfield6818 4 роки тому
Yeah.. How do we resume this internet stuff?
@natevirtual
@natevirtual 3 роки тому
THIS
@atta1798
@atta1798 3 роки тому
yes you still do n badly
@norsktysker
@norsktysker 13 років тому
Great video, as usual. I really like your style of explaining. And I think I actually understood how it works^^
@Dechristian3
@Dechristian3 11 років тому
This helped alot in my understanding of electronics! Thanks!
@guitarplayer1293
@guitarplayer1293 13 років тому
that's a pretty sweet oscilloscope you got there ... and awesome vid, nice explanation
@HavokTheorem
@HavokTheorem 13 років тому
Collin, you are great at explaining stuff :) I just figured out how a computer turns electricity into lights and sounds.
@qeaq3184
@qeaq3184 2 роки тому
Holy***, well done man .
@solidacid1337
@solidacid1337 13 років тому
thanks again Colin, keep the videos coming! :D
@Kethlar
@Kethlar 13 років тому
Awesome Video, keep up the videos... from the looks of it all of us makers are wanting more and more to feed our brains...... brains....... feed our brains.
@kdknitro
@kdknitro 13 років тому
cool as long as you understand it, keep it up coliin
@giovannicriscwcc4249
@giovannicriscwcc4249 3 роки тому
The best teachers are on youtube, I always confirm
@FYGOKENTROSS
@FYGOKENTROSS 9 років тому
Great video! THANKS!
@jasonsweet228
@jasonsweet228 11 років тому
I just made one over the past couple days and voila, it works! I used twenty-five 150 Ohm resistors :) It overdrives the baselines and makes the bass sound like an overdrive gutar but mids are normal. I'm glad it works, first hardware project ever. I couldn't write all pins at once, so I had to toggle each individual pin and comparing the byte to 128,64,32,16,8,4,2, and 1. I didn't check the KHz on a toggle test yet, but its playing everything except the high end. Maybe my DAC cut the highs.
@ChrisLeeW00
@ChrisLeeW00 6 років тому
DACs Pretty Wild Man
@NikolajLepka
@NikolajLepka 13 років тому
collin be my teacher! your video submissions are so informative!
@maurerpe
@maurerpe 13 років тому
Good explanation of how a DAC works. Note that as the number of bits in the ladder increases the tolerance of the resistors becomes more important. Using economically available 1% resistors 5 bits is no problem, 6 bits will likely have good results, and 8 bits will rarely be monotonic (which is bad for controls). Also, you can add 8 effective bits to your DAC by using PWM on the LSB of this ladder. 6 bit ladder with 1% resistors and 8 bit PWM = 14 bit monotonic DAC.
@Norfeldt
@Norfeldt 13 років тому
This video is awesome! Just like all the other Collins vids
@vladpuha
@vladpuha 6 років тому
thank you for your video. great explanation. why the 10k and 20k?
@MrBetronick
@MrBetronick 12 років тому
Woooow men!!! this is incrediblee!! thnx4this!! Congratulationss!!
@nishilsb
@nishilsb 8 років тому
A beautiful information
@tzkelley
@tzkelley 13 років тому
The old Radio Shack Color Computer used a similar circuit and a comparator for an analog to digital comparator. The analog voltage in was compared to an analog voltage from this type of DAC circuit. If the input voltage was higher than the voltage coming from the DAC, then the number written to the DAC was increased. Similarly, the number was decreased for lower voltage. The process continued until a suitable number was found to represent the input voltage.
@tw34kd
@tw34kd 13 років тому
Cool informative video, Thanks!
@zaredtokarz7340
@zaredtokarz7340 4 роки тому
One of the coolest videos I've ever seen user get an immediate sub
@Lovethempeas
@Lovethempeas 13 років тому
More Collin, MORE!
@Rewskidoo
@Rewskidoo 13 років тому
Wow Collin sounds so natural in this video, very refreshing compared to his usual awkwardness Collin FTW!
@benlogic8592
@benlogic8592 5 років тому
thank you colin
@BetaThings
@BetaThings 13 років тому
Nice Video! very well explained like sesame street for electronics.
@AxelTiger
@AxelTiger 13 років тому
DACs so cool bro!
@jericotyler
@jericotyler 13 років тому
Dac video was awesome :3
@rb5046_
@rb5046_ 13 років тому
Very neat! Thanks!
@jekader
@jekader 13 років тому
thanks, very interesting info!
@Skegon
@Skegon 13 років тому
I have no idea what he's talking about.. but I still think it's awesome!
@HVBasti
@HVBasti 13 років тому
@mirandabone U are right! I also miss the weekend projects. Where have they gone?
@Happilymarrieddad
@Happilymarrieddad 7 років тому
Dacs REALLY cool.. lol Collin, you're awesome lol!
@jdsweet3657
@jdsweet3657 11 років тому
I tried it and got mine to work on the first time. You can turn one pin on at a time too
@ObiTrev
@ObiTrev 11 років тому
Thanks! I wasn't sure if a DVI to VGA dongle would work!
@RhodderzX
@RhodderzX 13 років тому
Thanks needed this for college :D
@trexlm
@trexlm 13 років тому
this video is designed very good :)
@tomattosfutleimierda
@tomattosfutleimierda 12 років тому
oh please never change
@KHA7V
@KHA7V 8 років тому
dacs very cool and entertaining
@NewProductions
@NewProductions 13 років тому
DACS PRETTY AWESOME BRAH.
@SacreDro
@SacreDro 13 років тому
Thanks so much for the vid.
@judgenap
@judgenap 13 років тому
Thanks that helps . I did think on those lines . But you are applying 5V ( 1) at different points on the ladder and 0 s too depending on the value outputed . That is what confuses me . Also lets say the least value is 00000001 then the voltage is going to be very small indeed. Wiki has good info to . Thanks again
@3er24t4g1
@3er24t4g1 11 років тому
I want more Collins lab and circuit skills
@Poopdudeification
@Poopdudeification 12 років тому
This hurts my brain, but is AWESOME!
@seppa340
@seppa340 7 років тому
MUCH Better learning compared to the most of the universities!
@krist0sh
@krist0sh 13 років тому
I TOTALY LOVE YOUR MUSIC! IT SOUNDS LIKE MY GRANDFATHERS OLD CASIO KEYBOARD :D
@edwardholmes91
@edwardholmes91 13 років тому
Love how he just draws the circuit! Even with squared paper I find it hard to draw a circuit! I need a ruler or piece of software if I'm going to do a neat job lolo.
@INSULTMANFROMEBAUMS
@INSULTMANFROMEBAUMS 13 років тому
Collin should have his own channel.
@anthonyvolkman2338
@anthonyvolkman2338 5 років тому
Good pun there! "DACs pretty cool"
@siliconwitch
@siliconwitch 12 років тому
@eclipsestorm1975 There are times where you can add more increments in between because it can increase you data transfer. In radio communications, this is the trade off that reduces accuracy and makes your signal more likely to get screwed up along the way.
@goompapa
@goompapa 13 років тому
legend... nuff said...
@IsaacC20
@IsaacC20 12 років тому
3:22 Will the output voltage measure differently if for a single DAC value we measure from the T-intersection at the 4th bit?
@Migueldeservantes
@Migueldeservantes 12 років тому
Hey any possibilities that you will talk of how to make a soldering nozzle like the one that you use on every single video? I have many and never have found the one that you work with! Thanks in advance! Mark.
@judgenap
@judgenap 13 років тому
Hi Colin thanks a bunch , if the the pins are all 1 s what is the votage out? I cant work out the voltages for the different binary values. Help!
@MrSoundshark
@MrSoundshark 12 років тому
Looking at the out put wave it looks very much like the output from pwm, i could be wrong im self taught :) but could that set up be used in a similar way to a pwm setup?
@matteopiccioni196
@matteopiccioni196 5 років тому
Clear and educational,but how can you modulate the 0 or 1 in each pin using the R to R deck? It was told that current flows in each branch of the circuit ""isotopically""
@2454014
@2454014 13 років тому
Nice video I am sure you know a lot about computer engineering.
@luiscruz149
@luiscruz149 13 років тому
really cool
@mattswinn
@mattswinn 13 років тому
Dac is awesome almost as awesome as your comb over
@pablo1588
@pablo1588 12 років тому
Hi Collin, how can you control the frequency of the output ? if any value between 0 and 255 represents 0 to 5 volts, that means it would modulate the amplitude of the wave, but what about the freq ?. Just trying to understand, anyway Great videos !!
@aki21
@aki21 13 років тому
whoah! can i use that to create a pure sine wave? that would be great!
@thishasgottobecrazy
@thishasgottobecrazy 13 років тому
@maribakumon 0-255 is 256 different values (2^8)
@rbl777
@rbl777 13 років тому
similar to computer chips recognizing ones and zerors, we sense pain or pleasure wat is life and reality? you gave me a hint thats its a system of resistors and what not. thank you!
@edwardholmes91
@edwardholmes91 12 років тому
Is there a possibility of a video on how Analogue to Digital conversion? How to make a ADC.
@DacoTaco
@DacoTaco 13 років тому
@judgenap i dont know much about about electronics and that stuff, but the highest your analog signal you can get is , if im correct, the highest voltage you can get out of 1 pin -> the voltage youre working with. in collin's case this is 5v. if he passes his 5v(as a 1 signal) trough all 8 pins, he should give out 254(11111111) which equals to 5v
@aayush10001
@aayush10001 13 років тому
genius!!
@ObiTrev
@ObiTrev 11 років тому
I have seen that old Digital Video Stabilizers (made in the 80s for private home VHS copying) also works at removing copyright restrictions on DVDs. If the signal is converted from Digital to Analog, would the DVS work to remove the restriction encoded in the signal from the DVI out? .
@saurabhgolam9779
@saurabhgolam9779 11 років тому
woah.. u made it look like a piece of cake !!
@arrshithrg5359
@arrshithrg5359 7 років тому
can we control the output voltage
@HandPickedArtwork
@HandPickedArtwork 6 років тому
I love Dac
@MrGoatflakes
@MrGoatflakes 11 років тому
It a microcontroller, a very small & cheap ($15 but you can get $2 cut down versions) computer that can interface to electronics you want to control or receive data from & also it connects to USB. You can also get "shields", boards that plug into it & provide functionality, such as Ethernet shield, SD Card shield, etc. Microcontrollers have been around for ages (longer than PCs) but until recently needed expensive hardware & software to develop with so weren't really that good for hobbyists.
@russelljenkinsfearn
@russelljenkinsfearn 13 років тому
Niice one Coliin !
@higgy82
@higgy82 13 років тому
@Jtother777 Best idea they ever had.
@FrigginSmift
@FrigginSmift 13 років тому
Collins for president!
@keoni29
@keoni29 12 років тому
Use a demultiplexer in combination with this. It saves arduino pins and the output is buffered.
@konsul2006
@konsul2006 13 років тому
all teachers should be like Coliin :)
@PvtHaggard
@PvtHaggard 13 років тому
@hyper080 FYI there shift registers
@ObiTrev
@ObiTrev 11 років тому
I know that LCD TVs that provide analog connections convert the signal to a digital one, so the hardware can form a picture. VGA is also converted to digital on LCD monitors. So, is it possible to convert HDMI to S-Video with similar components? I have a 12" Color TV that I use to preview old VHS Tapes before I capture them for clients. However, I can't play the captures from the PC to the TV. My video card only has DVI or HDMI outs and the HD screen poorly represent the old footage very well.
@b5a5m5
@b5a5m5 12 років тому
You change the frequency by how fast you change the voltage of the output.
@m42uko
@m42uko 13 років тому
Cool! Could you please also do a video on analog to digital converters?
@delbomb3131
@delbomb3131 13 років тому
@konsul2006 i totally agree. he reminds me of my 10th grade physics teacher i had and that was one of my favorite classes
@MarisaClardy
@MarisaClardy 12 років тому
@k1ngdeth Maker Faire... Makershed may carry it as well...
@schuyoff
@schuyoff 13 років тому
Can you do a tutorial on analog to digital conversion? I have an idea, but I want the coolness and verification of Collin
@parsa021021
@parsa021021 11 років тому
What DAC is the best for listening to Classical music?
@dumle29
@dumle29 11 років тому
No problem :)
@hendrikbezuidenhout176
@hendrikbezuidenhout176 10 років тому
Can you provide a link to your code?
Binary Weighted Resistor DAC Explained
21:23
ALL ABOUT ELECTRONICS
Переглядів 291 тис.
Collin's Lab: Electronics Tools
9:27
Make:
Переглядів 639 тис.
How to get a FREE HYPERCHARGE SKIN!
02:07
Brawl Stars
Переглядів 15 млн
Comparators: The Building Blocks of Analog to Digital Converters (ADC)
23:04
Collin's Lab: USB Hacking with Arduino
5:01
Make:
Переглядів 594 тис.
12-bit DAC Arduino MCP4725 How To Use It - Stable Voltage Reffrence
11:21
How Do DACs Work? - The Learning Circuit
8:55
element14 presents
Переглядів 51 тис.
How Do ADCs Work | Schematic Capture
23:02
Altium Academy
Переглядів 7 тис.
Op Amps: Digital to Analog Conversion
9:25
Electronics with Professor Fiore
Переглядів 19 тис.
Play MP3 Files on ESP32 Without Codec Chip: Easy Guide
8:51
atomic14
Переглядів 75 тис.
Programming the NES - Everything you need to know
28:36
Inkbox
Переглядів 48 тис.
Collin's Lab: Monotron Hacking
5:33
Make:
Переглядів 351 тис.
ЭТО НЕ ПРОСТО РАСТЕНИЯ (@ForgeCoreCo)
0:19
В ТРЕНДЕ
Переглядів 7 млн
Омлет по Корейски 👍
0:34
Готовим с Павлом Гурмановым
Переглядів 1,4 млн
Правильний ШАШЛИК на Великдень👌👌👌
0:27
ПАЛОЧКИ ДЛЯ РОЛЛОВ!
0:22
Сергей Кагилев
Переглядів 2,8 млн