8Bit Audio Passthrough or Relay

Hello All.

I am working on creating a bluetooth module for a GameBoy Advanced. I am utilizing a nRF52840 chipset and am looking for some advice.
The module should have 2 main modes, transmitting the analog audio signal to a pair of earbuds, or passing it through to the speaker when no earbuds are connected. The latter is where I could use some feedback.

I plan to pull the signal off of the pins of the 3.5mm jack, and replace the jack with a momentary switch which will send commands to the bluetooth controller (pair, unpair, mute, etc).

The pinout of the jack is as follows:

When no headphones are inserted, input/ouput are shorted, passing sound to the speaker. I would like to mimic this functionality in my module.

So, is my best implementation going to be creating a passthough in code, allowing input and output to flow through the arduino, or should I find some relays and just use an enable signal?

I know the former will have poor audio quality due to switching noise, but what will actually be introduced? will i hear switching hum, or just a poor sample rate? Should I care about sample rate when i have 8bit sound anyway?

If the relay option is preferred, can anyone make a recommendation for a component? I'd like to go as small as I can.

Thanks!

You could use a DPDT relay or an analog switch IC. The noise may be minimal depending if you utilize a mute function.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.