How to connect audio output to an ADC

In summary, an R2R DAC is a type of DAC that uses a digital signal to drive a resistor-to-resistance (R2R) ladder. This architecture gives increased accuracy over standard DACs, as 13 clockcycles of the ADC clock are needed to get 10 bits of accuracy.
  • #1
michael1978
434
19
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:
Engineering news on Phys.org
  • #2
michael1978 said:
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
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
michael1978 said:
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
Asymptotic said:
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://www.researchgate.net/publication/275656940_Digital_sound_processing_using_arduino_and_MATLAB
http://www.amandaghassaei.com/projects/arduinodsp/
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
Asymptotic said:
No. A DAC converts digital to analog ... you probably mean an ADC (analog to digital converter).
michael1978 said:
and can you make it adc
Thread title edited. Thanks @Asymptotic :smile:
 
  • Like
Likes michael1978
  • #7
michael1978 said:
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
Yes R-2R DAC is driven by a digital signal https://www.allaboutcircuits.com/textbook/digital/chpt-13/r-2r-dac/

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
Merlin3189 said:
Yes R-2R DAC is driven by a digital signal https://www.allaboutcircuits.com/textbook/digital/chpt-13/r-2r-dac/

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
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
willem2 said:
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
 

1. How do I connect the audio output to an ADC?

The first step is to identify the type of ADC you are using. Depending on the type, you will need to connect the audio output to either the analog or digital input pins of the ADC. Make sure to consult the datasheet for your specific ADC to determine the appropriate connections.

2. Can I connect multiple audio outputs to one ADC?

Yes, it is possible to connect multiple audio outputs to one ADC. However, this may require additional components such as a multiplexer or amplifier to properly handle the input signals. Again, refer to the datasheet for your ADC to determine the best approach for your specific setup.

3. How do I ensure accurate sampling of the audio signal?

Accurate sampling of the audio signal is crucial for proper conversion to digital data. To ensure this, you will need to properly set the sampling rate of your ADC to match the frequency of the audio signal. Additionally, using a low-pass filter in the circuit can help reduce noise and aliasing, resulting in more accurate sampling.

4. What type of ADC is best for audio applications?

There are various types of ADCs that can be used for audio applications, such as delta-sigma, successive approximation, and flash ADCs. Each type has its own advantages and limitations. For audio applications, a delta-sigma ADC is often preferred due to its high resolution and low cost.

5. Can I connect a microphone directly to an ADC?

No, a microphone output cannot be directly connected to an ADC. Microphones produce analog signals, and ADCs require digital inputs. Therefore, you will need to use an amplifier or preamplifier to boost the microphone signal and then connect it to the ADC.

Similar threads

Replies
3
Views
1K
Replies
20
Views
1K
  • Science and Math Textbooks
Replies
8
Views
978
Replies
10
Views
474
Replies
1
Views
1K
  • Electrical Engineering
Replies
3
Views
1K
  • Electrical Engineering
Replies
3
Views
1K
  • Electrical Engineering
Replies
25
Views
3K
Replies
4
Views
964
  • Electrical Engineering
Replies
28
Views
2K
Back
Top