Arduino Basics Digital to Analog Conversion

  Рет қаралды 15,848

learnelectronics

learnelectronics

Күн бұрын

Пікірлер: 39
@random_Person347
@random_Person347 5 ай бұрын
You didn't post the Arduino code though, but I tracked it down on Amanda's project page.
@robertcalkjr.8325
@robertcalkjr.8325 6 жыл бұрын
Thanks Paul. I haven't played with my Arduino in years. I prefer analog circuits.
@learnelectronics
@learnelectronics 6 жыл бұрын
I'm an analog guy from way back to the 80's
@robertcalkjr.8325
@robertcalkjr.8325 6 жыл бұрын
Analog circuits just seem to run smoother and LED's look warmer. I have 2 Night Rider KITT's with 6 LED's; one with analog components, and one with the Arduino. The analog LED's just look warmer and smoother.
@arthursgarage6550
@arthursgarage6550 4 жыл бұрын
analog is fun but it is a lot harder than digital in my experience
@katongekai
@katongekai Жыл бұрын
sir can i give it the 8 dip switch before it goes to resistor to control output?
@JeremyCook
@JeremyCook 4 жыл бұрын
Thanks for the video. From a practical standpoint, what is the advantage of an R2R ladder over straight PWM. For that matter, is there a reason you'd want to use this over a setup using a PMW output and a filtering capacitor?
@arthursgarage6550
@arthursgarage6550 4 жыл бұрын
I could be wrong but from what I remember pwm is just a square wave from 0 Volts to 5 Volts that are pulsed at just the right times to average at a certain voltage which in something like an audio amp can sound annoying while R2R ladder gives a constant voltage output
@JeremyCook
@JeremyCook 4 жыл бұрын
@@arthursgarage6550 Thanks!
@jawherferid1604
@jawherferid1604 6 жыл бұрын
great video ! how much is the capacitor in farad ??
@arthursgarage6550
@arthursgarage6550 4 жыл бұрын
100nf
@hyprballads
@hyprballads 4 жыл бұрын
It's not R square 2, it's just 2xR Hence the 22k 47k
@videosajjee3892
@videosajjee3892 5 жыл бұрын
How to get 8 lines per octapad...?
@3dgiftz
@3dgiftz 3 жыл бұрын
Super
@luckybambooguy6084
@luckybambooguy6084 7 жыл бұрын
nice video explained well... not too long winded... good video and audio... A+++++ I hadn't thought of this problem but now I'm thinking how I can use this in my projects.... Thanks Much
@learnelectronics
@learnelectronics 7 жыл бұрын
LuckyBambooGuy thank you.
@fakiirification
@fakiirification 7 жыл бұрын
just when i was wondering how to get a true AC sinewave out of my arduino! Any idea how much current this can handle? I need to drive a very small step up transformer to make something like a 50-60 volt by a few milliamp "signal" for lack of a better word. maybe use the arduino outputs to drive transistors feeding into the resistor network? or maybe an op-amp IC to feed in. idk! off to experiment!
@bradclymer3191
@bradclymer3191 7 жыл бұрын
Really useful, thanks!
@Bob3519
@Bob3519 7 жыл бұрын
This was neat. Thanks for sharing this.
@Dom-bo8wd
@Dom-bo8wd 5 жыл бұрын
any ideas how to change the frequency?
@vicplasma58
@vicplasma58 5 жыл бұрын
changing the value of "delaymicroseconds(50)" at 5:40
@fredlllll
@fredlllll 7 жыл бұрын
i wonder why noone made an IC with such a resistor network yet... would be the counterpart to a flashADC
@learnelectronics
@learnelectronics 7 жыл бұрын
There are DAC IC's. They probably use an R2R ladder. They definitely have a buffer and an amplifier.
@fredlllll
@fredlllll 7 жыл бұрын
i guess they are rather using a class d circuit, otherwise they wouldnt be so ridiculusly expensive sometimes :P
@learnelectronics
@learnelectronics 7 жыл бұрын
fredlllll true. I'm going to do a video on how to use a dual op amp to create a buffer and amplifier for the r2r ladder in a few days.
@fredlllll
@fredlllll 7 жыл бұрын
cool :)
@tonysfun
@tonysfun 7 жыл бұрын
Very nice, I'm now a subscriber also! Thanks and you can also mention what equipment you are using in your videos, for some of us that is also interesting.
@learnelectronics
@learnelectronics 7 жыл бұрын
Tony Fleming thanks for subscribing 😀 by equipment, do you mean scope? it's a Hantek 6022BE right now... but that is going to change this week.
@tonysfun
@tonysfun 7 жыл бұрын
Yes, I would like (in most cases) the person, who does uses tools during the video, to at least have a model number and name of the equipment used. I know, most people don't care that much, but I like that kind of details. Thanks for the answer and if you like, post here your new scope and or even a video, I love to see what NEW TOYS you have!
@marianabalog2144
@marianabalog2144 6 жыл бұрын
I care!! I like to know it also thanks a lot for the video
@achinktrc
@achinktrc 5 жыл бұрын
Mantap
@sargetester99
@sargetester99 6 жыл бұрын
You did not show us where to tap into the circuit for other voltages. Can you only tap into the end of circuit like you did? As you did that, I only saw one voltage level, not many different levels. Can you make another video to compliment this one discribing how to achieve some different levels of voltage?
@learnelectronics
@learnelectronics 6 жыл бұрын
You only tap into it at the output. If you want different voltage you change the input. It's digital to analog so you send it 0001 to 1111
@sargetester99
@sargetester99 6 жыл бұрын
@@learnelectronics can I use the r2r lader, to have a pwm input to it and a analog output from it?
@learnelectronics
@learnelectronics 6 жыл бұрын
No, you input a binary number and get flat DC out
@nandimasimula1665
@nandimasimula1665 5 жыл бұрын
@@sargetester99 To get pwm to flat analog signal you'll need an RC filter or a Sallen key low pass filter, google it... Websites to calculate values for cutoff frequency, cap values and resistor values. R2R ladder replaces pwm and is a stable output where the RC filter might have more noise and can't opreate at high frequencies due to voltage range drop from recovery time for caps etc.(Sallen key filter has less noise to my knowledge, still have to test though). If you need the pins on arduino for something else you might want to use a shift register or two to save those pins for another purpose.
@djsincenineone
@djsincenineone 7 жыл бұрын
Hi great video! i'm working on a project and i need a bit of assistance, can i please message you about it?
@learnelectronics
@learnelectronics 7 жыл бұрын
Noise Anatomy sure Arduino0169@gmail.com
@djsincenineone
@djsincenineone 7 жыл бұрын
thanks! i sent you an email
How to use a high current solenoid with Arduino
5:08
learnelectronics
Рет қаралды 34 М.
Making a 12 bit DAC Using an Arduino - The Learning Circuit
7:51
element14 presents
Рет қаралды 46 М.
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 92 МЛН
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 19 МЛН
One day.. 🙌
00:33
Celine Dept
Рет қаралды 50 МЛН
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
Arduino DAC 2:  OpAmp Buffer
7:36
learnelectronics
Рет қаралды 10 М.
Going Beyond Arduino # 10: PWM D-to-A vs R2R Ladder D-to-A
14:32
Craig Hollinger
Рет қаралды 20 М.
Digital to Analog Converter and Arduino
5:40
learnelectronics
Рет қаралды 27 М.
Testing frequency of crystals
7:06
Lewis Moten
Рет қаралды 16 М.
The FASTEST way to get analog output from an Arduino
8:32
learnelectronics
Рет қаралды 15 М.
Arduino Basics Handling Multiple States
10:35
learnelectronics
Рет қаралды 121 М.
DAC using R-2R resistor ladder
22:38
bitluni
Рет қаралды 111 М.
arduino powered frequency counter
11:10
learnelectronics
Рет қаралды 22 М.
Why Are Threads Needed On Single Core Processors
16:07
Core Dumped
Рет қаралды 2,9 М.
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 92 МЛН