Creating a NAND Gates Circuit to Light an LED

  • Engineering
  • Thread starter jumphigh
  • Start date
  • Tags
    Circuit
In summary, the conversation is discussing how to create a logic circuit using only NAND gates that will light an LED if either or both the left and right doors of a car are open and if the driver is seated. The person asking for help is seeking advice on how to approach the problem and is directed to first draw the circuit with any gates before converting them to NAND gates. They are also advised to look at an article on Wikipedia about making other gates from NAND gates. It is clarified that the driver's condition is considered as the third input in the circuit.
  • #1
jumphigh
6
0
Hey all,

How can I draw a diagram of some logic circuit that will light an LED if either or both the left
and right door of a car are open and if the driver is seated ?

Assume that the doors and seat are equipped with switches, and that only NAND gates are available. ( My circuit should also be as simple as possible).

Im kinda lost in what I have to do, any words of wisdom?

Thanks
 
Physics news on Phys.org
  • #2
Try drawing it first with whatever gates you want. You should be able to convert everything to NAND gates after.
 
  • #3
Yes, you can do that.

Have a look at this article in Wikipedia about making other gates from NAND gates.

http://en.wikipedia.org/wiki/NAND_logic
 
  • #4
vk6kro said:
Yes, you can do that.

Have a look at this article in Wikipedia about making other gates from NAND gates.

http://en.wikipedia.org/wiki/NAND_logic

Thanks all,

Is the driver`s condition (seated or unseated ) considered as the third input?
I mean, the first input is right door, the second input is the left door, and the third input is the driver?
 
  • #5
jumphigh said:
Thanks all,

Is the driver`s condition (seated or unseated ) considered as the third input?
I mean, the first input is right door, the second input is the left door, and the third input is the driver?

Yes, all 3 inputs need to go into your circuit.
 

1. What is a NAND gate?

A NAND (Not-AND) gate is a logic gate that produces a HIGH output (1) only when both of its inputs are LOW (0). If one or both inputs are HIGH, the output is LOW.

2. How does a NAND gate work?

A NAND gate works by using transistors to create an inverted AND function. When both inputs are LOW, the transistors are turned on and the output is HIGH. When one or both inputs are HIGH, the transistors are turned off and the output is LOW.

3. What is the purpose of using a NAND gate in a circuit to light an LED?

The NAND gate is used in this circuit to create a logic function that will turn on the LED when both inputs are LOW and turn it off when one or both inputs are HIGH. This allows for the LED to be controlled by the inputs and can be used in various circuits for different purposes.

4. What components are needed to create a NAND gate circuit to light an LED?

To create a NAND gate circuit to light an LED, you will need two transistors, two resistors, an LED, and a power source. The transistors and resistors are used to create the NAND gate, while the LED is used as the output to visually indicate the logic function.

5. Can a NAND gate circuit be used for other purposes besides lighting an LED?

Yes, a NAND gate circuit can be used for various purposes in electronic circuits, such as in logic gates, memory circuits, and control circuits. It can also be combined with other logic gates to create more complex functions and circuits.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
34
Views
2K
  • Introductory Physics Homework Help
Replies
4
Views
246
  • Programming and Computer Science
Replies
4
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
3K
Back
Top