23. NOT Gate using NPN BJT

Loading simulator…

When A = 0, the transistor is OFF and the pull-up resistor makes Y = 1. When A = 1, the transistor turns ON and pulls Y LOW.

Y = A'