Maker Pro
Maker Pro

Audio Source Switching

Braeden Hamson

Feb 18, 2016
240
Joined
Feb 18, 2016
Messages
240
Hello,

I've been having a pretty persistent problem switching between two audio sources, one is a generic bluetooth radio from amazon, the other is an Adafruit Soundboard FX https://www.adafruit.com/product/2220

I'm using a Maxim Integrated source selector chip https://www.digikey.com/en/products/detail/maxim-integrated/MAX4525LEUB-T/2045105

upload_2022-8-4_14-41-2.png

This is part of a larger circuit, however the rest of the circuit doesn't involve the audio portions. Act here, is from the soundboard its the activity indicator on the soundboard and changes the source when the soundboard plays a sound.

The issue is there is sometimes cross talk between channels, for instance the bluetooth audio can be heard when the soundboard is playing audio. There's also a significant amount of electrical noise even though I'm using isolated power supplies, isolated grounds for the audio portions and capacitors between audio and digital signals.

My question is what is the proper way to swap between audio sources using an electrical signal.

Also, here is the full circuit if it helps.

upload_2022-8-4_14-51-15.png
 

kellys_eye

Jun 25, 2010
6,514
Joined
Jun 25, 2010
Messages
6,514
What does the datasheet for the device state? Does it indicate the crosstalk figures? It should. The datasheet (which may also have application data added or made available via the manufacturers website) will detail grounding and supply separation/isolation issues if there are any. Often PCB layout/design is a major failing when it comes to noise. Is yours a breadboard design at the moment?

Either way, if your design follows the datasheet recommendations/specs then it will work as it is designed to work.
 

kellys_eye

Jun 25, 2010
6,514
Joined
Jun 25, 2010
Messages
6,514
Try a cleaner supply to start with. Use batteries if you don't have a linear regulated supply. SMPS devices are notorious for injecting noise.
 

Braeden Hamson

Feb 18, 2016
240
Joined
Feb 18, 2016
Messages
240
did u manage to work it out yet ?
I did, it was all grounding issues. I connected the 12V ground to the analog ground, and I connected the digital ground to the analog ground in one place. I also added large electrolytic caps directly to the +/- of some of my noisy digital circuits. Now it's silent.
 
Top