Connect with us

4066 and audio

Discussion in 'Audio' started by docb, Sep 25, 2011.

  1. docb

    docb

    131
    2
    Feb 11, 2010
    Hi,

    Do I need buffer ICs, or input caps or anything if I just want to switch mic level audio on and off with a 4066?
     
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,191
    2,693
    Jan 21, 2010
    You must ensure that your audio signal is between Vss and Vdd (the power supply).

    If the signal is generated by your curcuit, it will already be (most likely) between the supply rails, so it may be DC coupled to the 4066.

    If the signal is coming from an external source, you may wish to have an input capacitor, and then bias the input of the 4066 at half the supply using a pair of high value resistors.

    For similar reasons, you may also need an output capacitor (or not).
     
  3. docb

    docb

    131
    2
    Feb 11, 2010
    I don't fully understanding all you are saying, so please correct me if I'm wrong.

    Vdd is 5v, and audio is guitar, or possibly line level, so all well under 5v.

    By DC coupled, you mean direct, less the cap. What value is the norm for this AC coupling cap? Is a .01 disc cap acceptable for mic/line/guitar Z?

    I don't really follow you on the biasing. Since the 4066 is just a switch, would I bias *only* to reduce clicks in the audio? If so, how do I do bias to 2.5v? Two resistors as a voltage divider to get 2.5v, on the IC side of the cap, and the audio input from the other side of the cap?
    One circuit I saw uses 1meg to Vdd on the chip input, and then a 1 meg on the other side of the cap, at the input.

    Thanks!
     
    Last edited: Sep 26, 2011
  4. BobK

    BobK

    7,632
    1,657
    Jan 5, 2010
    An audio signal is typcially going to go above and below ground. So the positive part of the signal may be < 5V, but the negative part is below 0, putting it out of range. The biasing brings the signal up to the midpoint (2.5V) when the signal is 0, so it allows the signal to go either positive or negative by 2.5V.

    Bob
     
  5. docb

    docb

    131
    2
    Feb 11, 2010
    And the value in this is that I can put higher signal level without distortion?
     
  6. jackorocko

    jackorocko

    1,284
    1
    Apr 4, 2010
    no, it is so the switch will work over the full range of voltage swing in the audio. As bob said, right now the switch would be off for any voltage lower then ground potential, which is half the audio.
     
  7. docb

    docb

    131
    2
    Feb 11, 2010
    While I agree in theory about the negative waveform, in practice the 4066 seems to switch line audio just fine, unbiased. I have it working on a breadboard, so that's a bit confusing.
     
  8. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,191
    2,693
    Jan 21, 2010
    The datasheet says this:

    And whilst you can feel at liberty to ignore the advice, many people don't.
     
  9. docb

    docb

    131
    2
    Feb 11, 2010
    It seems easy enough to just add two resistors and and a cap to the input, and then a cap on the output, so I will.

    I think line level is only about 2v, so with Vcc at 5v, I still have some headroom even after biasing to 2.5, yes?
     
  10. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,191
    2,693
    Jan 21, 2010
    A lot depends on what sort of 2V you have.

    If it's 2V peak to peak, then you will have plenty of headroom.

    2V RMS would be 5.7V peak to peak (for a sine wave) and that signal would be too large.
     
  11. docb

    docb

    131
    2
    Feb 11, 2010
    Just regular line level audio.
     
  12. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,191
    2,693
    Jan 21, 2010
    OK, line level should be under 5V peak to peak, so you should be fine.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
Loading...
Electronics Point Logo
Continue to site
Quote of the day

-