Signals, by hand.

A radio wave, a voice, a heartbeat and the brightness across a photograph have something in common. Each one can be measured as it changes, and anything that can be measured that way is called a signal. A small number of ideas work on every signal there is. This site teaches those ideas one at a time, each with something you can move with your own hands. It has grown into six parts, which are set out below, and each part can be read by itself.

This is a known pattern being found in noise, again and again. The opening story explains what you are watching.

start here How a phone hears a satellite Twenty thousand kilometers overhead, a transmitter no stronger than a light bulb is sending your phone a signal a hundred times weaker than the noise around it. The opening story explains how the phone finds that signal, with a flashlight, a loaded coin and a key in a lock, and how it then works out where on Earth it is, with a treasure map and an orange. Everything else on the site grows out of it. read the story →

how the chapters work

Every chapter has things to move. You drag a pattern across a signal, or turn up the noise, or draw a line of your own, and you see what happens. The explanation is in plain language, and the mathematics comes last, once there is something for it to describe. Most chapters end with the same idea written as a short program, in C, C++, Rust and Python, so you can see how a real receiver or photo editor carries it out. The chapters on the camera and the darkroom trade the program for something to try with your own hands.

Inside a part, the chapters build on one another and are best read in order the first time. The parts stand more on their own. Part four, on the camera and the darkroom, can be read first by anyone who came for the photography, and part five by anyone who came to see inside a computer. Part six, on power and machines, begins with the wires overhead, and part seven follows a spacecraft into the tank where it is tested. All four point back to the earlier chapters wherever they borrow from them. Ordinary arithmetic is all that any chapter asks of you. Afterward, the reference gathers every term and formula in one place, and the bench has calculators for the sums that come up most often.

part one · finding a known pattern

These four chapters build the opening story by hand. They work on a single line of numbers, and their examples come from radio.

01sliding a shapeA seven-day average slides a window along a row of numbers. Give each place in the window its own importance, and the same sliding sum will smooth a signal, find its sudden changes or pick out a pattern.What does a seven-day average really do?
02finding a pattern in noiseHide a pattern in noise and find it again. Then see how a receiver decides that a spike is real, how weak a signal can be and still be found, and what changes when the sender is moving.How does a receiver know where to look?
03the air, with everyone talkingPut several senders on the air at once, and follow one receiver as it finds each message by its opening pattern and reads the letters that come after.How does a message announce that it is starting?
04talking over each otherGive every sender its own long pattern and let them all send at the same moment. This is how thirty GPS satellites share one spot on the radio dial.Do longer patterns let more voices overlap?
part two · pictures and sound

Part two points the same sliding idea at photographs and recordings, and then stretches it to many sizes at once, which is where wavelets come in.

05a picture is a signal tooSee a photograph as a grid of numbers and read one row of it as a signal. Then slide a small grid of numbers across the picture to blur it, sharpen it and find its edges.What is an edge, to a computer?
06a signal in layersTake a line apart into an outline plus layers of finer and finer detail, change the numbers by hand, and watch the line rebuild itself.What is a symlet, and why would anyone want one?
07a photograph in layersSplit a photograph by the size of its details. Then throw away nine-tenths of the numbers, and clean off the grain while the edges stay sharp.How can a picture survive losing most of its numbers?
08what is a frequencyA weight on a spring draws its own wave. Three tones hide in a single line and are found again, and a prism sorts white light into its colors. One idea runs through all of it, which is how often a thing repeats.How can many frequencies share the same air?
09the same sound, two waysWatch your own voice drawn two ways at once, in fixed slices and with wavelets, and see where the two pictures differ.Why does one picture smear a finger snap?
10reading a sound pictureWhistles, clicks, Morse code and a passing siren are drawn as pictures of pitch against time, and a line follows along as each one plays.What does Morse code look like?
part three · radio

Part three goes back to the question the story opened with. How strong is a signal, how far can it travel, and what is the faintest one a receiver can hear? It then follows the signal itself, out through an amplifier, a cable and an antenna and in again at the far end. On the way it stops at a machine that slows a wave down until it can be watched, and it ends with the trouble a transmitter makes for the receiver beside it.

11how strong is a signalSignal strength is explained by comparing it with the human voice. After that come the hiss every receiver makes, the sum that says whether a radio link will work, and what an antenna really does.What does a reading of -120 dBm mean?
12a shout and a coneA cardboard cone carries a voice farther than shouting does, and it adds no power at all. Start in a swimming pool and inside your own ear, and see what impedance is, using nothing more than pushing and moving.Why does a megaphone work?
13a wave slow enough to watchIn 1959 a Bell Labs physicist built a machine of steel rods that carries a wave at the pace of a slow walk. It is rebuilt here to flick, shake and load. Watch a wave bounce off a free end and a clamp, find the paddle that swallows it whole, and smooth a join with a quarter wave and a taper.What does a wave do when it reaches the end?
14the echo in the cableThe wave is now a radio signal, the machine is a cable and the paddle is an antenna. Time an echo, see what the VSWR on an antenna meter is counting and how the meter tells coming from going, watch a lossy cable flatter a poor antenna, and trim an antenna until its dip sits on the transmitter.What is an SWR meter measuring?
15an amplifier at each endA transmitter ends with an amplifier that makes watts, and a receiver begins with one that handles a millionth of a billionth of a watt. Push an amplifier against its ceiling, watch two tones make a third, and see why the first amplifier of a receiver belongs at the antenna.Why does a phone get warm when it uploads?
16when the echo gets homeA wall outlet is labeled 120 volts and peaks at 170. See what RMS means and why it is the number on every label. Then open a transmitter's last amplifier and watch what a bad antenna does inside it, which is too much heat at one length of cable and too much voltage a quarter of a wave away.Why can a bad antenna destroy a transmitter?
17a transmitter next doorA transmitter is the worst neighbor a receiver can have. Add up the hundred and sixty decibels between what one sends and what the other is straining to hear, see the three ways in, and move the two apart until the faint station comes back. It is the reason some stations listen from another town.Why would a radio station listen from another town?
part four · camera and darkroom

