How to Design a 3 Button/1 LED Circuit?

AI Thread Summary
The discussion focuses on designing a circuit with three momentary buttons and one LED that lights up when exactly two buttons are pressed simultaneously. Participants suggest using 2-input NAND gates to simplify the logic needed for the circuit. It is recommended to configure the buttons with pull-up or pull-down resistors to ensure a logical "1" is generated when a button is pressed. A truth table is also mentioned as a necessary step in the design process. The conversation emphasizes the importance of a clear schematic diagram to illustrate the circuit layout.
robh
Messages
1
Reaction score
0

Homework Statement



Design a circuit with three momentary, normally open, button inputs and one LED output. The LED must light anytime exactly two (2) of the buttons are pressed simultaneously. The LED has the following characteristics:
Vf = 0.83
If = 14.2

- Draw a neat schematic diagram for the entire circuit, including input buttons, logic , etc.

Homework Equations


V = IR
Logic GAtes

The Attempt at a Solution


I know there are several ways of doing this but i am just not sure how to approach this. I was going to attempt to put the switches in parallel with pull up resistors to ground any voltage floating when the buttons arent pressed but as far as the logic i am not sure how to "attack" this problem. Thanks in advance
 
Last edited by a moderator:
Physics news on Phys.org
robh said:

Homework Statement



Design a circuit with three momentary, normally open, button inputs and one LED output. The LED must light anytime exactly two (2) of the buttons are pressed simultaneously. The LED has the following characteristics:
Vf = 0.83
If = 14.2

- Draw a neat schematic diagram for the entire circuit, including input buttons, logic , etc.

Homework Equations


V = IR
Logic GAtes


The Attempt at a Solution


I know there are several ways of doing this but i am just not sure how to approach this. I was going to attempt to put the switches in parallel with pull up resistors to ground any voltage floating when the buttons arent pressed but as far as the logic i am not sure how to "attack" this problem. Thanks in advance

Welcome to the PF.

Since the combination of each pair of things is simplest with 2-input NAND gates in this case, start with some number of NAND gates that have their inputs coming from the switches. Configure the switches and their pulldown/pullup resistors (one or the other) and access to Vcc or GND (one or the other) so that closing a switch generates a logical "1". Please take it from there, and post your thoughts.
 
Oh, and you will draw a truth table as part of your next post... :smile:
 

Similar threads

Replies
11
Views
2K
Replies
8
Views
4K
Replies
3
Views
1K
Replies
10
Views
1K
Replies
14
Views
2K
Replies
5
Views
4K
Replies
9
Views
3K
Replies
13
Views
6K
Back
Top