Module 3 · Rooms, Then Desks, Then Pockets

Did the first computer run on electricity?

Lesson 3.1 · Looms and Gears

Rob · Mark

A loom from 1804, running on punched cards.

Rob pulls up a picture on his phone: a huge wooden loom with a long chain of punched cards hanging off the top.

Mark asks what a weaving machine has to do with computers. Rob says the cards are the program.

Holes say “lift this thread,” no holes say “don’t.” It’s 1804.

The short answer

The first programmable machines didn’t. A loom read punched cards in 1804, and Babbage designed a calculating engine to run on steam. Electricity came a century later and made the old idea fast enough to change the world.

Try it yourself

Drag the slider through the years. Each stop lights up as you reach it.

Year: 1800

  • The Jacquard loom

  • Babbage’s Analytical Engine

  • Ada Lovelace’s notes

  • Turing’s paper machine

  • ENIAC

  • The transistor

  • A processor on one chip

  • The IBM PC

  • The iPhone

What you just did has a name

A programmable machine

A programmable machine is one you can make do different jobs by changing its instructions instead of rebuilding it.

The Jacquard loom was programmable: new cards, new pattern.

That idea, instructions you can swap, is older than electricity, and it’s the idea underneath every computer since.

A few more things

Cards became data

Punched cards spread far beyond weaving for 150 years. The U.S. census used them in 1890, and businesses ran payrolls on them into the 1970s.

Babbage never finished

The Analytical Engine needed parts more precise than anyone could make in the 1830s, and the money ran out. A piece of a different Babbage design was finally built in London in 1991, and it worked.

Ideas before machines

Lovelace and Turing both did their most famous work on paper, about machines that didn’t exist yet. The thinking often came first.

Go deeper

The longer version, if you want it.

What Babbage got right

Babbage’s engine had a store to hold numbers and a mill to do arithmetic on them, controlled by punched cards borrowed from the loom. Swap “store” for memory and “mill” for processor and you have the outline of a modern computer, designed a century early.

It didn’t change history directly, because it was never built and was mostly forgotten. Most of the people building the first electronic computers had never read his notes, and were startled by how close he’d come.

Quick check

What made the Jacquard loom “programmable”?

Let’s take it slower

A music box plays one song forever, because the song is built into its metal drum. A player piano reads a paper roll with holes in it, and if you swap the roll, it plays a different song. The music box is a machine. The player piano is a programmable machine. Computers are the player piano, all the way down.

More examples

1

The player piano

Paper rolls with holes, one per song. Same piano, endless songs. Popular in the early 1900s and a cousin of the loom.

2

Your washing machine’s dial

Delicates, heavy duty, quick wash. Same drum, different set of steps each time. Simple programs, picked with a knob.

Back to the question

So did the first computer run on electricity?

Show the answer

The first programmable machines didn’t. A loom read punched cards in 1804, and Babbage designed a calculating engine to run on steam. Electricity came a century later and made the old idea fast enough to change the world.

One last question

Mark asks what a loom has to do with computers. Who explained it best?

Talk Card

Talk Card · 3.1

The idea behind computers is older than electricity: a machine that does different jobs when you change its instructions. A loom did it with punched cards in 1804.

How Computers Work · pettigrewlab.com/learn

Next lesson