Collin's Lab: Digital to Analog Converter

Collin's Lab: Digital to Analog Converter


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
Closed Caption:

computers speak in digital binary
language a series of high and low
voltages represented by ones and zeros
in order for a computer to recreate
something like a continuous analog sound
wave it needs a little help
the aptly named digital-to-analog
converter performed that service quite
well
converting a series of digital on/off
messages into specific voltage levels
most digital-to-analog converters come
in
chip form but you can actually make your
own using just some resistors
allow me to demonstrate just like binary
data the pins on a programmable
microcontroller can be set high or low 0
or 5 volts on most boards
but by simply adding two resistors and a
connection to ground we create a voltage
divider capable of lowering the output
voltage to a point between 0 and 5 volts
determined by the resistor values we use
to build on this idea we can link
multiple pins together in a sort of
resistor ladder where they can be used
in combination to create a wider range
of output voltages each pins position on
the ladder determines how much of its
original five volts will reach the
output this arrangement is called an R
to R deck because it uses one resistor
value 10k in this case and a second
resistor value two times that amount by
extending the letter to more output pins
we increase our Dax resolution each pin
can use one binary bit to specify its
higher low status
so with eight pins are deck will have an
8-bit resolution
just like the good old days to make
programming a bit easier we can store
those eight bits together as a bite
to make things even simpler we can
specify a byte value using good
old-fashioned numbers any whole number
from 0 on up to 255 can be stored as an
8-bit binary bite by writing that number
two are back pins
it will be translated into a value
between 0 and 5 volts which is pretty
slick
I assembled my R to R deck on a
breadboard using an Arduino Nano my car
controller hook the dax output up to my
oscilloscope and audio monitor and last
but not least loaded up a bit of example
code if we provide our microcontroller
with a list of values to write out to
the deck in a loop we can create
waveforms likes a sine wave
and essentially that's how that works
Dex pretty awesome no to learn how to
pump for your deck and various other
interesting things
head over to make seen . comment

Video Length: 04:36
Uploaded By: Make:
View Count: 202,577

Related Software Products
Digital Audio Converter
Digital Audio Converter

Published By:
Digital Action

Description:
Digital Audio Converter's purpose is converting audio files from one format to another according to your wish and saving them to your hard drive. The following audio formats are available for conversion: WAV(PCM), OGG Vorbis, MP3, WMA, FLAC, APE, MPC, SPX, TTA, WV, AAC.BRConverting audio files Digital Audio Converter user will find the opportunity to specify frequency, number of channels, bitrate and other parameters of output files. Digital Audio Converter supports Winamp, M3U and ...


Related Videos
HDMI to Audio Video Converter
HDMI to Audio Video Converter

MX HDMI to AV converter converts digital HDMI signals to analog Composite Video, taking the input resolution from your device and converting it into an analog signal at the same resolution. The converter also separates the audio stream from the HDMI signal and converts it to analog stereo audio that can be used with the Video display. With support for resolutions of up to 1080p, the converter is a perfect solution for connecting video cards (desktop or laptop) or consumer electronics devices ...
Video Length: 02:44
Uploaded By: MDR Electronics
View Count: 424,714

Digital to Analog Audio Converter Optical / Coaxial / USB
Digital to Analog Audio Converter Optical / Coaxial / USB

Get Your Own! : http://www.parts-express.com/pe/showd... Enjoy your high-definition audio tracks played through your stereo audio system or headphones. This Digital to Analog Audio Converter accepts all PCM digital audio and converts to stereo analog audio. With all of the inputs the serious user will need; USB, toslink and coaxial digital audio, this unit will connect to virtually any audio source. http://www.parts-express.com The #1 Source for Audio, Video and Speaker ...
Video Length: 02:04
Uploaded By: Parts Express
View Count: 345,687

D/A and A/D | Digital Show and Tell (Monty Montgomery @ xiph.org)
D/A and A/D | Digital Show and Tell (Monty Montgomery @ xiph.org)

Original Video: http://xiph.org/video/vid2.shtml More videos in this series: http://xiph.org/video/ Get the software - https://wiki.xiph.org/Videos/Digital_Show_and_Tell Monty at Xiph presents a well thought out and explained, real-time demonstrations of sampling, quantization, bit-depth, and dither on real audio equipment using both modern digital analysis and vintage analog bench equipment. This video has been reproduced with ...
Video Length: 23:53
Uploaded By: Image-Line
View Count: 301,749

