NOT gate
An inverter: the output is the opposite of the input.

Open this lesson in the labFree, in your browser, no account needed.
How it works
Y = A̅
| A | Y | bench | |
|---|---|---|---|
| 0 | 1 | — | |
| 1 | 0 | — |
Flip the switches to try every row. “bench” fills in with what the chip actually did.
74HC04: hex inverter (not) in one 14-pin chip. Pin 14 is +5 V, pin 7 is ground. Every unused input should be tied to VCC or GND in a real build.
Try it on the bench
- Click switch 1 on the DIP module to flip A.
- Measure the output with a meter: about 4.9 V high and 0 V low. That is CMOS: outputs swing almost rail to rail.
Parts on the bench
- Bench power supply
- DIP switch module
- 74xx04
- Logic indicator LED
In the course
Zen’s Electronics Design Mastery, module “Digital Electronics”.