Electrical – Switching between two parts of a circuit using basic components

basicrelayswitches

I'm designing a circuit in which i need to temporarily switch between different branches of it. I know that it can be done using a relay with coil etc, but I'm wondering if there is a way to do it some other way?

I know that there was similar topic, but unfortunately it was not well answered.

Basically i want to do something like this, but instead of a relay I wanna use some basic components:

schematic

simulate this circuit – Schematic created using CircuitLab

Anyone got an idea?

Best Answer

Use nmos and pmos. Add a pullup or pulldown to turn one or the other on during microcontroller config.

schematic

simulate this circuit – Schematic created using CircuitLab