Why do we need to use transistors when building an OR gate?4026 + 7-segment display: do I need transistors?Why Does the And Gate have Two Transistors on Top?Explaining the need for two transistors in Not GateBJT transistors AND gateCreating AND gate with transistorsWhy does a single AND gate need 60 transistors?How many transistors are there in a logic gate?When do I need to use an OR gate IC?

Pointlessly recurse down the alphabet

What is the best way to go about re-learning an instrument?

What does "Massage with salt" mean in a recipe?

What is a recently obsolete computer storage device that would be significantly difficult to extract data from?

Match blood types in C

Can a Way of the Open Hand monk's Open Hand Technique prevent Legendary Action reactions?

Why wasn't Vaders armour made of Beskar?

Is there any theory why (for Bitcoin) the discrete logarithm problem is so hard to solve?

Why, in the US, are politicians tried by other politicians?

What does "können" refer to in this sentence?

Contacted by head of school regarding an issue - should I be worried?

Algorithmic thinking problems

While I have six eyes, I don't need an optician

What are the units of the product of two signals?

A bob hanging in an accelerating train moves backward. What is the force moving it backward?

Because things smell, is everything evaporating?

How can I speed up secure erasing of a disk?

What world is this where 6 + 6 = 10?

Birthplace vs living place

Why would a plane perform 360° turns to balance fuel on the ground?

Starting with D&D: Starter Set vs Dungeon Master's Guide

If password expiration is applied, should door-lock expiration be applied too?

A Ukrainian idiom meaning "on one's last legs"

Why 401k contribution as % of salary vs. fixed amount per pay check?



Why do we need to use transistors when building an OR gate?


4026 + 7-segment display: do I need transistors?Why Does the And Gate have Two Transistors on Top?Explaining the need for two transistors in Not GateBJT transistors AND gateCreating AND gate with transistorsWhy does a single AND gate need 60 transistors?How many transistors are there in a logic gate?When do I need to use an OR gate IC?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









13















$begingroup$


Why do we need to use transistors when building an OR gate? Wouldn't we be able to achieve the same result without transistors at all, just by joining the two inputs and reading the output?










share|improve this question











$endgroup$










  • 14




    $begingroup$
    There's that dangerous FLW (four letter word) 'just'!
    $endgroup$
    – Neil_UK
    Sep 16 at 5:18










  • $begingroup$
    You can't just join wires together. How would it know to be an OR, or an AND, or an XOR? However, you can do all this without transistors. Have a look at Harry Porter's Relay Computer, for example.
    $endgroup$
    – jonk
    Sep 16 at 5:19






  • 6




    $begingroup$
    @Neil_UK Don't you mean ETLW (Extended Three Letter Word). Cf. ETLA - Extended Three Letter Acronym
    $endgroup$
    – TripeHound
    Sep 16 at 13:00






  • 6




    $begingroup$
    What you propose has characteristics of an analog computer, and moves away from digital "gates". For digital gates having two states we use transistors with at least a little voltage gain or current gain to make up for losses.
    $endgroup$
    – glen_geek
    Sep 16 at 13:33

















13















$begingroup$


Why do we need to use transistors when building an OR gate? Wouldn't we be able to achieve the same result without transistors at all, just by joining the two inputs and reading the output?










share|improve this question











$endgroup$










  • 14




    $begingroup$
    There's that dangerous FLW (four letter word) 'just'!
    $endgroup$
    – Neil_UK
    Sep 16 at 5:18










  • $begingroup$
    You can't just join wires together. How would it know to be an OR, or an AND, or an XOR? However, you can do all this without transistors. Have a look at Harry Porter's Relay Computer, for example.
    $endgroup$
    – jonk
    Sep 16 at 5:19






  • 6




    $begingroup$
    @Neil_UK Don't you mean ETLW (Extended Three Letter Word). Cf. ETLA - Extended Three Letter Acronym
    $endgroup$
    – TripeHound
    Sep 16 at 13:00






  • 6




    $begingroup$
    What you propose has characteristics of an analog computer, and moves away from digital "gates". For digital gates having two states we use transistors with at least a little voltage gain or current gain to make up for losses.
    $endgroup$
    – glen_geek
    Sep 16 at 13:33













13













13









13


3



$begingroup$


Why do we need to use transistors when building an OR gate? Wouldn't we be able to achieve the same result without transistors at all, just by joining the two inputs and reading the output?










share|improve this question











$endgroup$




Why do we need to use transistors when building an OR gate? Wouldn't we be able to achieve the same result without transistors at all, just by joining the two inputs and reading the output?







transistors digital-logic logic-gates






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 20 at 3:42









chicks

1311 silver badge6 bronze badges




1311 silver badge6 bronze badges










asked Sep 16 at 4:22









TarekTarek

2491 silver badge6 bronze badges




2491 silver badge6 bronze badges










  • 14




    $begingroup$
    There's that dangerous FLW (four letter word) 'just'!
    $endgroup$
    – Neil_UK
    Sep 16 at 5:18










  • $begingroup$
    You can't just join wires together. How would it know to be an OR, or an AND, or an XOR? However, you can do all this without transistors. Have a look at Harry Porter's Relay Computer, for example.
    $endgroup$
    – jonk
    Sep 16 at 5:19






  • 6




    $begingroup$
    @Neil_UK Don't you mean ETLW (Extended Three Letter Word). Cf. ETLA - Extended Three Letter Acronym
    $endgroup$
    – TripeHound
    Sep 16 at 13:00






  • 6




    $begingroup$
    What you propose has characteristics of an analog computer, and moves away from digital "gates". For digital gates having two states we use transistors with at least a little voltage gain or current gain to make up for losses.
    $endgroup$
    – glen_geek
    Sep 16 at 13:33












  • 14




    $begingroup$
    There's that dangerous FLW (four letter word) 'just'!
    $endgroup$
    – Neil_UK
    Sep 16 at 5:18










  • $begingroup$
    You can't just join wires together. How would it know to be an OR, or an AND, or an XOR? However, you can do all this without transistors. Have a look at Harry Porter's Relay Computer, for example.
    $endgroup$
    – jonk
    Sep 16 at 5:19






  • 6




    $begingroup$
    @Neil_UK Don't you mean ETLW (Extended Three Letter Word). Cf. ETLA - Extended Three Letter Acronym
    $endgroup$
    – TripeHound
    Sep 16 at 13:00






  • 6




    $begingroup$
    What you propose has characteristics of an analog computer, and moves away from digital "gates". For digital gates having two states we use transistors with at least a little voltage gain or current gain to make up for losses.
    $endgroup$
    – glen_geek
    Sep 16 at 13:33







