← Back to Academy

Transistor Logic

If you’ve ever looked at a microchip and wondered what’s actually going on inside, the answer is: millions of tiny switches and a lot of heat. Today, we’re going to pull back the curtain and build the foundational blocks of computers—logic gates—using nothing but raw transistors and resistors. No cheating with integrated circuits. Prepare to wire until your fingers bleed.

Why Transistors?

Before we had billions of microscopic transistors packed onto a silicon die, early computers used discrete components. A transistor, at its core, can act as a simple electronic switch. By cleverly wiring these switches together, we can perform mathematical and logical operations.

Let’s explore the big three: NOT, AND, and OR gates.

1. The NOT Gate (Inverter)

The NOT gate is the simplest logic circuit. It takes an input and gives you the exact opposite. If the input is HIGH (1), the output is LOW (0), and vice versa.

2. The AND Gate

An AND gate only outputs a HIGH signal if all of its inputs are HIGH. Think of it like a strict bouncer—you need a ticket AND an ID to get in.

3. The OR Gate

An OR gate outputs a HIGH signal if any of its inputs are HIGH. Either one, or both, will do the trick.

The Building Blocks of Computing

By combining these three simple circuits, you can build literally anything in the digital world.

Grab your breadboards and let’s get wiring!

Hardware You’ll Need

To follow along with this lesson, you’ll need the following components: