← LOGBOOK LOG-011
COMPLETE · ELECTRONICS ·
OSCILLATORSRELAYINTEGRATED-CIRCUITS555-TIMER

Relay Oscillators & Integrated Circuits

Making circuits that think in time — relay-based oscillators and the leap to integrated circuits.

The Relay Oscillator

An oscillator produces a repeating signal — the circuit switches itself on and off automatically. Building one from a relay was the first moment electronics felt alive.

How It Works

Wire a relay so that when it activates, it breaks its own power supply:

Vcc ─── Relay coil ─── NC contact ───┐

                              (back to Vcc)
  1. Power on → coil energizes → armature pulls → NC contact opens → coil loses power
  2. Coil de-energizes → armature returns → NC contact closes → coil energizes again
  3. Repeat — indefinitely

The relay literally flickers itself on and off. The frequency depends on the relay’s mechanical response time — typically a few Hz, producing a visible LED flash or audible click.

Tuning with a Capacitor

Add a capacitor in parallel with the relay coil. The cap charges when the coil is powered and slowly discharges when the contact opens, delaying the drop-off. This lets you control the on/off timing:

Slower oscillation → larger capacitor
Faster oscillation → smaller capacitor

It’s crude — the frequency isn’t stable and varies with temperature and component tolerances. But watching it work demystified what an oscillator is: a circuit with a feedback loop and a time delay.

Why We Moved Beyond Relays

Relay oscillators are:

  • Slow (limited by mechanical inertia)
  • Noisy (audible click, EMI)
  • Power-hungry
  • Fragile (moving parts wear out)

A clock signal at even 1MHz would require a relay to switch a million times per second. That’s impossible mechanically.

Semiconductor oscillators — using transistors and RC or crystal circuits — solved this. And eventually, all of this got miniaturized onto a single chip.

Integrated Circuits

An IC (integrated circuit) packs hundreds to billions of transistors, resistors, and diodes onto a sliver of silicon, connected by microscopic traces etched by photolithography.

Jack Kilby (Texas Instruments) and Robert Noyce (Fairchild) independently invented the IC in 1958–1959. Kilby won the Nobel Prize in 2000. Noyce had died in 1990.

Why ICs Changed Everything

Before ICs: a simple radio receiver needed dozens of discrete components wired together — labor-intensive, large, unreliable.

After ICs: the same function in a chip the size of a fingernail. And as fabrication improved, costs dropped exponentially — Moore’s Law.

Package Types

DIP (Dual In-line Package): the classic chip with two rows of pins, fits a breadboard. Still used for hobbyist ICs.

SMD (Surface-Mount Device): no through-holes, soldered flat to the PCB surface. Much smaller. Harder to hand-solder.

BGA (Ball Grid Array): pins replaced by a grid of solder balls on the bottom. Used for CPUs, FPGAs — not hand-solderable.

The 555 Timer IC

The most produced IC in history. Designed by Hans Camenzind in 1971. Estimated 1 billion made per year for decades.

A single 555 can:

  • Generate a precise oscillating signal (astable mode)
  • Produce a one-shot timed pulse (monostable mode)
  • Act as a Schmitt trigger for signal conditioning

Astable mode (oscillator):

Frequency: f ≈ 1.44 / ((R1 + 2×R2) × C)
Duty cycle: D = (R1 + R2) / (R1 + 2×R2)

With R1 = 1kΩ, R2 = 10kΩ, C = 10µF:

f ≈ 1.44 / (21000 × 0.00001) = ~6.86 Hz

Built this. An LED connected to pin 3 blinks at ~7 times per second. Predictable, stable, silent — completely unlike the relay oscillator. Same concept (oscillation), totally different execution.

The Bigger Picture

The relay oscillator → transistor oscillator → 555 timer → microcontroller path is roughly 80 years of electronics history compressed into two weeks. Each step abstracts away the complexity of the previous one. The relay oscillator helped me understand why integrated circuits exist — not just that they do.