Electronic – Switching multiple outputs with a single input

integrated-circuitswitches

Here's my problem. I need a way to switch between two inputs of four signals each (four 5V lines and 4 3V3 lines). They need to be switched together, and ideally with a single jumper or an electrical signal. I know there are many ways to accomplish this (e.g. by 4-sets of 3-pole jumpers), but I'm wondering what you think the most efficient way is.

To put it in the context of the image below: depending on whether S is on or off, the outputs O1..3 should be connected with A1..3 or B1..3. What part does this most efficiently?

schematic

simulate this circuit – Schematic created using CircuitLab

Best Answer

I would use a simple quad 2:1 multiplexer. Something like a 74157 if I understand you correctly, it should operate okay at those voltages but it would be best to check yourself.

enter image description here