Audio Mixer

40,765

131

38

Introduction: Audio Mixer

About: Thank you all for following me.

I like to have long talks with my friends by Skype. I love also to listen music. During the conversation is not convenient to use loudspeakers because the music sometimes disturb my friends and when the connection is slow the continuous sound can overload the data rate and the communication can be interrupted.
After thinking, I found the best solution – it is an audio mixer, which can combine the two signals: the coming from the Skype audio and the signal generated from other sound device : MP3 player, radio, second PC audio card…etc., and both signals mixed, can be applied to the headphone or the PC headset. The levels of both signals should be regulated separately to make the device extremely flexible.

I decided to make the audio mixer with two stages: first - the mixer stage, second – a headphone amplifier. The audio mixer has two audio inputs (their number can be increased simply by adding inputs in parallel). For my case two inputs are enough. The device has one audio output (the jack in the middle), which can be used as headphone driver or as Line output and connected to some power amplifier.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1:

The schematic and the PCB of the device are presented in the PDF files.
There we can recognize the two stages.
The mixer stage is realized by the Texas Instruments (NSC) high quality micropower dual opamp LMV797B, connected in inverting summing amplifier configuration. The left/right audio signals from both inputs are summed separately (left with left, right with right). With the stereo trimmer potentiometers both signals (left and right) from each input are tuned simultaneously. The opamp performs also some band pass filtering.
The second stage is based on the Texas Instruments (NSC) high quality headphone amplifier LM4880. It requires only few external parts and sounds pretty well. I used it also to create the virtual ground node for the mixer opamp. The audio mixer is supplied from the PC USB voltage output. Of course some AC/DC adapter with 3-5V stabilized voltage output can be used

The design database files in "Eagle" format are available for download.

Step 2:

The list of the used parts:
1x  LM4880M    (SO8 package)
1x LMV797      (8-MSOP package – very small pin pitch!) – there can be used another audio opamp, with bigger package – must be dual, single supply, low noise. I used this because I had one available and I saw in its datasheet that it is suitable for this purpose.
7x10uF 10 V capacitors – I used Tantalum Elcos from Kemet
2x2,2uF 10V capacitors – from Kemet
2x100uF 10V Electrolyte capacitors from Panasonic
10x20KOhm SMD resistors  (muRata)
1 x510 Ohm SMD resistor (muRata)
2x100pF SMD capacitor (muRata)
1x Blue bright light LED
3x Audio stereo jacks like these : http://www.ebay.com/itm/260867290343
2x Stereo potentiometers 10KOhm : http://www.ebay.com/itm/250956199680
1xPower supply jack : http://www.ebay.com/itm/270758466145
1x Power supply plug : http://www.ebay.com/itm/270979725550
4x 2 pin connectors (male - female pairs)

     Additionally I bought a plastic case and two plastic knobs

Step 3:

For the designing of the project PCB I have used the cadsoft PCB design tool "Eagle".
It can be downloaded from this site: http://www.cadsoftusa.com/. There is also free version available.
The PCB’s I ordered at http://www.iteadstudio.com - 10 pcs, cost 25 USD. The quality is not bad.

Step 4:

After collecting all the parts (I have to wait for some them for a weeks) I soldered them on the PCB.

Step 5:

Using "Dremel" like tool after carefully measuring and marking I did a holes at the front side of the plastic case for the audio jacks, potentiometr axles, the LED and at the back side for the power jack.

Step 6:

To supply the device I have mastered a special cable. I took an USB cable from defect web camera, cut it and mounted the power supply plug. The internal pin is the positive node. This cable allows me to supply the mixer directly from the computer. Having power jack is useful when the device must be used standalone (without PC connection).Then a DC adapter plug can be inserted in the power jack.

Step 7:

The audio mixer supplied by the computer:

Step 8:

The device assembled and supplied:

Step 9:

The picture above shows the testing of the device, with one channel connected to the external USB audio card (also my project).
The sound quality is impressive!
As conclusion: The mixer performance is awesome. Now I can enjoy both activities simultaneously - chatting with friends and listening of music, without disturbing the talk.

The device can be used also as standard phone amplifier - if only one signal source is connected. Additionally it can be used for:
1) sound mixing effects when editing films  (for example for "Youtube");
2) DJ mixing at parties
3)  sound recording activities
4)  gaming effects...etc.

A populated PCB can be ordered for 35 USD (Free shipping) at e-mail address chicho.mecho@gmail.com. Bare PCB costs 10 USD with the delivery.

THANK YOU FOR THE ATTENTION!  :-)

A/V Contest

Participated in the
A/V Contest

DIY Audio

Participated in the
DIY Audio

