question in wiring of button

Discussion in 'Homework Help' started by eric_s88, Jul 7, 2011.

  1. eric_s88

    Thread Starter Member

    Apr 20, 2011
    157
    1
    Hi every one,

    maybe this questionis a stupid one but I cant handle it :(
    I have 2 pins of 2 different ICs, one of the pins should be GND=0V, and the other one should be VCC=+5. this tow operations should be done when a single push button is pressed..
    is this possible? how?

    thatk u,
    Eric
     
  2. Adjuster

    Well-Known Member

    Dec 26, 2010
    2,147
    300
    What voltages are required at the pins before the button is pressed?

    It might help people to answer if you posted a schematic of what you want to do.
     
  3. strantor

    AAC Fanatic!

    Oct 3, 2010
    4,302
    1,988
    use a button with 2 sets of contacts
     
  4. eric_s88

    Thread Starter Member

    Apr 20, 2011
    157
    1
    To Adjuster: they are connected nowhere before the key is pressed, I have attached a schematic, I want the pins OE1 and OE2 form 74HC299 be at +5V and the pin CE from 74HC245 be at GND=0V at the same time :)

    to Strantor: what kind of key it is? can you ginve more information??


    [​IMG]
    thank you guys..

     
  5. MrCarlos

    Active Member

    Jan 2, 2010
    400
    134
    Hello eric_s88

    As simple as adding to your ciruit a NOT gate (inverter).
    And of course a button to change.

    regards
    at your service
     
    Georacer likes this.
  6. eric_s88

    Thread Starter Member

    Apr 20, 2011
    157
    1
    Hello MrCarlos!

    yes! thats it :) thank you very much :)
     
  7. bertus

    Administrator

    Apr 5, 2008
    15,641
    2,344
    Hello,

    I see that thare is something wrong with your schematic.
    You have only one resistor for the displays.
    The displays will vary very much in intensity when different numbers are shown, depending on how many segments of the dispays are activated.
    You can solve this by giving EACH segment of a display a resistor and connect the common direct to the powersupply.

    Bertus
     
Loading...