1 in 2 out i2c audio switcher

Hey, looking to build a dead simple audio switcher. I've got a pair of mono speakers I want to drive on one channel, and a single mono speaker I want to drive on another. The switch has to be driven programmatically.

Currently investigating a CD4053, although most of the documentation seems to be about using it to select between 2 inputs to drive one output.

https://uk.farnell.com/pro-signal/abs-240-rc/speaker-8ohm-93db-1w/dp/2534982
These are the kinds of speakers I'm looking to drive (so I assume I'll need some amplification, which shouldn't be too hard once I have the signal out), and the application is effectively a phone speaker type assembly (so audio out hierarchy will be bluetooth (if connected to audio output) -> DAC (if headphones plugged in) -> earpiece speaker (default) -> stereo speakers (if selected)). The key thing here is that it needs to be driven over software on an rpi5 , and that the earpiece will only ever be needed for a phone call application, so doesn't necessarily need to be visible as its own device, and it should be fine if I'm just programmatically switching that on within the phone call application, or anything else that ends up using it.

If there's a simpler way to do what I'm doing (USB Dac out, Bluetooth audio out, and two separate speaker arrays, all switched between programmatically), pls direct me to where I need to go.

You are trying to switch a load (1-16 Ohm probably), your link shows 8 Ohms. Using a simple switch should accomplish it. If you want to use an Arduino use a decent relay module.

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