Logic gates (or just gates) are one of most basic building blocks for computers and all things digital.
Like most things in electronics, I could write a large book concerning all things logic gate-related. Some of these things include truth tables, Boolean algebra, combinational logic, DeMorgan’s theorems and more.
This tutorial on logic gates is meant to be an introduction to the various gates and how they work. As such, we will cover some aspects of some of the above topics while reserving others for future, non-introductory posts.
The article aims primarily at the beginner who knows some basics of electronics but isn’t sure what a gate is or maybe hasn’t even heard of one yet.
However, even if you’re not a beginner you may find this post to be a good review on the basics of various logic gates and what they do.