Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to connect audio output to an ADC

  1. Jan 27, 2018 #1
    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: Jan 27, 2018
  2. jcsd
  3. Jan 27, 2018 #2
    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?
     
  4. Jan 27, 2018 #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: Jan 27, 2018
  5. Jan 27, 2018 #4
    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/
     
  6. Jan 27, 2018 #5
    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?
     
  7. Jan 27, 2018 #6

    berkeman

    User Avatar

    Staff: Mentor

    Thread title edited. Thanks @Asymptotic :smile:
     
  8. Jan 27, 2018 #7

    berkeman

    User Avatar

    Staff: Mentor

    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?
     
  9. Jan 27, 2018 #8

    Merlin3189

    User Avatar
    Homework Helper
    Gold Member

    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.
     
  10. Jan 28, 2018 #9
    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
     
  11. Jan 28, 2018 #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
     
  12. Jan 29, 2018 #11
    thank you
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted