Ground Upby Rupesh Koirala

Part one: Electrons · Day 1 of 60

The physical stack

Everything digital is made of rock, metal and electricity. Today you get the map: the layers under a phone, a data center and a satellite, how big each one is, and the route this course takes through them.

By the end of today you can

  • Name the layers between a mine and a running app
  • Trace one part of a phone back to the rock it came from
  • Explain why a shortage in one layer shows up as a delay in another

One question, followed all the way down

You type a question into an AI app on your phone and press send.

Your fingertip disturbs the electric field in a transparent film of indium tin oxide, and a chip notices. A processor with more than ten billion transistors wakes up. A gallium arsenide amplifier pushes a radio signal to a tower. From there your question travels as pulses of laser light through glass fiber to a building the size of a warehouse.

Inside that building a processor with about 200 billion transistors does the arithmetic. While it works it draws roughly as much power as a microwave oven and turns all of it into heat, which a loop of water carries away. The electricity came from a gas turbine, a reactor, a dam or a field of solar panels, through aluminum and copper wires and a row of transformers. The answer comes back the same way in about a second.

Nothing in that chain is weightless. People call it the cloud. It is a building full of silicon, copper and water, wired to power plants. This course is about that hardware: what it is, how it works, where it comes from and what it costs.

The stack

Engineers draw a system as layers, each one resting on the layer below. They call the drawing a stack. Software people use the word for layers of code. Here it means the physical layers.

The physical stack, from what you touch down to the ground

Closest to you

  1. Software and modelsThe part you see. It can be copied for nothing and changed in a day.
  2. SystemsPhones, servers, cars, satellites. Thousands of parts designed to work together.
  3. Boards and modulesCircuit boards, battery packs, motors, displays, power supplies.
  4. Chips and componentsProcessors, memory and sensors, with the resistors and capacitors around them.
  5. DevicesThe transistor, the diode, the solar cell: the smallest working parts.
  6. Refined materialsSilicon, copper, aluminum, lithium salts, rare-earth metals, glass, steel.
  7. The groundOre, brine, sand, air and water.

Closest to the ground. Energy feeds every layer.

Each layer is an industry, often several. Each has its own companies and its own economics. Above all, each has its own clock.

Layer To make more of it, you That takes about
Software rent more servers minutes to days
Systems and boards add assembly lines and shifts months
Chips build and equip a chip factory three to five years
Refined materials build a smelter or refinery several years
The ground find, permit and dig a mine ten years or more
Electricity build plants, lines and substations two to ten years or more

These are rough sizes, and later days give the detail. Keep the shape in mind. Most surprises in technology come from a fast layer waiting on a slow one.

How big is each layer?

A terawatt-hour is a trillion watt-hours. Day 39 takes energy units apart. For now, one terawatt-hour would run about 90,000 American homes for a year.

Follow it to the ground

Pick any part of a product and ask what it is made of. Then ask again. One study for the European Chemical Society counted around 30 chemical elements in a smartphone, and every one of them was dug, pumped or distilled out of the earth or the air. Three ideas keep coming back.

Ore and grade. Ore is rock with enough of a useful mineral to be worth mining. Grade is the fraction that is the metal you want. Copper ore today averages well under 1% copper, so a kilogram of copper wire means more than a hundred kilograms of rock moved, crushed and thrown away.

Refining. Turning ore into material pure enough to use is a separate industry from mining, often in a different country. Chips need silicon in which fewer than one atom in a billion is anything else. Wire needs copper that is 99.99% pure. The refinery is frequently the narrowest point in the chain, which people call a chokepoint.

Byproduct metals. Nobody runs a gallium mine. Gallium is skimmed off while bauxite is turned into the raw material for aluminum. Indium and germanium come out of zinc refining. Most cobalt comes out of copper and nickel mines. The supply of a byproduct metal follows demand for a different metal. When the price of gallium jumps, no new gallium mines open, because there are none to open.

Here is who mines four of the materials this course returns to. The figures are U.S. Geological Survey estimates for 2025.

Material Largest mining country Its share of world mine output
Copper Chile 23% (5.3 of 23 million metric tons)
Lithium Australia 32% (92,000 of 290,000 tons)
Cobalt Congo (Kinshasa) about 73%
Rare earths China 69% (270,000 of 390,000 tons)

Now look one step down the chain. China mined under 8% of the world's copper in 2025 and refined about 48% of it: 14 of 29 million tons. The survey also names China as the leading producer of refined cobalt. Whoever mines the rock and whoever makes the usable metal are often different, and the second matters more.

Why the layers collide

In 2021 carmakers parked thousands of nearly finished trucks in lots because they could not get microcontrollers that cost a few dollars each. The parts were cheap. They were also made on old production lines that nobody was expanding, and a vehicle needs every one of its chips before it can be sold. A system ships at the speed of its slowest part.

The same pattern runs through the AI build-out. It has pressed on each layer in turn: first the processors, then the packaging and memory around them, then the electricity to run them. Days 18, 19 and 52 take those one at a time.

Three habits follow, and the course drills all of them.

  1. Ask what it is made of, and then ask again.
  2. Ask which layer has the slowest clock.
  3. Ask who else needs the same thing.

The sizes you will meet

This subject runs from single atoms to the whole grid, so the same few prefixes appear on every page.

Prefix Means Something that size
pico (p) a trillionth Light travels 0.3 millimeters in a picosecond
nano (n) a billionth A nanometer is about four silicon atoms in a row
micro (µ) a millionth A human hair is roughly 70 micrometers thick
milli (m) a thousandth A small indicator light runs on about 10 milliamps
kilo (k) a thousand A microwave oven draws about a kilowatt
mega (M) a million A megawatt runs several hundred homes
giga (G) a billion A large nuclear reactor produces about a gigawatt
tera (T) a trillion The world uses about 31,700 terawatt-hours a year

The route

The course climbs the stack out of order, because you need electricity to understand anything else.

  • Part one, Electrons. Voltage, current, the basic components, the transistor, logic and a working computer.
  • Part two, Silicon. How chips are designed, printed, packaged, sold and worn out.
  • Part three, Boards. Arduino, ESP32, Raspberry Pi and the path from a prototype to a product.
  • Part four, Rock. Mines, refineries and the materials themselves.
  • Part five, Power. The grid and every major way of making electricity.
  • Part six, Orbit. Satellites and the rockets that carry them.
  • Part seven, Ledger. How to read a company that makes physical things.

Playground · 10 minutes

Trace it to the ground

Pick a product and one of its parts. Follow it down through what it is built from and the refined material, to the rock, brine or air it started as.

Try these

Scenario · 2 decisions

What would you do?

This case is invented. A friend runs a small company that makes a wireless soil sensor for farms. Demand is strong. The software is finished and the circuit board is designed. The product is six months late because one power-management chip, which costs 40 cents, has a lead time of 40 weeks.

Quiz · 5 questions

Check what stayed

Bench work · 30 minutes

Take it to the bench

Things to measure, take apart, look up or work out by hand. No equipment is needed unless a prompt says so. Your notes are saved in this browser and collected on the Lab notes page.

Words to keep

Stack
The layers a system is built from, each resting on the one below.
Upstream and downstream
Upstream is toward raw materials. Downstream is toward the finished product and the customer.
Ore
Rock that holds enough of a useful mineral to be worth mining.
Grade
The fraction of an ore that is the metal being mined.
Refining
Turning ore or crude metal into material pure enough to use.
Byproduct metal
A metal recovered while producing a different one, so that its supply follows the other metal's.
Chokepoint
A step in a supply chain that most of the world's supply has to pass through.
Bill of materials
The complete list of parts in a product with their quantities and costs, usually written BOM.
Lead time
The wait between ordering a part and receiving it.
Single-sourced
Available from only one supplier.
Capital expenditure
Money spent on long-lived assets such as factories and machines, usually shortened to capex.
Data center
A building that houses computers together with the power and cooling they need.
Terawatt-hour
A trillion watt-hours of energy, the unit used for the electricity of a country or the world over a year.

Watch, read and build

  • Read: Material World by Ed Conway. Six materials, from sand to lithium, and the places they come from.
  • Read: How the World Really Works by Vaclav Smil. The energy and material flows under modern life, with the numbers.
  • Read: Chip War by Chris Miller. The history and politics of the chip layer.
  • Browse: The U.S. Geological Survey's Mineral Commodity Summaries, published every year. Two pages on each material, with who mines it.

Sources for dated facts checked November 2026