74HC02 NOR Gate
Components

74HC02 NOR Gate

0.0(0)
The 74HC02 is a 14-pin (DIP-14) logic IC that contains four two-input NOR gates. A NOR gate is the opposite of OR: its output is 1 only when both inputs are 0, and 0 as soon as either input is 1. Its pinout differs from the other gate chips: the output of the first gate is pin 1 and its inputs are pins 2 and 3. It runs from 2 to 6 V; pin 14 goes to the supply (VCC) and pin 7 to GND. Unused inputs must not be left floating: tie them to GND or VCC, otherwise the output behaves unpredictably and the chip draws needless current. Connect an LED with a 470 Ω to 1 kΩ resistor to an output to see the result directly. More than 6 V damages the chip, so put a 5 V regulator in between when you use a 9V battery. Two cross-coupled NOR gates form an SR latch. NOR is also a universal gate, so every other gate can be built from NOR gates alone.