Fork me on GitHub

Project Notes

#072 NOR7402 - 74LS02 Quad 2-input NOR gate test

Use an Arduino to demonstrate a basic 74LS02 Quad 2-input NOR gate circuit, and plot the results with Processing.

Notes

The 74LS02 Quad 2-input NOR gate is from the 7400 series of TTL integrated circuits. “Quad 2-input” means it contains four independent gates each with 2 inputs. “74LS” means this is Low-power Schottky sub-family device (reduced power consumption and switching speed compared to 74S)

Each gate implements standard NOR logic:

A B Y (output)
0 0 1
0 1 0
1 0 0
1 1 0

The 74LS02 is a 5V device with logic levels bounded as follows (from the datasheet):

  • HIGH inputs are recommended to be 2.0V minimum
  • LOW inputs are recommended to be 0.8V maximum
  • HIGH output is 2.7V minimum, typically 3.4V
  • LOW output is 0.5V maximum, typically 0.35V

This circuit demonstrates the basic operation. It uses the Arduino to sequence inputs through the truth table on a single NOR gate. The NOR gate outpur drives an LED and is also measured by the Arduino with an analog input.

Behaviour

Here’s a sample trace taken with PlotNValues (a simple Processing sketch). The lower two traces are the gate inputs, and the upper trace is the gate output. The HIGH output voltage measures at 3.42V (a tad over typical value according to the datasheet)

processing trace

Construction

The Breadboard

The Schematic

The Build

Credits and References

About LEAP#72 CMOS/TTLArduino
Project Source on GitHub Return to the LEAP Catalog

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

LEAP is my personal collection of electronics projects, usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting (IMHO!).

The projects are usually inspired by things found wild on the net, or ideas from the sources such as:

Feel free to borrow liberally, and if you spot any issues do let me know. See the individual projects for credits where due. There are even now a few projects contributed by others - send your own over in a pull request if you would also like to add to this collection.