# NAND gates circuit

• Engineering
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

Related Engineering and Comp Sci Homework Help News on Phys.org
Try drawing it first with whatever gates you want. You should be able to convert everything to NAND gates after.

vk6kro
Yes, you can do that.

http://en.wikipedia.org/wiki/NAND_logic
Thanks all,

Is the drivers 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?

berkeman
Mentor
Thanks all,

Is the drivers 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.