sxy,
The primary problem with that circuit is that it doesn't show how the inputs should be connected, and his breadboards show him using (SPST) pushbuttons connecting to Vdc to create 1-level inputs; but that means the inputs are not 0-level when the button is not pressed, but rather are left floating. That seems to work with the specific npn transitors that he is using, but not with the ideal npns provided by the falstad simulation.
Try this falstad implemetation. Note the use of SPDT switches to ensure 0-level inputs are at ground, not floating. Its still imperfect, but true to the circuit in the video you've been following.
You might also find this falstad sim interesting. It implements OR, AND, NOT, NOR, NAND, XOR and XNOR gates using at most one transitor. (teh OR and AND gate use none.)
Also note that the XNOR circuit is different to the rest in as much as the transitor is a PNP rather than NPN. It is -- the circuit -- drawn upside down (ground at the top; Vdc at the bottom) in order to demonstrate that it is the same circuit layout as the XOR circuit, but the direction of the diodes, transitor and power have been reversed. Ie. its a mirror image.
Enjoy.
The primary problem with that circuit is that it doesn't show how the inputs should be connected, and his breadboards show him using (SPST) pushbuttons connecting to Vdc to create 1-level inputs; but that means the inputs are not 0-level when the button is not pressed, but rather are left floating. That seems to work with the specific npn transitors that he is using, but not with the ideal npns provided by the falstad simulation.
Try this falstad implemetation. Note the use of SPDT switches to ensure 0-level inputs are at ground, not floating. Its still imperfect, but true to the circuit in the video you've been following.
You might also find this falstad sim interesting. It implements OR, AND, NOT, NOR, NAND, XOR and XNOR gates using at most one transitor. (teh OR and AND gate use none.)
Also note that the XNOR circuit is different to the rest in as much as the transitor is a PNP rather than NPN. It is -- the circuit -- drawn upside down (ground at the top; Vdc at the bottom) in order to demonstrate that it is the same circuit layout as the XOR circuit, but the direction of the diodes, transitor and power have been reversed. Ie. its a mirror image.
Enjoy.
Last edited: