Connect with us

Switches

Discussion in 'General Electronics Discussion' started by kingofjong, May 23, 2018.

  1. kingofjong

    kingofjong

    30
    1
    Aug 14, 2014
    Hi

    I was wondering is it possible to connect 4 outputs to one switch. For example you have 4 inverters that you need to connect to the 2 inputs of 2 or gates (4 inputs total). How would I connect the inverter to all those inputs using one switch such that when I flick the switch on it lets all the inverters release there current at the same time. Is there A device that can do this. An example schematic is bellow.

    upload_2018-5-23_8-18-2.png

    Thanks
     
  2. timff

    timff

    19
    2
    Apr 13, 2018
    You may want to use two input nand gates instead of inverters. This would allow you to gang together one of the inputs to each nand gate to act as a group enable.
     
  3. WHONOES

    WHONOES

    741
    152
    May 20, 2017
    Makes sense.
     
  4. AnalogKid

    AnalogKid

    2,307
    649
    Jun 10, 2015
    A 4PDT (four pole double throw) switch will do this. But for either this or using gates, you need to define what states you want the four inputs the inverters are driving to see when the inverters are disconnected. You cannot just let the inputs float; they need to have a defined state, high or low, at all times.

    For each of the inverter replacements, if you use a NAND gate the output will go high in the "off" state. If you use a NOR gates, the output will go low in the off state. With a 4PDT switch, you can wire each pole section to be either high or low in the off state.

    Note that switch contacts "bounce". That is, they do not just open or close cleanly. particularly when closing, the contacts bounce together and apart a few times in a few milliseconds before settling down. This can cause false input signals downstream.

    ak
     
  5. BobK

    BobK

    7,645
    1,663
    Jan 5, 2010
    If you simply want to set the level of an inverter via a switch, what is the inverter there for? I don't think you have fully described what it is you are trying to do.

    Bob
     
    Harald Kapp likes this.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-