0
\$\begingroup\$

I'm in my infancy with electronics. I took a course in college way back before a lot of you were born (30 years ago). So, forgive my ignorance if the question is somewhat trivial.

I've got an idea for an Arduino project that involves routing audio signals on 10 individual lines to different outputs. The outputs are limited to 6. So, the user would choose up to 6 signals and route them to whichever output the user desires. Clear as mud?

I'm under the impression that I could implement an analog MUX, such as the CD4051BE, (one for each signal in) to route that signal to the chosen output. That may not be the best method and I'm open to suggestions. And, if it's not, my question is pointless. But I'll ask it in hopes I'm on the right track.

So, how does one use a MUX to tell 10 others what to do? My searches have returned very little useful info. However, I'm probably not using the correct search terms. I'm not asking for someone to do my homework. I'm trying to learn. Links to information or a brief explanation would be appreciated.

\$\endgroup\$
  • \$\begingroup\$ You're looking for an "audio crossbar switch". You would not want to use a (DE)MUX to control another MUX, rather if you did not have enough I/Os you would use an "I/O expander" the specific difference being that it would hold the last commanded setting, while a DEMUX would not, and so would not work unless it's "unselected output" state happened to match what you need. \$\endgroup\$ – Chris Stratton Jan 30 at 5:01
  • \$\begingroup\$ What you want has been done before, but lack of detail often leads to 'pops' and 'clicks' when changing channels. It can get more complex than you think. \$\endgroup\$ – Sparky256 Jan 30 at 5:38
  • \$\begingroup\$ Thanks guys! "My" method is indeed flawed for this application. I will look in to the audio crossbar switch Chris Stratton mentioned. \$\endgroup\$ – ScrewLoose Jan 30 at 12:30
  • \$\begingroup\$ As to the answer of how to control MUXs with a MUX, it hit me like a ton of bricks this morning when I woke up. First layer MUX needs 3 outputs to the ABC connection of each next level MUX. Right? \$\endgroup\$ – ScrewLoose Jan 30 at 12:34
  • \$\begingroup\$ The term I needed to find the answer to my original question is "cascading multiplexers". Just in case someone has the same question and stumbles across this post. \$\endgroup\$ – ScrewLoose Jan 30 at 22:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.