Be the First to Share

    Recommendations

    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Arduino Contest 2020

      Arduino Contest 2020

    38 Discussions

    0
    Milen
    Milen

    3 years ago

    The input resistance depends on the potentiometers used.

    The input resistance of the mixer amplifier is 20k (for audio). As it is, it can work also with line level signals. If the gain is not enough - you can change it for both stages (increasing the feedback resistors), but you have to check what is the recommended gain for the output amplifier. If you want to increase drastically the input resistance, you can change the configuration of the input stage to non-inverting. The output impedance of the mixer is low. Not more than 100 Ohm for 20 Hz signal. It can drive both - headphones and line.

    0
    JerinA1
    JerinA1

    3 years ago

    What's the input and output impedances of the mixer? Also if I wanted to modify this mixer to work with line level inputs instead of headphone level inputs would doubling the gain of the left and right channel op-amps and increasing the input impedance be sufficient? How do I increase the input impedance?

    0
    MartinI34
    MartinI34

    3 years ago

    Hi Milen, since i don't want to use the mixer with headphones, is it okay to simply remove the headphone amp?

    Also what's the purpose of C9 and C10 ?

    0
    Milen
    Milen

    Reply 3 years ago

    Hi MartinI34,

    You can remove the headphone amp.
    You have to create additional reference voltage for the first amplifier - voltage divider - supply/2 and to keep the filtering cap (C11).
    C9 and C10 prevent flowing of the DC current through the load (the headphones) - they pass only the AC (the signal). If you omit the headphone amplifier, you have to use also such AC coupling capacitors between the mixer and your device - you can take the signal after the capacitors C7,C8.

    0
    MartinI34
    MartinI34

    Reply 3 years ago

    "You have to create additional reference voltage for the first amplifier - voltage divider - supply/2 and to keep the filtering cap (C11)."

    By this you mean to provide +2.5 on pin 8 and -2.5v on pin 4 on the opamp since i would not have any virtual ground (the one that was provided by the headphone amp) ? What would happen if I don't provide +-2.5v and only provide 5v as in your schematic? Also can I use mcp6022 in schematic?

    Sorry for this kind of questions, im bit of a newbie :)

    0
    Milen
    Milen

    Reply 3 years ago

    That is true. You have to create virtual ground. In this case we use single supply of 5 V. The best voltage for the virtual ground should be 2.5V.

    That means - you connect two identical 5 to 10 K resistors in series between the 5V and the ground. At the middle point you put capacitor (1 uF) and connect this node to the pins 3 and 5 of the opamp as virtual ground. That will force the AC signal to dance around this voltage :-).

    Seems that mcp6022 is a nice alternative for this purpose.

    0
    MartinI34
    MartinI34

    Reply 3 years ago

    Hi Milen, thanks for your reply. I've created some schematics, can you check if i messed up something?

    schematic.png
    0
    Milen
    Milen

    Reply 3 years ago

    For me seems to be OK.

    0
    MartinI34
    MartinI34

    Reply 3 years ago

    Hey Milen, Im wondering why C1, 2,3,4 are reversed. Shouldn't the + side be facing the audio source?

    0
    Milen
    Milen

    Reply 3 years ago

    From left side these caps see the vdd/2 voltage.

    If no signal applied from right side they see the ground potential through the pot.

    Of course, the potential from left side cna become more positive, but normally the signal source is also AC coupled, which defines the DC potential at the capacitors left side always to 0.

    0
    MartinI34
    MartinI34

    Reply 3 years ago

    Thank you very much Milen.
    It works on protoboard, tomorrow im etching a pcb, ill post my results here once i have something to share.

    0
    JXplicits
    JXplicits

    3 years ago

    Hi guys, I can't find the LMV797 where I live it's possible to use the RC4558 instead?

    0
    Milen
    Milen

    Reply 3 years ago

    Hi JXplicits,

    RC4558 could be used, but it requires min. 10V supply. The LM4880 will not work at 10V. You could use additional regulators, but this will make the design more complicated. If you want to use the PCB without changing it, you have to keep also the package type of the active mixer op-amp. One possible solution could be the OPA2316 in MSOP package. I hope you can find it.

    Regards

    Milen



    0
    JXplicits
    JXplicits

    Reply 3 years ago

    Thanks for reply,

    Yeah, maybe I will stick with the RC4558 cuz I dont find anything else and with your permission of course, reroute the whole board with thru hole components, put aside the second stage and use 12v supply.

    I just want to mix the PC audio output with a floating aux input where I can connect any device (tablet, phone, mp3, etc) and doesn't have to rely strictly on the PC for listen music or do whatever and the mixer output go straight to the existing amplifier that I use with the current setup.

    Sounds ok this use or maybe I can go with a different approach simpler I guess?

    English isn't my main language, sorry if there is any mistake.

    0
    GirardA
    GirardA

    4 years ago

    Hi everyone! Will this work if I wanted to input a microphone and "mix" it with the audio output of my TV, which will then go to the same speaker system? We had this problem a couple of weeks ago (karaoke session) where we would play youtube karaoke videos, but we had no way of mixing the mic audio with the music.

    0
    Milen
    Milen

    Reply 4 years ago

    Hi,

    The microphone signal is too week to work fine with this mixer. If you put a microphone preamp b/n the mixer and the microphone - it will work.

    0
    Milen
    Milen

    Reply 4 years ago on Introduction

    Hi
    This is stereomixer - two channels. For 5+1 you would need 3 of them.
    The problem should be how to synchronize the potentiometers. But some solutions can be found - for example using digital ones.

    0
    mtarovsky
    mtarovsky

    5 years ago on Introduction

    Hi Milen, thanks for help, I will do 12V preamp and mixer version (as the low voltage IC and op amps costs are quite cheap) and if that work I will change to low voltage OP amps) and I will donate 12V version to my guitarist friend.

    Thanks again

    Michal

    0
    Milen
    Milen

    5 years ago on Introduction

    Hi Michal,

    I do not have experience with JFETs. I found a JFET circuit which Works at 5V:

    http://www.radartutorial.eu/21.semiconductors/hl21... . but seems that they are mostly used with voltages overt 9V.

    Here are some links:

    http://circuit-diagram.hqew.net/Generalhttp://circuit-diagram.hqew.net/General$2dPurpose-Jfet-Preamp-Circuit_14846.htmldPurpose-...

    http://circuit-diagram.hqew.net/list-guitarhttp://circuit-diagram.hqew.net/list-guitar$20preamp_1.html0prea...

    http://www.planetz.com/simple-jfet-preamp-for-an-i...

    http://www.rason.org/Projects/jfetamp/jfetamp.htm

    If you need 5V preamp - instead JFET you could use also an opamp in a small package (vsop or similar) - it will occupy the same place as the JFET.