Fork me on GitHub

Project Notes

#073 4-input NOR Gate

Demonstrates building a 4-input NOR gate from 74LS02 NOR gates and an 74LS08 AND gate, with test automation using an Arduino.

Build

Notes

See the LEAP#072 74LS02 Quad 2-input NOR gate test for more detail on the 74LS02.

ref

This project demonstrates building a 4-input NOR gate from 74LS02 NOR gates and an 74LS08 AND gate.

Construction

Designed with Fritzing: see QuadNOR.fzz.

breadboard

schematic

Setup on a breadboard for testing:

bb_build

The Sketch

See QuadNOR.ino.

The sketch simply drives the A1, B1, A2, B2 lines through all 16 combinations.

Behaviour

Connected to a logic analyzer & scope for testing:

test

Here’s the trace confirming the behaviour:

  • D0-D6: A1, B1, AB1, A2, B2, AB2, Y1
  • D7: unused
  • CH1 (Yellow): Y1

scope

The resulting logic table:

A1 (D0) B1 (D1) AB1 (D2) A2 (D3) B2 (D4) AB2 (D5) Y1 (D6)
0 0 1 0 0 1 1
0 0 1 0 1 0 0
0 0 1 1 0 0 0
0 0 1 1 1 0 0
0 1 0 0 0 1 0
0 1 0 0 1 0 0
0 1 0 1 0 0 0
0 1 0 1 1 0 0
1 0 0 0 0 1 0
1 0 0 0 1 0 0
1 0 0 1 0 0 0
1 0 0 1 1 0 0
1 1 0 0 0 1 0
1 1 0 0 1 0 0
1 1 0 1 0 0 0
1 1 0 1 1 0 0

Credits and References

About LEAP#73
CMOS/TTL74LS0274LS08Arduino

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

Project Source on GitHub Return to the LEAP Catalog
About LEAP

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.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know or send a pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader