Design: 3 Button/1 LED Circuit

In summary, the task is to design a circuit with three momentary, normally open, button inputs and one LED output. The LED should light up when exactly two of the buttons are pressed simultaneously. The LED has a Vf of 0.83 and If of 14.2. The approach to this problem would be to use 2-input NAND gates, with the inputs coming from the switches. The switches should be configured with pulldown or pullup resistors to generate a logical "1" when closed. The next step would be to create a truth table to determine the logic for the circuit.
  • #1
robh
1
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
  • #2
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.
 
  • #3
Oh, and you will draw a truth table as part of your next post... :smile:
 

1. What is the purpose of a 3 button/1 LED circuit?

A 3 button/1 LED circuit is designed to control the output of an LED using three buttons. Each button has a specific function that can turn the LED on, off, or change its brightness.

2. How does a 3 button/1 LED circuit work?

The circuit consists of three buttons connected to a microcontroller, which is then connected to an LED. When the buttons are pressed, they send a signal to the microcontroller, which then controls the output of the LED based on the button pressed.

3. What are the benefits of using a 3 button/1 LED circuit?

Using this type of circuit allows for more control over the LED output, making it useful for projects where precise control is needed. It also uses fewer components compared to other LED circuits.

4. Can I modify the circuit to add more buttons or LEDs?

Yes, the circuit can be modified to include more buttons or LEDs. However, this may require additional components and changes to the code.

5. Are there any safety concerns when working with a 3 button/1 LED circuit?

As with any electronic project, proper safety precautions should be taken when working with a 3 button/1 LED circuit. This includes using appropriate tools and equipment, following instructions carefully, and avoiding contact with live electrical components.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
11
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
11
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
9
Views
2K
  • Electrical Engineering
Replies
26
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
3K
Replies
26
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
6K
Replies
2
Views
425
Back
Top