Chapter 2

Getting Logical

IN THIS CHAPTER

check Learning about Boolean logic

check Examining the different types of logic gates

check Seeing how two or more gates can be used in combination

check Building logic circuits with only NAND or NOR gates

check Using software to simulate logic gate circuits

I grew up on Star Trek. Captain Kirk and his valiant crew sparked my imagination as they journeyed through the galaxy on their amazing adventures. So it’s only logical that I’m inclined to begin a chapter on logic with a reference to Mr. Spock. In fact, it would be illogical to begin this chapter in any other way.

In this chapter, I look at the basic principles of logic, which are the underpinnings of digital electronics. In particular, I explore logic gates, which are handy devices that perform a logical operation on two binary inputs and produce a single binary output result.

It’s incredible to realize that the overwhelming complexity of modern computer systems is built on the simple concept of logic gates. A modern ...

Get Electronics All-in-One For Dummies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.