Problem solving. Two buttons and a Winner.

Thread Starter

Eudécio Gabriel

Joined Jun 24, 2018
15
I am building a game with digital electronics.
The first person to press the button wins.
I must use two buttons, when I press one button it gives a signal to a 555 monoastable and it sends a signal to a not gate to desactivate a 5v integranted circuit with is another 555 monoastable, but the not gate keeps sending energy to the second 555 circuit and when I press the monoastable button it still turn on the LED that should not turn on due to the first monoastable cut the energy of the second monoastable.

My idea to solve the problem is to use some device that will only let energy pass after it reaches full 5v or a very close tention so the low energy going to the second monoastable would not let the user turn on the LED on the second monoastable.
Do you know how to deal with this problem?
 

djsfantasi

Joined Apr 11, 2010
9,237
I am building a game with digital electronics.
The first person to press the button wins.
I must use two buttons, when I press one button it gives a signal to a 555 monoastable and it sends a signal to a not gate to desactivate a 5v integranted circuit with is another 555 monoastable, but the not gate keeps sending energy to the second 555 circuit and when I press the monoastable button it still turn on the LED that should not turn on due to the first monoastable cut the energy of the second monoastable.

My idea to solve the problem is to use some device that will only let energy pass after it reaches full 5v or a very close tention so the low energy going to the second monoastable would not let the user turn on the LED on the second monoastable.
Do you know how to deal with this problem?
What would your design do when the second button is pressed first?

Is this homework? Has this approach been given to you as constraints?

You need a design to toggle its state on a button press and lockout all other input. There are many ways to accomplish this. I have a solution that’s been published here and there. Answer my questions and I can help further.
 

Thread Starter

Eudécio Gabriel

Joined Jun 24, 2018
15
What would your design do when the second button is pressed first?

Is this homework? Has this approach been given to you as constraints?

You need a design to toggle its state on a button press and lockout all other input. There are many ways to accomplish this. I have a solution that’s been published here and there. Answer my questions and I can help further.
It does the same as the first button. It is a homework. No, I have good results, the only problem is that the Not Gate CD4069 does not eliminate all the energy when the 5V is inverted letting a second NE555 be used when It should not be
 

Thread Starter

Eudécio Gabriel

Joined Jun 24, 2018
15
The task is to built a circuit that will indicate what player pressed the button first. I used to monoastable NE555 and a not gate to do so. When I press a button the LED turn on and the signal is incerted and It is the 8-pin on the NE555 witch feeds the integrated circuit.
 

MrChips

Joined Oct 2, 2009
34,807
Do not use logic outputs to provide energy or power to another circuit.
Use logic outputs strictly for logic and solve your problem using logic.
Each button clocks a flip-flop. The first flip-flop that goes high inhibits the other flip-flop from going high, not by controlling its power input.
 

djsfantasi

Joined Apr 11, 2010
9,237
Flip-flops could serve as a state-machine, this is not a state-machine
Oh my! You mean the circuit I built using flip flops for the exact same requirement and has been used for several years, doesn’t work?

Try to expand your sights. Perhaps flip flops CAN be used. You know that flip flops have two outputs, where the second is the first, inverted? One can be used to light your LED; the second can disable the inputs
 

ScottWang

Joined Aug 23, 2012
7,501
Since this is a Homework, so our members can't give you the direct answer, you should show us what is your best design so far, and does it has any limitation, so the helpers could provide the other methods?
 

WBahn

Joined Mar 31, 2012
32,823
I am building a game with digital electronics.
The first person to press the button wins.
I must use two buttons, when I press one button it gives a signal to a 555 monoastable and it sends a signal to a not gate to desactivate a 5v integranted circuit with is another 555 monoastable, but the not gate keeps sending energy to the second 555 circuit and when I press the monoastable button it still turn on the LED that should not turn on due to the first monoastable cut the energy of the second monoastable.

My idea to solve the problem is to use some device that will only let energy pass after it reaches full 5v or a very close tention so the low energy going to the second monoastable would not let the user turn on the LED on the second monoastable.
Do you know how to deal with this problem?
You REALLY need to post a schematic of what you are currently doing and, if possible, what you are thinking of trying.

Verbal descriptions of circuits seldom convey all of the pertinent information.

You keep talking about "sending energy" -- are you trying to us logic gates to power other circuits? This is almost never a good idea. If nothing else, you would need to take into account the detailed behavior of your 555 circuit as it is powering up -- something that is very difficult to know or model well.
 
Top