Тёмный

Collin's Lab: Digital to Analog Converter 

Make:
Подписаться 1,6 млн
Просмотров 278 тыс.
50% 1

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

Хобби

Опубликовано:

 

14 фев 2011

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 294   
@tobortine
@tobortine 11 лет назад
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
@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!
@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.
@JohnIvoryMusic
@JohnIvoryMusic 7 лет назад
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
@griffgriffo9746
@griffgriffo9746 10 лет назад
Fantastic,,Now it is easy to understand DAC conversion...Very good tutorial
@buttersstotch2014
@buttersstotch2014 4 года назад
Miss colins lab. This got me into electronics like 10 years ago
@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.
@Dylanjraub
@Dylanjraub 13 лет назад
Holy crap! This design is freaking perfect! You are a genius.
@Norfeldt
@Norfeldt 13 лет назад
Seen this 5 times now and think its absolutely awesome!
@doodh_jalebi
@doodh_jalebi 12 лет назад
i think that the best part of your videos are that when you assemeble or review or open a kit!
@StarfieldBound
@StarfieldBound 10 лет назад
Excellent demo. Great work!
@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.
@LudwigSpiegel
@LudwigSpiegel 13 лет назад
I wish I had an electronics Professor like you back in the days!
@homosapienssapiens19
@homosapienssapiens19 13 лет назад
amazing! ive never seen someone describe electronics so well!
@giovannicriscwcc4249
@giovannicriscwcc4249 3 года назад
The best teachers are on youtube, I always confirm
@Rewskidoo
@Rewskidoo 13 лет назад
Wow Collin sounds so natural in this video, very refreshing compared to his usual awkwardness Collin FTW!
@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!
@HavokTheorem
@HavokTheorem 13 лет назад
Collin, you are great at explaining stuff :) I just figured out how a computer turns electricity into lights and sounds.
@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.
@guitarplayer1293
@guitarplayer1293 13 лет назад
that's a pretty sweet oscilloscope you got there ... and awesome vid, nice explanation
@NikolajLepka
@NikolajLepka 13 лет назад
collin be my teacher! your video submissions are so informative!
@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.
@solidacid1337
@solidacid1337 13 лет назад
thanks again Colin, keep the videos coming! :D
@anthonyvolkman2338
@anthonyvolkman2338 6 лет назад
Good pun there! "DACs pretty cool"
@MrBetronick
@MrBetronick 12 лет назад
Woooow men!!! this is incrediblee!! thnx4this!! Congratulationss!!
@INSULTMANFROMEBAUMS
@INSULTMANFROMEBAUMS 13 лет назад
Collin should have his own channel.
@Norfeldt
@Norfeldt 13 лет назад
This video is awesome! Just like all the other Collins vids
@qeaq3184
@qeaq3184 2 года назад
Holy***, well done man .
@tw34kd
@tw34kd 13 лет назад
Cool informative video, Thanks!
@FYGOKENTROSS
@FYGOKENTROSS 10 лет назад
Great video! THANKS!
@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.
@BetaThings
@BetaThings 13 лет назад
Nice Video! very well explained like sesame street for electronics.
@nishilsb
@nishilsb 9 лет назад
A beautiful information
@zaredtokarz7340
@zaredtokarz7340 5 лет назад
One of the coolest videos I've ever seen user get an immediate sub
@trexlm
@trexlm 13 лет назад
this video is designed very good :)
@Skegon
@Skegon 13 лет назад
I have no idea what he's talking about.. but I still think it's awesome!
@Happilymarrieddad
@Happilymarrieddad 7 лет назад
Dacs REALLY cool.. lol Collin, you're awesome lol!
@krist0sh
@krist0sh 13 лет назад
I TOTALY LOVE YOUR MUSIC! IT SOUNDS LIKE MY GRANDFATHERS OLD CASIO KEYBOARD :D
@eddiea6987
@eddiea6987 13 лет назад
the end made me laugh lol . but yes collin def needs his own channel.
@ChrisLeeW00
@ChrisLeeW00 6 лет назад
DACs Pretty Wild Man
@RhodderzX
@RhodderzX 13 лет назад
Thanks needed this for college :D
@AxelTiger
@AxelTiger 13 лет назад
DACs so cool bro!
@kdknitro
@kdknitro 13 лет назад
cool as long as you understand it, keep it up coliin
@Lovethempeas
@Lovethempeas 13 лет назад
More Collin, MORE!
@jekader
@jekader 13 лет назад
thanks, very interesting info!
@3er24t4g1
@3er24t4g1 11 лет назад
I want more Collins lab and circuit skills
@rb5046_
@rb5046_ 13 лет назад
Very neat! Thanks!
@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
@jericotyler
@jericotyler 13 лет назад
Dac video was awesome :3
@benlogic8592
@benlogic8592 6 лет назад
thank you colin
@Poopdudeification
@Poopdudeification 12 лет назад
This hurts my brain, but is AWESOME!
@KHA7V
@KHA7V 8 лет назад
dacs very cool and entertaining
@seppa340
@seppa340 8 лет назад
MUCH Better learning compared to the most of the universities!
@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.
@konsul2006
@konsul2006 13 лет назад
all teachers should be like Coliin :)
@SacreDro
@SacreDro 13 лет назад
Thanks so much for the vid.
@ObiTrev
@ObiTrev 11 лет назад
Thanks! I wasn't sure if a DVI to VGA dongle would work!
@vladpuha
@vladpuha 6 лет назад
thank you for your video. great explanation. why the 10k and 20k?
@russelljenkinsfearn
@russelljenkinsfearn 13 лет назад
Niice one Coliin !
@tomattosfutleimierda
@tomattosfutleimierda 12 лет назад
oh please never change
@luiscruz149
@luiscruz149 13 лет назад
really cool
@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.
@NewProductions
@NewProductions 13 лет назад
DACS PRETTY AWESOME BRAH.
@saurabhgolam9779
@saurabhgolam9779 11 лет назад
woah.. u made it look like a piece of cake !!
@2454014
@2454014 13 лет назад
Nice video I am sure you know a lot about computer engineering.
@therealjammit
@therealjammit 12 лет назад
I remember doing this before sound cards were created. I'd make an R/2R ladder and use my parallel port to drive it.
@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
@mattswinn
@mattswinn 13 лет назад
Dac is awesome almost as awesome as your comb over
@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.
@RyanJensenEE
@RyanJensenEE 13 лет назад
10,000th viewer! awesome job collin!
@FrigginSmift
@FrigginSmift 13 лет назад
Collins for president!
@HandPickedArtwork
@HandPickedArtwork 6 лет назад
I love Dac
@StarTrooper47
@StarTrooper47 9 лет назад
dude your oil lamp is wicked.
@kuno86
@kuno86 13 лет назад
very interesting
@ubito_san
@ubito_san 13 лет назад
DAC was cool!
@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
@arrshithrg5359
@arrshithrg5359 7 лет назад
can we control the output voltage
@m42uko
@m42uko 13 лет назад
Cool! Could you please also do a video on analog to digital converters?
@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?
@pibyte
@pibyte 3 года назад
You rule!
@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""
@keoni29
@keoni29 12 лет назад
Use a demultiplexer in combination with this. It saves arduino pins and the output is buffered.
@aayush10001
@aayush10001 13 лет назад
genius!!
@HVBasti
@HVBasti 13 лет назад
@mirandabone U are right! I also miss the weekend projects. Where have they gone?
@goompapa
@goompapa 13 лет назад
legend... nuff said...
@PvtHaggard
@PvtHaggard 13 лет назад
@hyper080 FYI there shift registers
@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
@thishasgottobecrazy
@thishasgottobecrazy 13 лет назад
@maribakumon 0-255 is 256 different values (2^8)
@intergalacticoverdri
@intergalacticoverdri 9 лет назад
where are hardcover bound (non cheap spiral bound) graph notebooks like this found, especially in that kind of blue color. where is that type of notebook found/available?
@wewhippedemdidntwe
@wewhippedemdidntwe 8 лет назад
+intergalacticoverdri Yeah I'm interested in that as well, much more convenient than a pile of loose sheets
@ArsyadKamili
@ArsyadKamili 8 лет назад
You can find them on bookstores.
@intergalacticoverdri
@intergalacticoverdri 8 лет назад
thanks
@MarisaClardy
@MarisaClardy 12 лет назад
@k1ngdeth Maker Faire... Makershed may carry it as well...
@AnalogX64
@AnalogX64 13 лет назад
Dacs a good video. ;)
@jisatechnology4656
@jisatechnology4656 5 лет назад
will it works in high frequency like 1mhz?
@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.
@dumle29
@dumle29 11 лет назад
Even easier would be to get a VGA to composit, and that should be a lot cheaper too, as VGA is already an analog signal. Check you pc's DVI port, and see if it is a DVI-I port. If it is a DVI-I port, it has four small holes, around the large rectangular hole. Then get a DVI-I to VGA adapter, they should be around 2-5$ and then get something like this: goo "dot" gl "slash" 9JON6 . It is a vga to composit (the yellow round plug)
@dumle29
@dumle29 11 лет назад
No problem :)
@lionconvoy8622
@lionconvoy8622 10 лет назад
how much is the delay in the void loop??
@adamantchese
@adamantchese 13 лет назад
dac's pretty cool, brah.
Далее
Collin's Lab: Electronics Tools
9:27
Просмотров 640 тыс.
How Do DACs Work? - The Learning Circuit
8:55
Просмотров 55 тыс.
🤯️ Vini Jr. ✖️ Brahim 🤯
00:13
Просмотров 1,7 млн
MAKE presents: The Diode
7:26
Просмотров 592 тыс.
Circuit Skills: Perfboard Prototyping
8:37
Просмотров 642 тыс.
Fun with Transistors
24:33
Просмотров 79 тыс.
MAKE presents: The Capacitor
8:01
Просмотров 874 тыс.
Collin's Lab: Atari Punk Console
6:00
Просмотров 747 тыс.
MAKE presents: The Inductor
10:46
Просмотров 657 тыс.
Cut anything, even diamond
13:07
Просмотров 1,1 млн
Small Act of Kindness is also a charity
1:00
Просмотров 52 млн
Stainless Steel Mesh Coffee and Tea Strainer
0:33
Просмотров 30 млн