14




14




$begingroup$
There's that dangerous FLW (four letter word) 'just'!
$endgroup$
– Neil_UK
Sep 16 at 5:18




$begingroup$
There's that dangerous FLW (four letter word) 'just'!
$endgroup$
– Neil_UK
Sep 16 at 5:18












$begingroup$
You can't just join wires together. How would it know to be an OR, or an AND, or an XOR? However, you can do all this without transistors. Have a look at Harry Porter's Relay Computer, for example.
$endgroup$
– jonk
Sep 16 at 5:19




$begingroup$
You can't just join wires together. How would it know to be an OR, or an AND, or an XOR? However, you can do all this without transistors. Have a look at Harry Porter's Relay Computer, for example.
$endgroup$
– jonk
Sep 16 at 5:19




6




6




$begingroup$
@Neil_UK Don't you mean ETLW (Extended Three Letter Word). Cf. ETLA - Extended Three Letter Acronym
$endgroup$
– TripeHound
Sep 16 at 13:00




$begingroup$
@Neil_UK Don't you mean ETLW (Extended Three Letter Word). Cf. ETLA - Extended Three Letter Acronym
$endgroup$
– TripeHound
Sep 16 at 13:00




6




6




$begingroup$
What you propose has characteristics of an analog computer, and moves away from digital "gates". For digital gates having two states we use transistors with at least a little voltage gain or current gain to make up for losses.
$endgroup$
– glen_geek
Sep 16 at 13:33




$begingroup$
What you propose has characteristics of an analog computer, and moves away from digital "gates". For digital gates having two states we use transistors with at least a little voltage gain or current gain to make up for losses.
$endgroup$
– glen_geek
Sep 16 at 13:33










6 Answers
6






active

oldest

votes


















28

















$begingroup$

What you describe is called a wired OR connection. It is possible in some logic families, particularly ECL (emitter coupled logic), but not in the most common ones (TTL and CMOS).



In CMOS it isn't possible because when a CMOS output is low, it creates a very near short from the output pin through the chip to ground. And when it is high, it creates a very near short from VDD through the chip to the the output pin.



So if you tied two CMOS outputs together and one output high while the other output low, you'd have a very near short from VDD to ground, which would draw a large current and likely overheat one or the other of the two chips involved.



For TTL, there's a similar issue, but the "shorts" from the output pin to VDD or ground aren't quite as near short as they are in CMOS.



There's a variant output style, called open drain for CMOS or open collector for TTL, that allows wired AND connections rather than wired OR. These outputs are designed to only be able to sink current to ground, not to be able to produce any output current when they're nominally in the high state. These are normally used with an external pull-up resistor so that the output voltage will actually reach the "high" voltage level when required.



Note: Open collector or open drain can be used for wired OR if you use active-low logic (low voltage represents logic 1, high voltage represents logic 0).






share|improve this answer












$endgroup$










  • 3




    $begingroup$
    Nah. All that stuff still uses transistors. This is a true wire-OR gate. Just need a few wire bending jigs. Like we used to do, "back in the day," around the time we used 7 switches and a push button for a keyboard. And it can be easily read by a human looking down on it. Of course, the human will also need to trace backward along the wires to see the other gates involved and eventually back to the "wire inputs" at the beginning. The OP wanted to know about the zero-transistor case. ;)
    $endgroup$
    – jonk
    Sep 16 at 5:15










  • $begingroup$
    @jonk, Just mechanically couple the keys on the keypad and you don't even need wires to make an "OR".
    $endgroup$
    – The Photon
    Sep 16 at 5:20






  • 1




    $begingroup$
    Well, there's more than one way to skin a cat, I suppose. :) (And by the way, I actually did use 7 switches and a push button for a keyboard "back in the day.")
    $endgroup$
    – jonk
    Sep 16 at 5:22










  • $begingroup$
    @jonk, that's well before my time. TIL what octal notation is for: Saves you a couple bucks worth of switches for your hand-keying interface.
    $endgroup$
    – The Photon
    Sep 16 at 5:27






  • 1




    $begingroup$
    See this datasheet of the 7403 family. "The open-collector outputs require pull-up resistors to perform correctly. They may be connected to other open-collector outputs to implement active-low wired-OR or active-high wired-AND functions."
    $endgroup$
    – Uwe
    Sep 16 at 17:28


















13

















$begingroup$

this lets you "join the outputs"





schematic





simulate this circuit – Schematic created using CircuitLab






share|improve this answer












$endgroup$










  • 26




    $begingroup$
    Is there a specific reason why this answer is completely in circuitlab? I think the quality suffers a bit when the text is contained in a picture.
    $endgroup$
    – Arsenal
    Sep 16 at 14:47






  • 6




    $begingroup$
    @Arsenal - Agreed. IMO, in addition to it being lower quality and more difficult to visually parse, the biggest issue to me is that the content of the answer is not text-searchable...
    $endgroup$
    – Hitek
    Sep 16 at 20:53






  • 2




    $begingroup$
    That's the right answer. You don't need transistors for a gate, depending on your logic conventions, but they help performance and noise immunity (and you obviously need one as soon as you incorporate an inverter). And in the modern world, I suspect two MOSFETs is no more silicon than two diodes?
    $endgroup$
    – Rich
    Sep 17 at 1:14






  • 2




    $begingroup$
    imgur is blocked for me. The entire answer reads: this lets you "join the outputs" schematic with a link to circuitlab
    $endgroup$
    – tolos
    Sep 17 at 12:46



















8

















$begingroup$

If you just connect the wires, you'd have the (fairly likely) possibility of a 0 and a 1 together. Since a 0 is gnd, and a 1 is 5V (depending on the chips, but it's a standard), you'd have 5V and gnd connected together by wires. The term for that is a short circuit!



You could use diodes for a simple OR gate. Or even resistors. The problems occur when you connect this gate to other gates, other circuitry. You can build an AND gate from 2 diodes the other way round. But if you try connect a lot of them together you end up with one giant circuit that doesn't function as small separate parts, but as one big one. Connections that aren't in your simple gate plan, might crop up in real life, messing up what you want to happen.



A transistor lets you separate the input from the output. The output of a transistor can't feed backward and affect it's input. A relay would be another alternative, though slower. Since the switch can't affect the electromagnet.



