🔬 Curiosity Lab

How Transistors Work — The Building Block of Modern Electronics

Understand how transistors amplify signals and switch currents, and why they're the most important invention of the 20th century.

April 10, 2025
3 min read
360 words

The Most Important Invention of the 20th Century

The transistor, invented in 1947 at Bell Labs, fundamentally changed civilization. Your smartphone contains over 15 billion of them, each smaller than a virus.

What is a Transistor?

A transistor is a semiconductor device with three terminals:

  • Base (B) — the control input
  • Collector (C) — where current enters
  • Emitter (E) — where current exits

A small current at the Base controls a much larger current from Collector to Emitter. This is amplification.

The Water Analogy

Think of a transistor like a water valve:

  • The Base is the valve handle
  • The Collector is the water inlet
  • The Emitter is the water outlet

A small force on the handle (Base current) controls a large flow of water (Collector current).

Two Modes of Operation

Amplifier Mode

Used in audio amplifiers, radio receivers, sensors.

  • Input: small signal at Base
  • Output: amplified signal at Collector
  • Gain (hFE or β) is typically 100-500×

Switch Mode

Used in digital logic, motor drivers, relay drivers.

  • Base current OFF → transistor OFF (open switch)
  • Base current ON → transistor ON (closed switch)

NPN vs PNP

Type Active When Current Direction
NPN Base HIGH C → E
PNP Base LOW E → C

NPN is more common and easier to work with in positive-voltage circuits.

Quick Experiment

Connect an NPN transistor (like 2N2222) to control an LED with an Arduino:

void setup() {
  pinMode(9, OUTPUT); // Base control pin
}

void loop() {
  digitalWrite(9, HIGH); // Turn LED on
  delay(1000);
  digitalWrite(9, LOW);  // Turn LED off
  delay(1000);
}

Use a 10KΩ resistor between the Arduino pin and the Base terminal.

Why Transistors Changed the World

Before transistors, computers used vacuum tubes — the size of a fist, consumed kilowatts, and failed frequently. The first transistor computer (TX-0, 1956) could fit in a room instead of filling a building.

Today, TSMC's 3nm process creates transistors just 3 nanometers wide — smaller than most proteins in your body.

Share this article