optical to rca or analog audio converter
optical to rca or analog audio converter

i buy this TV from gafaar samsung E450 it has only digital optical audio out so i atched my 2.1 through digital audio converter if any one wana purchase this so u can contect me on my ID johnparker@yahoo.com hr / bClosed Caption:/b today I'm going to show you how to connect your TV through the optical liar i purchased the samsung e450 the 43 inches lot my TV and it has a link like audio with you in and that to SD a my boat and it doesn't ...
Video Length: 01:58
Uploaded By: kevin namak
View Count: 274,407

Analog to Digital Audio Converter
Analog to Digital Audio Converter

MX Analog to Digital Audio Converter is designed to convert analog stereo audio signals from L/R input to Coaxial S/PDIF and Toslink Optical outputs, simultaneously. The output digital audio signal created is a 2-channel uncompressed LPCM (Linear Pulse Code Modulation) with sampling rate at 48 KHz. Both Optical Fiber and Coaxial cables connected to the outputs of the unit can run up to 5 meters while providing reliable and lossless audio signal transmission. The Converter is compact and easy to ...
Video Length: 02:11
Uploaded By: MDR Electronics
View Count: 237,327

D1 Premium 24 bit Digital-to-Analog Converter (DAC)
D1 Premium 24 bit Digital-to-Analog Converter (DAC)

Bypass your computer's soundcard or headphone output and send audio through USB or optical. The D1 will make ALL your computer music sound better! hr / bClosed Caption:/b audioengine is one of the leading companies and computer audio and our goal is to introduce people to a high-quality listening experience at an affordable price we love computer or digital audio because the convenience and simplicity but we love analogbr ...
Video Length: 01:43
Uploaded By: Audioengine USA
View Count: 121,664

DacMagic Plus Digital to Analogue converter
DacMagic Plus Digital to Analogue converter

The brand new DacMagic Plus is here! With exciting new features, wireless device connectivity and significantly enhanced audio performance, it's a truly impressive Digital to Analogue Converter. For more information please visit: http://www.cambridgeaudio.com/DacMagicPlus hr / bClosed Caption:/b hi memorandum with Bennett Cambridge Audio talk about the new jack Magic Bus and the new PT 100 which is the Bluetooth receiver to bendbr ...
Video Length: 04:22
Uploaded By: Cambridge Audio
View Count: 75,589

Atlona Optical/Digital Coaxial 2-Way Converter
Atlona Optical/Digital Coaxial 2-Way Converter

Atlona's AT-AD-2 Toslink/Coaxial Audio converter is a great little gadget for those who need to convert optical to coaxial or coaxial to optical or even input a single optical or coaxial and get both outputs working simultaneously. With it's built-in amplification feature, AT-AD2 can also serve as a repeater of audio signal and extend (double) the standard transferring distance. hr / bClosed Caption:/b oh man my poor friend Ryan is gonna be so mad he just got a whole ...
Video Length: 03:11
Uploaded By: TigerDirect
View Count: 57,873

RGB + Audio to HDMI Converter
RGB + Audio to HDMI Converter

MX YPBPR to HDMI Converter will transform the Y PB PR signal and AUDIO signal into HDMI signal output. It can make PC connect with the large screen TV through HDMI channel. This Y PB PR to HDMI converter converts a standard Y PB PR signal OLD DVD Players to a Industry standard HDMI signal. This allows for connectivity to newer plasma or LCD televisions that have an available HDMI port. This converter also includes an analog RCA audio input that is converted to a digital audio signal. The two ...
Video Length: 02:53
Uploaded By: MDR Electronics
View Count: 52,844

Cassette Tape to USB Converter Review | EpicReviewGuys CC
Cassette Tape to USB Converter Review | EpicReviewGuys CC

Got a box full of old cassette tapes buried in the closet? This little device from AGPtek -http://epicreviewguys.com/Cassette-Tape-Converter can bring those tapes back to life and let you convert the audio to MP3 files. Once you have digitized the cassette tapes you don't have to worry about them deteriorating anymore and with MP3 files it is as easy as emailing them to family and friends to share what you have rediscovered. This cassette tape to USB converter is basically a souped-up ...
Video Length: 06:56
Uploaded By: EpicReviewGuys
View Count: 47,368

Copyright © 2025, Ivertech. All rights reserved.