Part II · Chapter 4

Remembering a Moment

Our switches can answer questions in an instant, yet the second you lift your finger, they forget. Let's bend a wire back on itself and teach a circuit to hold onto the past.

Think about a front-door buzzer. While your thumb presses the button, the chime rings out clearly. The instant you lift your thumb, silence snaps back. Every clever decision door we built in Part I suffers from that exact same short attention span. It lives entirely in the present instant. Ask it a question right now, and it answers faithfully; take your hand away, and the answer vanishes as if it never happened.

That is a real problem if we want to build a thinking machine. Counting, spelling a word, or following a recipe all depend on holding onto something that happened a moment ago. You cannot add two numbers if you forget the first number before you finish reading the second.

The Wire That Holds Its Own Door

How could a simple lamp possibly remember that you pressed a button, long after your hand has left the room? You don't need a new kind of magic part. You only need a mischievous piece of wire.

Imagine a switch that lights a lamp whenever power reaches its entrance. Normally, power only arrives while your thumb holds down the "Remember" button. Now try this trick: splice a second wire onto the lamp's glowing exit, curve it gently around the bottom of the board, and plug it right back into the switch's own entrance.

Watch what happens the first time you tap the button. Power rushes through your thumb, lights the lamp, and immediately pours down that curved return wire. By the time you lift your finger, the lamp's own glow has already arrived back at the entrance—holding its own door open! The signal now chases itself around a quiet, glowing circle. Even with your hands in your pockets, the lamp remembers that you were there.

Of course, a memory you can never erase is just a stuck alarm bell. To make the circuit let go, we tuck a second push-button—the "Forget" button—right into the return wire. Normally it stays closed so the circle can flow. Tap it for a split second, and it lifts the bridge just long enough to break the circle. The lamp goes dark, the return wire empties, and when the bridge drops back down, nothing is left to restart the glow.

Lab 1 The Self-Holding Switch
Remembering: OFF

Tap Set (Remember ON) and watch the glowing return loop hold the lamp lit after the button pops back up. Tap Reset to break the circle.

Power Always ready Set Button Tap to push ON Either Door Reset Button Tap to break loop Return loop holds the lamp lit LAMP OFF
The circuit is resting in the dark. Press Set (Remember ON) to send a brief pulse into the lamp and wake up the return loop.
The Big Idea

Memory is not a special material. It is just a signal bent into a circle, holding its own door open until another signal tells it to let go.

Quiet footnote: Engineers call a self-holding switch like this a latch (or a flip-flop). Inside a modern phone, billions of microscopic versions of this exact feedback loop sit quietly holding onto your photos, messages, and open apps.

From One Moment to a Whole Shelf

Remembering a single yes-or-no is like tying one piece of string around your finger. It is handy, yet you cannot store a whole number, a letter, or a row of picture dots with a single lamp.

Thankfully, the next step requires no new inventions—only repetition. Place four self-holding switches side by side in a neat row, and guard their front entrances with one shared "Save" gate. While that Save gate is shut, you can flip the switches out in the hallway as much as you like, and the row of four lamps inside will peacefully ignore you. The instant you tap "Save," the gate swings open for a breath, all four lamps copy whatever pattern is waiting outside, and the gate snaps shut again.

Now stack four of those rows one above another, like drawers in a small wooden chest, and paint a number on the front of each drawer: Drawer 1, Drawer 2, Drawer 3, Drawer 4. You have just built a Memory Shelf. You can dial in a pattern on your front switches, tuck it into Drawer 1, dial in a completely different pattern, tuck it into Drawer 2, and later peek back inside Drawer 1 to find your first pattern waiting untouched.

Lab 2 The 4-Drawer Memory Shelf
Selected: Drawer 1

Toggle the four Input Switches, pick any drawer below, and tap Save into Drawer. Then change the switches—your drawer remembers!

Input Switches (Workbench) 0 lit
Peek Window Tap "Peek"
A
B
C
D
Try lighting lamps A and C above, then press Save into Drawer 1. Next, change the input switches and save a different pattern into Drawer 2.

Pause for a moment and appreciate what sits on your table. Every single lamp in every drawer is just the tiny self-holding loop from Lab 1. Nothing moves, nothing writes ink on paper, yet as long as power stays connected, the shelf can hold onto patterns for hours, days, or years—and hand them back the instant you ask to peek.

Quiet footnote: A single row of self-holding lamps is called a register. A tall cabinet of numbered rows is called RAM (short for Random-Access Memory), because you can jump straight to Drawer 3 without opening Drawers 1 and 2 first. Each drawer's number is its memory address.

We now have switches that make decisions and shelves that remember the past. Yet everything still sits completely motionless, waiting for your finger to press the next button. In the next chapter, we will give our machine a pulse of its own.

What You Just Built