A | B | OUT |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
There are several ways to visualize – to aid in understanding – logic gates. These can include truth tables (the OR truth table is shown here), Venn diagrams (see Wikipedia’s entry on logic gates), or my favorite the “mechanical comparison” which Platt makes on pages 187-189 of his book, visualizing the notion of logic gates with physical sliding plates on a bubblegum machine. There are also several ways to visualize the pin order of gates. Sometimes these are shown as lines from left to right through the IC, with inputs on the left and outputs on the right. But the most common, and by far the most helpful, is the technique shown above, which imposes the gates on a diagram of the IC, with inputs and outputs shown as line traces, and symbols corresponding to the type of gate.
We’ll explore one other type of logic gate in a future installment of Weekend Projects, but be sure to pick up the Make: Electronics books for further reading on logic gates, as well as several breadboard experiments that put these theories to use!
More:
See all of the Weekend Projects posts
ADVERTISEMENT