How to connect audio output to an ADC

  • #1
434
19

Main Question or Discussion Point

hello to everybody,
can somebody help me,
how to connect audio output to dac
i have a rado tuner,
i just need to connect audio output to adc after to connect to arduino
thnx
 
Last edited:

Answers and Replies

  • #2
779
526
how to connect audio output to dac
No. A DAC converts digital to analog ... you probably mean an ADC (analog to digital converter).

1. What are the tuner audio output signal level specifications?
For example, standard "Line Out" is 1 milliwatt into a 600Ω load (about 0.77 volts RMS; 2.2 volt peak-to-peak).

2. What is the ADC manufacturer and part number?
 
  • #3
434
19
yes you right i just wake up,
is 1 milliwatt into a 600Ω load (about 0.77 volts RMS; 2.2 volt peak-to-peak) almost

and can you make it adc
 
Last edited:
  • #4
779
526
yes you right i just wake up,
is 1 milliwatt into a 600Ω load (about 0.77 volts RMS; 2.2 volt peak-to-peak) almost

and can you make it adc
My advice is to search the web for articles on how others have done analog to digital conversion and processed it with Arduino hardware.

For example,
https://blog.yavilevich.com/2016/08/arduino-sound-level-meter-and-spectrum-analyzer/
https://blog.yavilevich.com/2016/08/arduino-sound-level-meter-and-spectrum-analyzer/
https://www.researchgate.net/publication/275656940_Digital_sound_processing_using_arduino_and_MATLAB
https://www.researchgate.net/publication/275656940_Digital_sound_processing_using_arduino_and_MATLAB
http://www.amandaghassaei.com/projects/arduinodsp/
 
  • Like
Likes michael1978
  • #5
434
19
i wil like to know how work R2R dac, only with switch, or automatic digital way, because one friend of me, he told me about dac R2R ladder, but they are with switch? like this they work?
 
  • #6
berkeman
Mentor
57,489
7,517
  • Like
Likes michael1978
  • #7
berkeman
Mentor
57,489
7,517
i wil like to know how work R2R dac, only with switch, or automatic digital way, because one friend of me, he told me about dac R2R ladder, but they are with switch? like this they work?
Well, an R2R ladder DAC is just that, a DAC. Are you wanting to ask about DACs or ADCs?

It is true that some ADC architectures involve a DAC as part of the circuit, though. Is that part of what is confusing you?
 
  • #8
Merlin3189
Homework Helper
Gold Member
1,581
723
Yes R-2R DAC is driven by a digital signal (see here)

The question that I don't know the answer to, is whether the ADC of the Arduino can sample the signal fast enough for an audio signal. Maybe Asymptotic's references will help.
 
  • #9
434
19
Yes R-2R DAC is driven by a digital signal (see here)

The question that I don't know the answer to, is whether the ADC of the Arduino can sample the signal fast enough for an audio signal. Maybe Asymptotic's references will help.
you know i read the book arduino for musicians, and he explain audio input and audio output, so for that i ask, is possible that data from audio output to as input to adc arduino and output to dac to speaker, i know that it needs to amplify the signal because i read it to that book
 
  • #10
1,955
252
The Arduino does indeed use succesive approximation with a DAC to make an anolog to digital converter.
To get the 10 bits of accuracy, 13 clockcycles of the ADC clock are needed. This runs normally at 1/128 of the clock speed of the arduino, so at 125 kHz. This gives a maximum sampling frequency of 125/13 is 9.6 kHz. Not enough for quality audio. It seems you can run the ADC clock as high as 1MHz, giving a 77 kHz sampling frequency. You also have to make sure that samples are collected at very regular times, possibly with interrupts.

The input range is normally from 0V to 5V. You can use an internal 1.1V voltage reference or an external reference from 1 to 5 volts. Some amplification will be required to get the full range from an audio signal. (if you want 10 bits output)
I found lots of info here: https://www.gammon.com.au/adc
 
  • Like
Likes Asymptotic
  • #11
434
19
The Arduino does indeed use succesive approximation with a DAC to make an anolog to digital converter.
To get the 10 bits of accuracy, 13 clockcycles of the ADC clock are needed. This runs normally at 1/128 of the clock speed of the arduino, so at 125 kHz. This gives a maximum sampling frequency of 125/13 is 9.6 kHz. Not enough for quality audio. It seems you can run the ADC clock as high as 1MHz, giving a 77 kHz sampling frequency. You also have to make sure that samples are collected at very regular times, possibly with interrupts.

The input range is normally from 0V to 5V. You can use an internal 1.1V voltage reference or an external reference from 1 to 5 volts. Some amplification will be required to get the full range from an audio signal. (if you want 10 bits output)
I found lots of info here: https://www.gammon.com.au/adc
thank you
 

Related Threads on How to connect audio output to an ADC

Replies
2
Views
3K
  • Last Post
Replies
7
Views
2K
Replies
9
Views
2K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
15
Views
3K
  • Last Post
Replies
11
Views
13K
  • Last Post
Replies
9
Views
4K
  • Last Post
Replies
1
Views
11K
Replies
20
Views
2K
Replies
8
Views
12K
Top