This is a NAND gate implemented using transistor-transistor logic. Click the inputs on the left to toggle their state. When all inputs are high, the output is low; otherwise the output is high. When both inputs are high, the two transistors on the left are in the reverse-active state. Current flows through the 4.7 kΩ resistor through the base and collector of these transistors, and then through the base of the transistor on the right, saturating it and pulling the output down to ground. When both inputs are low, the easiest path to ground through the 4.7 kΩ resistor is through the base of the transistors on the left to the inputs. This lowers their collector voltages so low that very little current can flow through the base of the transistor on the right. This turns off that transistor, raising the output voltage to 5 V. When only one of the inputs is low, that input provides the easiest path to ground through the corresponding transistor. In this case the transistor on the right stays off.
This page is a utility for simulating ttl nand online with specified initial values.










Comments