Part four finds the same ideas in light, glass, silver and silicon. It visits a room that is a camera, a camera whose two ends move, a photograph rising in a tray, and a chip that counts light one particle at a time.

18a camera you can stand insideCover a window, leave one small hole, and the street outside appears on the far wall. See why it is upside down, why a small hole is sharp and dim, and what a lens adds.Why is the picture on the wall upside down?
19the view cameraA view camera is a lens on one board, a sheet of film on another, and a pleated bag between them. Measure a lens with a ruler, keep the walls of a tower straight, and lay the sharp focus down along a path from your feet to the horizon.How can a near stone and a far mountain both be sharp?
20the first printSlide a blank sheet into a tray and watch a photograph rise out of it. Follow it through the three baths of a darkroom, down at the level of the atoms, and see what white light does to it at each stage.What did light do to the paper before the picture appeared?
21shaping the printOne negative can be printed many ways. Set the soft light and the hard light separately, lighten and darken parts of the picture by hand, change the paper, sharpen with a blurred copy, and balance a color print.Why did one photograph take forty years to print?
22the smallest photographThis chapter has a hollow nickel, mail flown into a city by pigeon, and a professor who never existed. Shrink a page of numbers until the lens and the grain of the film can hold it no longer.How does a typed page fit inside a coin?
23from silver to siliconThe chip that took over from film counts light itself, one particle at a time. See the noise that light brings with it, the mosaic of color filters, and what film, paper, the eye and silicon each respond to.Why are half the pixels in a camera green?
part five · inside a computer

Everyone uses a computer, and the signals inside one are the same signals as everywhere else on this site. These six chapters open the case and follow them, from the parts on the board down to one bit on one wire, out into the air as radio noise, and along the cables that join one machine to the next.

24the parts of a computerOpen the case and meet the parts: the processor, its memory, the drives, and the two chips called bridges that once tied them together. Then follow a keystroke, a saved file and a frame of video across the board.Why did a motherboard have a north and a south?
25the processor and its memoryWalk a small processor through its work one tick at a time, see why memory is kept on shelves of different speeds, and watch the unit that gives every program a memory of its own.How do two programs share one memory without colliding?
26a one and a zero on a wireFind out what a one and a zero really are on a copper wire. See why digital copies stay clean, what goes wrong when a signal hovers at the dividing line, and how a circuit from the 1930s puts it right with two lines in place of one.How does a noisy wire deliver a clean bit?
27sending bits fastWide ribbon cables gave way to a single pair of thin wires, and this chapter shows why. It also builds the picture that engineers use to judge a fast link, called an eye. Lengthen the wire, add noise, and watch the eye close.How can two wires be faster than forty?
28the noise a computer makesEvery sharp change of voltage inside a computer is a small radio broadcast. Build a square wave out of smooth ones, measure a circuit board the way a test laboratory would, trade quiet against speed, and hear two tones make a third.Why does a radio buzz beside a computer?
29how machines talkEvery socket on a computer is a way of sending bits down wires, and each one answers the same four questions. Light eight lamps from the old printer port, send a letter down one wire with no clock, trade bytes over SPI, call a chip by its address, and see what sets RS-232, RS-485, USB and Ethernet apart.Why are there so many kinds of socket?
part six · power and machines

This part steps outside, to the wires overhead and the machines at the end of them. Its waves are the largest on the site, and the same arithmetic runs through them.

30why the wires come in threesPower from one wave arrives in pulses. Three waves a third of a swing apart deliver it perfectly level, carry one another's currents home, and make a magnet that turns with nothing moving. Then take one of the three away from a running motor.Why do power lines carry three wires?
31wires in pairsA current and its way home cancel each other from a distance, and a twist makes the canceling better. See where it stops working, beside a motor drive whose every pulse echoes at the motor. Then count the bundled wires on a tall power line, which hang together for a different reason.Why are the wires in a network cable twisted?
32shaking the stress outA weld leaves steel pulling against itself as hard as steel can pull. Watch one row of atoms slip at a time, hold a lopsided motor on each peak of a welded frame until the peak stops rising, and compare shaking with a furnace. Then meet the same ringing on a footbridge full of walkers.How can shaking a steel frame make it hold still?
part seven · bound for space

The newest part follows hardware on its way off the planet. It begins on the ground, in the tank where a spacecraft meets vacuum and cold for the first time.

33space in a steel tankA spacecraft meets vacuum and cold on the ground before it ever leaves. Pump the air out of a tank until its molecules fly from wall to wall, see what sticks to a cold lens and for how long, bake a box of electronics until a quartz crystal says it is clean, find the pressure at which thin air sparks, and step through a week of testing.Why is a spacecraft baked before it flies?
and when you come back
benchcalculatorsThe bench has calculators for power, wavelength, distance, receiver hiss, antennas, enlarging times and more, and they use the same formulas as the chapters.
refreferenceEvery term, formula and program from the chapters is gathered in one place, with a search box.
mapwhere it all fitsThe fields this site crosses are laid out along one street, with what each is called, what a degree in it covers, and how to start without a classroom.
readreading and sourcesHere are three things to read next, along with the pages where the names, dates and figures in every chapter can be checked.
aboutwho wrote this, and whyThis page tells who these things were learned from, describes the day it all clicked, and ends with a challenge to the reader.