Early logic was RTL or DTL, resistor-transistor logic, or diode-transistor logic. Resistors, at first, then later diodes, were used to form the gate, then a transistor acted to buffer the result so the next gate you used didn't feed back through this one to it's inputs.



Now, since transistors on chips are virtually free of charge, financially that is, we have the luxury of everything being properly buffered and separate. Usually that's what we want. TTL logic!






share|improve this answer












$endgroup$














  • $begingroup$
    Thanks for the excellent explanation!
    $endgroup$
    – Tarek
    Sep 16 at 23:00










  • $begingroup$
    You're welcome!
    $endgroup$
    – Greenaum
    Sep 16 at 23:37


















5

















$begingroup$

Consider what happens if one input is high and one is low, and you connect the two inputs. It depends on how you build your logic gates.



If your logic gates are designed so that a high is really pulled high and a low is really pulled low (CMOS) then this is a short circuit and something will blow up.



If your logic gates are designed so that a high is "weak" or high resistance (e.g. NMOS) then the output will be low, but also the other input (that is supposed to be high) will be forced to be low even though it's supposed to be high, and this will have a knock-on effect on other logic gates which use the same input.






share|improve this answer










$endgroup$






















    1

















    $begingroup$

    There is an analog approach:

    Combine any number of inputs (suppose either 0 or 5 volts) with resistors.

    If the result voltage is 0, all are off.

    If the result voltage is 5, then all are on.

    In-between voltages indicate that some are on and some are off.

    Example: If there are 4 inputs, 2.5 volts means 2 are on and 2 are off.



    result == 0: nor gate

    result == 5: and gate

    result != 0: or gate

    result != 5: nand gate



    You don't need transistors for the inputs, just for the output to check the voltage and restore a 0 or 5 volt logical result.



    This might be used for an analog neural network node with a non-linear output function that has a "soft" result that might not be entirely true or false.



    After thought:

    Resistors used this way can slow down logic speed since capacitance following the resistors must be charged or discharged when inputs change.
    Also, use of transistors can greatly reduce power consumption. Resistors used this way can always consume power with a mix of input states. With transistors, power consumption can be roughly divided by the gain of the transistors.






    share|improve this answer












    $endgroup$














    • $begingroup$
      Very interesting, thanks!
      $endgroup$
      – Tarek
      Sep 19 at 2:09


















    0

















    $begingroup$

    With some logic elements (all car door swithches ighting up the same lamp) this is possible, but not for example with CMOS gates as they are built with P and N channel FET transistors so they need defined high and low voltage input to provide the output, the input cannot be left to float. Connecting CMOS outputs together would not work.






    share|improve this answer










    $endgroup$
















      Your Answer






      StackExchange.ifUsing("editor", function ()
      return StackExchange.using("schematics", function ()
      StackExchange.schematics.init();
      );
      , "cicuitlab");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "135"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );














      draft saved

      draft discarded
















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f458706%2fwhy-do-we-need-to-use-transistors-when-building-an-or-gate%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown


























      6 Answers
      6






      active

      oldest

      votes








      6 Answers
      6






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      28

















      $begingroup$

      What you describe is called a wired OR connection. It is possible in some logic families, particularly ECL (emitter coupled logic), but not in the most common ones (TTL and CMOS).



      In CMOS it isn't possible because when a CMOS output is low, it creates a very near short from the output pin through the chip to ground. And when it is high, it creates a very near short from VDD through the chip to the the output pin.



      So if you tied two CMOS outputs together and one output high while the other output low, you'd have a very near short from VDD to ground, which would draw a large current and likely overheat one or the other of the two chips involved.



      For TTL, there's a similar issue, but the "shorts" from the output pin to VDD or ground aren't quite as near short as they are in CMOS.



      There's a variant output style, called open drain for CMOS or open collector for TTL, that allows wired AND connections rather than wired OR. These outputs are designed to only be able to sink current to ground, not to be able to produce any output current when they're nominally in the high state. These are normally used with an external pull-up resistor so that the output voltage will actually reach the "high" voltage level when required.



      Note: Open collector or open drain can be used for wired OR if you use active-low logic (low voltage represents logic 1, high voltage represents logic 0).






      share|improve this answer












      $endgroup$










      • 3




        $begingroup$
        Nah. All that stuff still uses transistors. This is a true wire-OR gate. Just need a few wire bending jigs. Like we used to do, "back in the day," around the time we used 7 switches and a push button for a keyboard. And it can be easily read by a human looking down on it. Of course, the human will also need to trace backward along the wires to see the other gates involved and eventually back to the "wire inputs" at the beginning. The OP wanted to know about the zero-transistor case. ;)
        $endgroup$
        – jonk
        Sep 16 at 5:15










      • $begingroup$
        @jonk, Just mechanically couple the keys on the keypad and you don't even need wires to make an "OR".
        $endgroup$
        – The Photon
        Sep 16 at 5:20






      • 1




        $begingroup$
        Well, there's more than one way to skin a cat, I suppose. :) (And by the way, I actually did use 7 switches and a push button for a keyboard "back in the day.")
        $endgroup$
        – jonk
        Sep 16 at 5:22










      • $begingroup$
        @jonk, that's well before my time. TIL what octal notation is for: Saves you a couple bucks worth of switches for your hand-keying interface.
        $endgroup$
        – The Photon
        Sep 16 at 5:27






      • 1




        $begingroup$
        See this datasheet of the 7403 family. "The open-collector outputs require pull-up resistors to perform correctly. They may be connected to other open-collector outputs to implement active-low wired-OR or active-high wired-AND functions."
        $endgroup$
        – Uwe
        Sep 16 at 17:28















      28

















      $begingroup$

      What you describe is called a wired OR connection. It is possible in some logic families, particularly ECL (emitter coupled logic), but not in the most common ones (TTL and CMOS).



      In CMOS it isn't possible because when a CMOS output is low, it creates a very near short from the output pin through the chip to ground. And when it is high, it creates a very near short from VDD through the chip to the the output pin.



      So if you tied two CMOS outputs together and one output high while the other output low, you'd have a very near short from VDD to ground, which would draw a large current and likely overheat one or the other of the two chips involved.



      For TTL, there's a similar issue, but the "shorts" from the output pin to VDD or ground aren't quite as near short as they are in CMOS.



      There's a variant output style, called open drain for CMOS or open collector for TTL, that allows wired AND connections rather than wired OR. These outputs are designed to only be able to sink current to ground, not to be able to produce any output current when they're nominally in the high state. These are normally used with an external pull-up resistor so that the output voltage will actually reach the "high" voltage level when required.



      Note: Open collector or open drain can be used for wired OR if you use active-low logic (low voltage represents logic 1, high voltage represents logic 0).






      share|improve this answer












      $endgroup$










      • 3




        $begingroup$
        Nah. All that stuff still uses transistors. This is a true wire-OR gate. Just need a few wire bending jigs. Like we used to do, "back in the day," around the time we used 7 switches and a push button for a keyboard. And it can be easily read by a human looking down on it. Of course, the human will also need to trace backward along the wires to see the other gates involved and eventually back to the "wire inputs" at the beginning. The OP wanted to know about the zero-transistor case. ;)
        $endgroup$
        – jonk
        Sep 16 at 5:15










      • $begingroup$
        @jonk, Just mechanically couple the keys on the keypad and you don't even need wires to make an "OR".
        $endgroup$
        – The Photon
        Sep 16 at 5:20






      • 1




        $begingroup$
        Well, there's more than one way to skin a cat, I suppose. :) (And by the way, I actually did use 7 switches and a push button for a keyboard "back in the day.")
        $endgroup$
        – jonk
        Sep 16 at 5:22










      • $begingroup$
        @jonk, that's well before my time. TIL what octal notation is for: Saves you a couple bucks worth of switches for your hand-keying interface.
        $endgroup$
        – The Photon
        Sep 16 at 5:27






      • 1




        $begingroup$
        See this datasheet of the 7403 family. "The open-collector outputs require pull-up resistors to perform correctly. They may be connected to other open-collector outputs to implement active-low wired-OR or active-high wired-AND functions."
        $endgroup$
        – Uwe
        Sep 16 at 17:28













      28















      28











      28







      $begingroup$

      What you describe is called a wired OR connection. It is possible in some logic families, particularly ECL (emitter coupled logic), but not in the most common ones (TTL and CMOS).



      In CMOS it isn't possible because when a CMOS output is low, it creates a very near short from the output pin through the chip to ground. And when it is high, it creates a very near short from VDD through the chip to the the output pin.



      So if you tied two CMOS outputs together and one output high while the other output low, you'd have a very near short from VDD to ground, which would draw a large current and likely overheat one or the other of the two chips involved.



      For TTL, there's a similar issue, but the "shorts" from the output pin to VDD or ground aren't quite as near short as they are in CMOS.



      There's a variant output style, called open drain for CMOS or open collector for TTL, that allows wired AND connections rather than wired OR. These outputs are designed to only be able to sink current to ground, not to be able to produce any output current when they're nominally in the high state. These are normally used with an external pull-up resistor so that the output voltage will actually reach the "high" voltage level when required.



      Note: Open collector or open drain can be used for wired OR if you use active-low logic (low voltage represents logic 1, high voltage represents logic 0).






      share|improve this answer












      $endgroup$



      What you describe is called a wired OR connection. It is possible in some logic families, particularly ECL (emitter coupled logic), but not in the most common ones (TTL and CMOS).



      In CMOS it isn't possible because when a CMOS output is low, it creates a very near short from the output pin through the chip to ground. And when it is high, it creates a very near short from VDD through the chip to the the output pin.



      So if you tied two CMOS outputs together and one output high while the other output low, you'd have a very near short from VDD to ground, which would draw a large current and likely overheat one or the other of the two chips involved.



      For TTL, there's a similar issue, but the "shorts" from the output pin to VDD or ground aren't quite as near short as they are in CMOS.



      There's a variant output style, called open drain for CMOS or open collector for TTL, that allows wired AND connections rather than wired OR. These outputs are designed to only be able to sink current to ground, not to be able to produce any output current when they're nominally in the high state. These are normally used with an external pull-up resistor so that the output voltage will actually reach the "high" voltage level when required.



      Note: Open collector or open drain can be used for wired OR if you use active-low logic (low voltage represents logic 1, high voltage represents logic 0).







      share|improve this answer















      share|improve this answer




      share|improve this answer








      edited Sep 16 at 18:14

























      answered Sep 16 at 4:38









      The PhotonThe Photon

      96.8k3 gold badges117 silver badges227 bronze badges




      96.8k3 gold badges117 silver badges227 bronze badges










      • 3




        $begingroup$
        Nah. All that stuff still uses transistors. This is a true wire-OR gate. Just need a few wire bending jigs. Like we used to do, "back in the day," around the time we used 7 switches and a push button for a keyboard. And it can be easily read by a human looking down on it. Of course, the human will also need to trace backward along the wires to see the other gates involved and eventually back to the "wire inputs" at the beginning. The OP wanted to know about the zero-transistor case. ;)
        $endgroup$
        – jonk
        Sep 16 at 5:15










      • $begingroup$
        @jonk, Just mechanically couple the keys on the keypad and you don't even need wires to make an "OR".
        $endgroup$
        – The Photon
        Sep 16 at 5:20






      • 1




        $begingroup$
        Well, there's more than one way to skin a cat, I suppose. :) (And by the way, I actually did use 7 switches and a push button for a keyboard "back in the day.")
        $endgroup$
        – jonk
        Sep 16 at 5:22










      • $begingroup$
        @jonk, that's well before my time. TIL what octal notation is for: Saves you a couple bucks worth of switches for your hand-keying interface.
        $endgroup$
        – The Photon
        Sep 16 at 5:27






      • 1




        $begingroup$
        See this datasheet of the 7403 family. "The open-collector outputs require pull-up resistors to perform correctly. They may be connected to other open-collector outputs to implement active-low wired-OR or active-high wired-AND functions."
        $endgroup$
        – Uwe
        Sep 16 at 17:28












      • 3




        $begingroup$
        Nah. All that stuff still uses transistors. This is a true wire-OR gate. Just need a few wire bending jigs. Like we used to do, "back in the day," around the time we used 7 switches and a push button for a keyboard. And it can be easily read by a human looking down on it. Of course, the human will also need to trace backward along the wires to see the other gates involved and eventually back to the "wire inputs" at the beginning. The OP wanted to know about the zero-transistor case. ;)
        $endgroup$
        – jonk
        Sep 16 at 5:15










      • $begingroup$
        @jonk, Just mechanically couple the keys on the keypad and you don't even need wires to make an "OR".
        $endgroup$
        – The Photon
        Sep 16 at 5:20






      • 1




        $begingroup$
        Well, there's more than one way to skin a cat, I suppose. :) (And by the way, I actually did use 7 switches and a push button for a keyboard "back in the day.")
        $endgroup$
        – jonk
        Sep 16 at 5:22










      • $begingroup$
        @jonk, that's well before my time. TIL what octal notation is for: Saves you a couple bucks worth of switches for your hand-keying interface.
        $endgroup$
        – The Photon
        Sep 16 at 5:27






      • 1




        $begingroup$
        See this datasheet of the 7403 family. "The open-collector outputs require pull-up resistors to perform correctly. They may be connected to other open-collector outputs to implement active-low wired-OR or active-high wired-AND functions."
        $endgroup$
        – Uwe
        Sep 16 at 17:28







      3




      3




      $begingroup$
      Nah. All that stuff still uses transistors. This is a true wire-OR gate. Just need a few wire bending jigs. Like we used to do, "back in the day," around the time we used 7 switches and a push button for a keyboard. And it can be easily read by a human looking down on it. Of course, the human will also need to trace backward along the wires to see the other gates involved and eventually back to the "wire inputs" at the beginning. The OP wanted to know about the zero-transistor case. ;)
      $endgroup$
      – jonk
      Sep 16 at 5:15




      $begingroup$
      Nah. All that stuff still uses transistors. This is a true wire-OR gate. Just need a few wire bending jigs. Like we used to do, "back in the day," around the time we used 7 switches and a push button for a keyboard. And it can be easily read by a human looking down on it. Of course, the human will also need to trace backward along the wires to see the other gates involved and eventually back to the "wire inputs" at the beginning. The OP wanted to know about the zero-transistor case. ;)
      $endgroup$
      – jonk
      Sep 16 at 5:15












      $begingroup$
      @jonk, Just mechanically couple the keys on the keypad and you don't even need wires to make an "OR".
      $endgroup$
      – The Photon
      Sep 16 at 5:20




      $begingroup$
      @jonk, Just mechanically couple the keys on the keypad and you don't even need wires to make an "OR".
      $endgroup$
      – The Photon
      Sep 16 at 5:20




      1




      1




      $begingroup$
      Well, there's more than one way to skin a cat, I suppose. :) (And by the way, I actually did use 7 switches and a push button for a keyboard "back in the day.")
      $endgroup$
      – jonk
      Sep 16 at 5:22




      $begingroup$
      Well, there's more than one way to skin a cat, I suppose. :) (And by the way, I actually did use 7 switches and a push button for a keyboard "back in the day.")
      $endgroup$
      – jonk
      Sep 16 at 5:22












      $begingroup$
      @jonk, that's well before my time. TIL what octal notation is for: Saves you a couple bucks worth of switches for your hand-keying interface.
      $endgroup$
      – The Photon
      Sep 16 at 5:27




      $begingroup$
      @jonk, that's well before my time. TIL what octal notation is for: Saves you a couple bucks worth of switches for your hand-keying interface.
      $endgroup$
      – The Photon
      Sep 16 at 5:27




      1




      1




      $begingroup$
      See this datasheet of the 7403 family. "The open-collector outputs require pull-up resistors to perform correctly. They may be connected to other open-collector outputs to implement active-low wired-OR or active-high wired-AND functions."
      $endgroup$
      – Uwe
      Sep 16 at 17:28




      $begingroup$
      See this datasheet of the 7403 family. "The open-collector outputs require pull-up resistors to perform correctly. They may be connected to other open-collector outputs to implement active-low wired-OR or active-high wired-AND functions."
      $endgroup$
      – Uwe
      Sep 16 at 17:28













      13

















      $begingroup$

      this lets you "join the outputs"





      schematic





      simulate this circuit – Schematic created using CircuitLab






      share|improve this answer












      $endgroup$










      • 26




        $begingroup$
        Is there a specific reason why this answer is completely in circuitlab? I think the quality suffers a bit when the text is contained in a picture.
        $endgroup$
        – Arsenal
        Sep 16 at 14:47






      • 6




        $begingroup$
        @Arsenal - Agreed. IMO, in addition to it being lower quality and more difficult to visually parse, the biggest issue to me is that the content of the answer is not text-searchable...
        $endgroup$
        – Hitek
        Sep 16 at 20:53






      • 2




        $begingroup$
        That's the right answer. You don't need transistors for a gate, depending on your logic conventions, but they help performance and noise immunity (and you obviously need one as soon as you incorporate an inverter). And in the modern world, I suspect two MOSFETs is no more silicon than two diodes?
        $endgroup$
        – Rich
        Sep 17 at 1:14






      • 2




        $begingroup$
        imgur is blocked for me. The entire answer reads: this lets you "join the outputs" schematic with a link to circuitlab
        $endgroup$
        – tolos
        Sep 17 at 12:46
















      13

















      $begingroup$

      this lets you "join the outputs"





      schematic





      simulate this circuit – Schematic created using CircuitLab






      share|improve this answer












      $endgroup$










      • 26




        $begingroup$
        Is there a specific reason why this answer is completely in circuitlab? I think the quality suffers a bit when the text is contained in a picture.
        $endgroup$
        – Arsenal
        Sep 16 at 14:47






      • 6




        $begingroup$
        @Arsenal - Agreed. IMO, in addition to it being lower quality and more difficult to visually parse, the biggest issue to me is that the content of the answer is not text-searchable...
        $endgroup$
        – Hitek
        Sep 16 at 20:53






      • 2




        $begingroup$
        That's the right answer. You don't need transistors for a gate, depending on your logic conventions, but they help performance and noise immunity (and you obviously need one as soon as you incorporate an inverter). And in the modern world, I suspect two MOSFETs is no more silicon than two diodes?
        $endgroup$
        – Rich
        Sep 17 at 1:14






      • 2




        $begingroup$
        imgur is blocked for me. The entire answer reads: this lets you "join the outputs" schematic with a link to circuitlab
        $endgroup$
        – tolos
        Sep 17 at 12:46














      13















      13











      13







      $begingroup$

      this lets you "join the outputs"





      schematic





      simulate this circuit – Schematic created using CircuitLab






      share|improve this answer












      $endgroup$



      this lets you "join the outputs"





      schematic





      simulate this circuit – Schematic created using CircuitLab







      share|improve this answer















      share|improve this answer




      share|improve this answer








      edited Sep 16 at 12:34

























      answered Sep 16 at 4:58









      analogsystemsrfanalogsystemsrf

      20.1k2 gold badges9 silver badges27 bronze badges




      20.1k2 gold badges9 silver badges27 bronze badges










      • 26




        $begingroup$
        Is there a specific reason why this answer is completely in circuitlab? I think the quality suffers a bit when the text is contained in a picture.
        $endgroup$
        – Arsenal
        Sep 16 at 14:47






      • 6




        $begingroup$
        @Arsenal - Agreed. IMO, in addition to it being lower quality and more difficult to visually parse, the biggest issue to me is that the content of the answer is not text-searchable...
        $endgroup$
        – Hitek
        Sep 16 at 20:53






      • 2




        $begingroup$
        That's the right answer. You don't need transistors for a gate, depending on your logic conventions, but they help performance and noise immunity (and you obviously need one as soon as you incorporate an inverter). And in the modern world, I suspect two MOSFETs is no more silicon than two diodes?
        $endgroup$
        – Rich
        Sep 17 at 1:14






      • 2




        $begingroup$
        imgur is blocked for me. The entire answer reads: this lets you "join the outputs" schematic with a link to circuitlab
        $endgroup$
        – tolos
        Sep 17 at 12:46













      • 26




        $begingroup$
        Is there a specific reason why this answer is completely in circuitlab? I think the quality suffers a bit when the text is contained in a picture.
        $endgroup$
        – Arsenal
        Sep 16 at 14:47






      • 6




        $begingroup$
        @Arsenal - Agreed. IMO, in addition to it being lower quality and more difficult to visually parse, the biggest issue to me is that the content of the answer is not text-searchable...
        $endgroup$
        – Hitek
        Sep 16 at 20:53






      • 2




        $begingroup$
        That's the right answer. You don't need transistors for a gate, depending on your logic conventions, but they help performance and noise immunity (and you obviously need one as soon as you incorporate an inverter). And in the modern world, I suspect two MOSFETs is no more silicon than two diodes?
        $endgroup$
        – Rich
        Sep 17 at 1:14






      • 2




        $begingroup$
        imgur is blocked for me. The entire answer reads: this lets you "join the outputs" schematic with a link to circuitlab
        $endgroup$
        – tolos
        Sep 17 at 12:46








      26




      26




      $begingroup$
      Is there a specific reason why this answer is completely in circuitlab? I think the quality suffers a bit when the text is contained in a picture.
      $endgroup$
      – Arsenal
      Sep 16 at 14:47




      $begingroup$
      Is there a specific reason why this answer is completely in circuitlab? I think the quality suffers a bit when the text is contained in a picture.
      $endgroup$
      – Arsenal
      Sep 16 at 14:47




      6




      6




      $begingroup$
      @Arsenal - Agreed. IMO, in addition to it being lower quality and more difficult to visually parse, the biggest issue to me is that the content of the answer is not text-searchable...
      $endgroup$
      – Hitek
      Sep 16 at 20:53




      $begingroup$
      @Arsenal - Agreed. IMO, in addition to it being lower quality and more difficult to visually parse, the biggest issue to me is that the content of the answer is not text-searchable...
      $endgroup$
      – Hitek
      Sep 16 at 20:53




      2




      2




      $begingroup$
      That's the right answer. You don't need transistors for a gate, depending on your logic conventions, but they help performance and noise immunity (and you obviously need one as soon as you incorporate an inverter). And in the modern world, I suspect two MOSFETs is no more silicon than two diodes?
      $endgroup$
      – Rich
      Sep 17 at 1:14




      $begingroup$
      That's the right answer. You don't need transistors for a gate, depending on your logic conventions, but they help performance and noise immunity (and you obviously need one as soon as you incorporate an inverter). And in the modern world, I suspect two MOSFETs is no more silicon than two diodes?
      $endgroup$
      – Rich
      Sep 17 at 1:14




      2




      2




      $begingroup$
      imgur is blocked for me. The entire answer reads: this lets you "join the outputs" schematic with a link to circuitlab
      $endgroup$
      – tolos
      Sep 17 at 12:46





      $begingroup$
      imgur is blocked for me. The entire answer reads: this lets you "join the outputs" schematic with a link to circuitlab
      $endgroup$
      – tolos
      Sep 17 at 12:46












      8

















      $begingroup$

      If you just connect the wires, you'd have the (fairly likely) possibility of a 0 and a 1 together. Since a 0 is gnd, and a 1 is 5V (depending on the chips, but it's a standard), you'd have 5V and gnd connected together by wires. The term for that is a short circuit!



      You could use diodes for a simple OR gate. Or even resistors. The problems occur when you connect this gate to other gates, other circuitry. You can build an AND gate from 2 diodes the other way round. But if you try connect a lot of them together you end up with one giant circuit that doesn't function as small separate parts, but as one big one. Connections that aren't in your simple gate plan, might crop up in real life, messing up what you want to happen.



      A transistor lets you separate the input from the output. The output of a transistor can't feed backward and affect it's input. A relay would be another alternative, though slower. Since the switch can't affect the electromagnet.



      Early logic was RTL or DTL, resistor-transistor logic, or diode-transistor logic. Resistors, at first, then later diodes, were used to form the gate, then a transistor acted to buffer the result so the next gate you used didn't feed back through this one to it's inputs.



      Now, since transistors on chips are virtually free of charge, financially that is, we have the luxury of everything being properly buffered and separate. Usually that's what we want. TTL logic!






      share|improve this answer












      $endgroup$














      • $begingroup$
        Thanks for the excellent explanation!
        $endgroup$
        – Tarek
        Sep 16 at 23:00










      • $begingroup$
        You're welcome!
        $endgroup$
        – Greenaum
        Sep 16 at 23:37















      8

















      $begingroup$

      If you just connect the wires, you'd have the (fairly likely) possibility of a 0 and a 1 together. Since a 0 is gnd, and a 1 is 5V (depending on the chips, but it's a standard), you'd have 5V and gnd connected together by wires. The term for that is a short circuit!



      You could use diodes for a simple OR gate. Or even resistors. The problems occur when you connect this gate to other gates, other circuitry. You can build an AND gate from 2 diodes the other way round. But if you try connect a lot of them together you end up with one giant circuit that doesn't function as small separate parts, but as one big one. Connections that aren't in your simple gate plan, might crop up in real life, messing up what you want to happen.



      A transistor lets you separate the input from the output. The output of a transistor can't feed backward and affect it's input. A relay would be another alternative, though slower. Since the switch can't affect the electromagnet.



      Early logic was RTL or DTL, resistor-transistor logic, or diode-transistor logic. Resistors, at first, then later diodes, were used to form the gate, then a transistor acted to buffer the result so the next gate you used didn't feed back through this one to it's inputs.



      Now, since transistors on chips are virtually free of charge, financially that is, we have the luxury of everything being properly buffered and separate. Usually that's what we want. TTL logic!






      share|improve this answer












      $endgroup$














      • $begingroup$
        Thanks for the excellent explanation!
        $endgroup$
        – Tarek
        Sep 16 at 23:00










      • $begingroup$
        You're welcome!
        $endgroup$
        – Greenaum
        Sep 16 at 23:37













      8















      8











      8







      $begingroup$

      If you just connect the wires, you'd have the (fairly likely) possibility of a 0 and a 1 together. Since a 0 is gnd, and a 1 is 5V (depending on the chips, but it's a standard), you'd have 5V and gnd connected together by wires. The term for that is a short circuit!



      You could use diodes for a simple OR gate. Or even resistors. The problems occur when you connect this gate to other gates, other circuitry. You can build an AND gate from 2 diodes the other way round. But if you try connect a lot of them together you end up with one giant circuit that doesn't function as small separate parts, but as one big one. Connections that aren't in your simple gate plan, might crop up in real life, messing up what you want to happen.



      A transistor lets you separate the input from the output. The output of a transistor can't feed backward and affect it's input. A relay would be another alternative, though slower. Since the switch can't affect the electromagnet.



      Early logic was RTL or DTL, resistor-transistor logic, or diode-transistor logic. Resistors, at first, then later diodes, were used to form the gate, then a transistor acted to buffer the result so the next gate you used didn't feed back through this one to it's inputs.



      Now, since transistors on chips are virtually free of charge, financially that is, we have the luxury of everything being properly buffered and separate. Usually that's what we want. TTL logic!






      share|improve this answer












      $endgroup$



      If you just connect the wires, you'd have the (fairly likely) possibility of a 0 and a 1 together. Since a 0 is gnd, and a 1 is 5V (depending on the chips, but it's a standard), you'd have 5V and gnd connected together by wires. The term for that is a short circuit!



      You could use diodes for a simple OR gate. Or even resistors. The problems occur when you connect this gate to other gates, other circuitry. You can build an AND gate from 2 diodes the other way round. But if you try connect a lot of them together you end up with one giant circuit that doesn't function as small separate parts, but as one big one. Connections that aren't in your simple gate plan, might crop up in real life, messing up what you want to happen.



      A transistor lets you separate the input from the output. The output of a transistor can't feed backward and affect it's input. A relay would be another alternative, though slower. Since the switch can't affect the electromagnet.



      Early logic was RTL or DTL, resistor-transistor logic, or diode-transistor logic. Resistors, at first, then later diodes, were used to form the gate, then a transistor acted to buffer the result so the next gate you used didn't feed back through this one to it's inputs.



      Now, since transistors on chips are virtually free of charge, financially that is, we have the luxury of everything being properly buffered and separate. Usually that's what we want. TTL logic!







      share|improve this answer















      share|improve this answer




      share|improve this answer








      edited Sep 19 at 4:02

























      answered Sep 16 at 17:15









      GreenaumGreenaum

      2911 silver badge5 bronze badges




      2911 silver badge5 bronze badges














      • $begingroup$
        Thanks for the excellent explanation!
        $endgroup$
        – Tarek
        Sep 16 at 23:00










      • $begingroup$
        You're welcome!
        $endgroup$
        – Greenaum
        Sep 16 at 23:37
















      • $begingroup$
        Thanks for the excellent explanation!
        $endgroup$
        – Tarek
        Sep 16 at 23:00










      • $begingroup$
        You're welcome!
        $endgroup$
        – Greenaum
        Sep 16 at 23:37















      $begingroup$
      Thanks for the excellent explanation!
      $endgroup$
      – Tarek
      Sep 16 at 23:00




      $begingroup$
      Thanks for the excellent explanation!
      $endgroup$
      – Tarek
      Sep 16 at 23:00












      $begingroup$
      You're welcome!
      $endgroup$
      – Greenaum
      Sep 16 at 23:37




      $begingroup$
      You're welcome!
      $endgroup$
      – Greenaum
      Sep 16 at 23:37











      5

















      $begingroup$

      Consider what happens if one input is high and one is low, and you connect the two inputs. It depends on how you build your logic gates.



      If your logic gates are designed so that a high is really pulled high and a low is really pulled low (CMOS) then this is a short circuit and something will blow up.



      If your logic gates are designed so that a high is "weak" or high resistance (e.g. NMOS) then the output will be low, but also the other input (that is supposed to be high) will be forced to be low even though it's supposed to be high, and this will have a knock-on effect on other logic gates which use the same input.






      share|improve this answer










      $endgroup$



















        5

















        $begingroup$

        Consider what happens if one input is high and one is low, and you connect the two inputs. It depends on how you build your logic gates.



        If your logic gates are designed so that a high is really pulled high and a low is really pulled low (CMOS) then this is a short circuit and something will blow up.



        If your logic gates are designed so that a high is "weak" or high resistance (e.g. NMOS) then the output will be low, but also the other input (that is supposed to be high) will be forced to be low even though it's supposed to be high, and this will have a knock-on effect on other logic gates which use the same input.






        share|improve this answer










        $endgroup$

















          5















          5











          5







          $begingroup$

          Consider what happens if one input is high and one is low, and you connect the two inputs. It depends on how you build your logic gates.



          If your logic gates are designed so that a high is really pulled high and a low is really pulled low (CMOS) then this is a short circuit and something will blow up.



          If your logic gates are designed so that a high is "weak" or high resistance (e.g. NMOS) then the output will be low, but also the other input (that is supposed to be high) will be forced to be low even though it's supposed to be high, and this will have a knock-on effect on other logic gates which use the same input.






          share|improve this answer










          $endgroup$



          Consider what happens if one input is high and one is low, and you connect the two inputs. It depends on how you build your logic gates.



          If your logic gates are designed so that a high is really pulled high and a low is really pulled low (CMOS) then this is a short circuit and something will blow up.



          If your logic gates are designed so that a high is "weak" or high resistance (e.g. NMOS) then the output will be low, but also the other input (that is supposed to be high) will be forced to be low even though it's supposed to be high, and this will have a knock-on effect on other logic gates which use the same input.







          share|improve this answer













          share|improve this answer




          share|improve this answer










          answered Sep 16 at 16:26









          user253751user253751

          2,02212 silver badges13 bronze badges




          2,02212 silver badges13 bronze badges
























              1

















              $begingroup$

              There is an analog approach:

              Combine any number of inputs (suppose either 0 or 5 volts) with resistors.

              If the result voltage is 0, all are off.

              If the result voltage is 5, then all are on.

              In-between voltages indicate that some are on and some are off.

              Example: If there are 4 inputs, 2.5 volts means 2 are on and 2 are off.



              result == 0: nor gate

              result == 5: and gate

              result != 0: or gate

              result != 5: nand gate



              You don't need transistors for the inputs, just for the output to check the voltage and restore a 0 or 5 volt logical result.



              This might be used for an analog neural network node with a non-linear output function that has a "soft" result that might not be entirely true or false.



              After thought:

              Resistors used this way can slow down logic speed since capacitance following the resistors must be charged or discharged when inputs change.
              Also, use of transistors can greatly reduce power consumption. Resistors used this way can always consume power with a mix of input states. With transistors, power consumption can be roughly divided by the gain of the transistors.






              share|improve this answer












              $endgroup$














              • $begingroup$
                Very interesting, thanks!
                $endgroup$
                – Tarek
                Sep 19 at 2:09















              1

















              $begingroup$

              There is an analog approach:

              Combine any number of inputs (suppose either 0 or 5 volts) with resistors.

              If the result voltage is 0, all are off.

              If the result voltage is 5, then all are on.

              In-between voltages indicate that some are on and some are off.

              Example: If there are 4 inputs, 2.5 volts means 2 are on and 2 are off.



              result == 0: nor gate

              result == 5: and gate

              result != 0: or gate

              result != 5: nand gate



              You don't need transistors for the inputs, just for the output to check the voltage and restore a 0 or 5 volt logical result.



              This might be used for an analog neural network node with a non-linear output function that has a "soft" result that might not be entirely true or false.



              After thought:

              Resistors used this way can slow down logic speed since capacitance following the resistors must be charged or discharged when inputs change.
              Also, use of transistors can greatly reduce power consumption. Resistors used this way can always consume power with a mix of input states. With transistors, power consumption can be roughly divided by the gain of the transistors.






              share|improve this answer












              $endgroup$














              • $begingroup$
                Very interesting, thanks!
                $endgroup$
                – Tarek
                Sep 19 at 2:09













              1















              1











              1







              $begingroup$

              There is an analog approach:

              Combine any number of inputs (suppose either 0 or 5 volts) with resistors.

              If the result voltage is 0, all are off.

              If the result voltage is 5, then all are on.

              In-between voltages indicate that some are on and some are off.

              Example: If there are 4 inputs, 2.5 volts means 2 are on and 2 are off.



              result == 0: nor gate

              result == 5: and gate

              result != 0: or gate

              result != 5: nand gate



              You don't need transistors for the inputs, just for the output to check the voltage and restore a 0 or 5 volt logical result.



              This might be used for an analog neural network node with a non-linear output function that has a "soft" result that might not be entirely true or false.



              After thought:

              Resistors used this way can slow down logic speed since capacitance following the resistors must be charged or discharged when inputs change.
              Also, use of transistors can greatly reduce power consumption. Resistors used this way can always consume power with a mix of input states. With transistors, power consumption can be roughly divided by the gain of the transistors.






              share|improve this answer












              $endgroup$



              There is an analog approach:

              Combine any number of inputs (suppose either 0 or 5 volts) with resistors.

              If the result voltage is 0, all are off.

              If the result voltage is 5, then all are on.

              In-between voltages indicate that some are on and some are off.

              Example: If there are 4 inputs, 2.5 volts means 2 are on and 2 are off.



              result == 0: nor gate

              result == 5: and gate

              result != 0: or gate

              result != 5: nand gate



              You don't need transistors for the inputs, just for the output to check the voltage and restore a 0 or 5 volt logical result.



              This might be used for an analog neural network node with a non-linear output function that has a "soft" result that might not be entirely true or false.



              After thought:

              Resistors used this way can slow down logic speed since capacitance following the resistors must be charged or discharged when inputs change.
              Also, use of transistors can greatly reduce power consumption. Resistors used this way can always consume power with a mix of input states. With transistors, power consumption can be roughly divided by the gain of the transistors.







              share|improve this answer















              share|improve this answer




              share|improve this answer








              edited Sep 18 at 1:29

























              answered Sep 18 at 1:20









              CodemeisterCodemeister

              112 bronze badges




              112 bronze badges














              • $begingroup$
                Very interesting, thanks!
                $endgroup$
                – Tarek
                Sep 19 at 2:09
















              • $begingroup$
                Very interesting, thanks!
                $endgroup$
                – Tarek
                Sep 19 at 2:09















              $begingroup$
              Very interesting, thanks!
              $endgroup$
              – Tarek
              Sep 19 at 2:09




              $begingroup$
              Very interesting, thanks!
              $endgroup$
              – Tarek
              Sep 19 at 2:09











              0

















              $begingroup$

              With some logic elements (all car door swithches ighting up the same lamp) this is possible, but not for example with CMOS gates as they are built with P and N channel FET transistors so they need defined high and low voltage input to provide the output, the input cannot be left to float. Connecting CMOS outputs together would not work.






              share|improve this answer










              $endgroup$



















                0

















                $begingroup$

                With some logic elements (all car door swithches ighting up the same lamp) this is possible, but not for example with CMOS gates as they are built with P and N channel FET transistors so they need defined high and low voltage input to provide the output, the input cannot be left to float. Connecting CMOS outputs together would not work.






                share|improve this answer










                $endgroup$

















                  0















                  0











                  0







                  $begingroup$

                  With some logic elements (all car door swithches ighting up the same lamp) this is possible, but not for example with CMOS gates as they are built with P and N channel FET transistors so they need defined high and low voltage input to provide the output, the input cannot be left to float. Connecting CMOS outputs together would not work.






                  share|improve this answer










                  $endgroup$



                  With some logic elements (all car door swithches ighting up the same lamp) this is possible, but not for example with CMOS gates as they are built with P and N channel FET transistors so they need defined high and low voltage input to provide the output, the input cannot be left to float. Connecting CMOS outputs together would not work.







                  share|improve this answer













                  share|improve this answer




                  share|improve this answer










                  answered Sep 16 at 4:40









                  JustmeJustme

                  10.1k2 gold badges10 silver badges25 bronze badges




                  10.1k2 gold badges10 silver badges25 bronze badges































                      draft saved

                      draft discarded















































                      Thanks for contributing an answer to Electrical Engineering Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f458706%2fwhy-do-we-need-to-use-transistors-when-building-an-or-gate%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown









                      Popular posts from this blog

                      Tamil (spriik) Luke uk diar | Nawigatjuun

                      Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                      Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?