Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: NAND gates circuit

  1. Nov 13, 2011 #1
    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
     
  2. jcsd
  3. Nov 13, 2011 #2
    Try drawing it first with whatever gates you want. You should be able to convert everything to NAND gates after.
     
  4. Nov 13, 2011 #3

    vk6kro

    User Avatar
    Science Advisor

    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
     
  5. Nov 14, 2011 #4
    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?
     
  6. Nov 14, 2011 #5

    berkeman

    User Avatar

    Staff: Mentor

    Yes, all 3 inputs need to go into your circuit.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook