EveryCircuit
Contact
Reviews
Home
hikernl
modified 11 years ago

Simple NAND gate.

6
0
177
02:20:14
Simple NAND Gate with LED. Shows the working of an NAND gate with a 5v source. I used 2 pulldown resistors to give the NAND gate the LOW input when the switches are open, otherwhise they would be floating and weird things can happen. Such as the NAND gate detecting a high input when floating, making the LED turn on even when the switches are open. The NAND gate works the same as a AND gate (see my other example). Instead of turning the OUTPUT of the NAND gate LOW when both inputs are HIGH. This is because there is a INVERTER (NOT gate) on the OUTPUT which "inverts" the OUTPUT of the AND gate. So it in short it is a reversed AND gate (which OUTPUT turns HIGH when both INPUTS are HIGH.) ----------------------------------------------------- Please bare in mind (altough not showing here) that besides the INPUT and OUTPUT pins the NAND gate also has VDD (5Volt) and VSS (Ground) pins which need to be connected to 5 Volts and GROUND. This makes it possible for the LED to turn ON even when the switches are open. This NAND gate would have 5 pins. 1 VDD (5volts) 2 VSS (Ground) 3 Input pin. 4 Input pin 5 Output pin. The NAND gates come in a variety of "packages" (ic's). For example a NAND Gate with 3 or 4 INPUTS. There are also IC'S with 2 or more NAND Gates on 1 IC.
published 11 years ago

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy