| Electronics > Beginners |
| Use transistors to switch between two signals |
| (1/6) > >> |
| gbuilder:
Hello, As a beginner, I have tended to use lots of relays for logic and switching, since the way they operate is very intuitive. I'm staring to understand that in many cases, using transistors for switching is a better choice (cheaper, smaller, better for high frequency switching, etc) I've enjoyed learning how to use transistors to switch a signal on or off, invert, buffer and provide gain. Very useful. :) I'd now like to understand if it is possible to use transistor circuit to switch between two different signals. Specifically, I'd like to find a circuit which will perform the same function as my relay switching circuit below. In this case, the MCU digital output state determines which signal from the inputs is connected to the output. Update: Thanks hamster_nz for spotting the flaws in my relay circuit. It was just a quick sketch to illustrate my question, but you are quite correct and I have uploaded a corrected version which might be useful for people reading the thread in future: |
| gbuilder:
Hmm, or should I be using an "analogue switch"/"multiplexer" IC for this function? |
| Zero999:
--- Quote from: gbuilder on April 19, 2018, 10:57:51 am ---Hmm, or should I be using an "analogue switch" IC for this function? --- End quote --- Or some logic gates, if there are only two signals. |
| ogden:
--- Quote from: gbuilder on April 19, 2018, 10:09:22 am ---I'd now like to understand if it is possible to use transistor circuit to switch between two different signals. --- End quote --- Indeed it is possible. After all digital chips are made out of transistors :) I suggest you to skip transistor switch build, just learn multiplexers. Better invest your time into something more useful :) https://en.wikipedia.org/wiki/Multiplexer What you want is 2:1 SPDT switch (multiplexer), like http://www.ti.com/product/cd4053b that chip have 3 switches inside. |
| boffin:
--- Quote from: ogden on April 19, 2018, 11:08:06 am --- --- Quote from: gbuilder on April 19, 2018, 10:09:22 am ---I'd now like to understand if it is possible to use transistor circuit to switch between two different signals. --- End quote --- Indeed it is possible. After all digital chips are made out of transistors :) I suggest you to skip transistor switch build, just learn multiplexers. Better invest your time into something more useful :) https://en.wikipedia.org/wiki/Multiplexer What you want is 2:1 SPDT switch (multiplexer), like http://www.ti.com/product/cd4053b that chip have 3 switches inside. --- End quote --- Actually the 4053 is a single 1P8T switch (pick one of 8), fed from a 3-bit number Where as the 4066 might be more useful (and easier to find). Four individual SPDT switches http://www.ti.com/product/CD4066B |
| Navigation |
| Message Index |
| Next page |