/fundamentals

The electronics under every board.

Why the LED died the instant you wired it. Why the pin reads 1.8 V when it should read 3.3. Why the board reboots every time the motor starts. These are the chapters that answer those — and because no chip is named and no code is printed, none of it stops being true when you change boards.

Ohm’s law, as water
I = V ÷ R
Raise the tank5 V
Squeeze the pipe220 Ω
every stop is a resistor that exists
The range everything you build lives in. LEDs, buzzers, an opto-coupler, a relay through a driver. Enough to see across the room, nowhere near enough to hurt the part.

5 V across 220 Ω gives 22.7 mA, and 114 mW of heat in the resistor.

15 chapters and 12 courses · 200 articles · about 16.5 hours end to endThe guided lab, full size →Start reading ↓

Contents

Every article, in order

15 chapters and 12 courses. Start at the top, or go straight to the one with your part in it. A course is one card with every lesson in it, in order.

The three numbers everything else is made of, the one equation that ties them together, and the schoolmaster who was called a fraud for finding it.

Resistors

Electricity · 4 articles

The part you reach for most, in the four arrangements that cover almost every circuit.

LEDs

Electricity · 1 article

The first thing everybody wires up, and the first thing everybody destroys.

Capacitors

Electricity · 5 articles

Two plates and a gap nothing crosses. It blocks a steady voltage, passes a changing one, and every board you own has a dozen of them holding the rail up.

3.3 V against 5 V, and how much current the whole board actually draws.

Diodes

Electricity · 8 articles

The part that only lets current through one way — charges about 0.7 V for the privilege, holds a fixed voltage when you push it backwards hard enough, and can be talked into storing a number.

A pin can drive 20 mA. Everything bigger needs a part in between — three legs, two flavours, and one number to get right.

MOSFETs

Electricity · 4 articles

The switch you turn with a voltage instead of a current. Four short pages, mostly moving pictures, ending with the one word on the datasheet that decides whether it works from a 3.3 V pin.

Inductors

Electricity · 4 articles

The part that will not let its current change. Four pages on a coil of wire, what it stores, the rating that is not about heat, and the circuit the whole site has been telling you to use instead of a linear regulator.

A short circuit is the load going to nearly zero ohms. Two parts stand between that and your supply, and they are not remotely equally fast.

A battery fitted backwards, two supplies feeding each other, and a spike arriving down the cable. Three problems, and four parts that answer them.

The only part on the bench that stores enough energy to hurt you, and the four chips people put in front of it.

A board asleep at microamps, and a module beside it that never sleeps at all. One chip cuts the module off completely, and costs nanoamps to do it.

A lithium cell starts above 3.3 V and finishes below it. One chip bucks, then boosts, and holds the rail through the crossing, at 20 µA while the board sleeps.

I2C

Course · 12 lessons · 3D and VR · ▶ 12 films

The two-wire bus nearly every sensor module speaks, from the beginning. Every lesson has a bench in 3D and in a VR headset.

MQTT

Course · 10 lessons · 3D and VR · ▶ 10 films

How a reading gets from a sensor to a phone, a laptop and a lamp without any of them knowing the others. Every lesson has a bench in 3D and in a VR headset.

SPI

Course · 14 lessons · 3D and VR · ▶ 14 films

The four-wire bus that chip after chip uses when it needs to be fast: a clock, two belts of bits, and a light that says who is listening. Every lesson has a bench in 3D and in a VR headset.

Screens

Course · 16 lessons · 3D and VR · ▶ 16 films

Every way a screen is fed, from a two-wire OLED to an eDP laptop panel: how much data a picture is, where the picture lives, and what has to keep moving. Every lesson has a bench in 3D and in a VR headset.

TCP and UDP

Course · 12 lessons · 3D and VR · ▶ 12 films

What a network adds to your data and what it leaves out: one-line cards that may be lost, and a novel cut into numbered strips that is pasted back together. Every lesson has a bench in 3D and in a VR headset.

UART

Course · 12 lessons · 3D and VR · ▶ 12 films

How two devices send bytes down a wire with no clock between them, only an agreement made beforehand: the idle line, the start bit, the data bits, baud, and what happens when the two sides disagree. Every lesson has a bench in 3D and in a VR headset.

RS-485 and Modbus

Course · 12 lessons · 3D and VR · ▶ 12 films

How a serial line is made to carry a long run and a crowd: a difference between two wires, a trunk with many taps, one driver at a time, the ends, and the Modbus conversation on top of it. Every lesson has a bench in 3D and in a VR headset.

CAN bus

Course · 12 lessons · 3D and VR · ▶ 12 films

How many devices share one pair of wires with no master: a hall of desks that shout or stay quiet, who speaks first, how a message is built and checked, what goes wrong, and the two ends of the rail. Every lesson has a bench in 3D and in a VR headset.

Ethernet

Course · 12 lessons · 3D and VR · ▶ 12 films

How a cable carries a network: one shared channel and its collisions, what a frame holds and who it is for, hubs and switches, how a link comes up, the MAC, the PHY and RMII, and the three ways an ESP32 gets Ethernet. Every lesson has a bench in 3D and in a VR headset.

Wi-Fi

Course · 13 lessons · 3D and VR · ▶ 13 films

How a frame crosses the air: radio waves and channels, why signal is not a bar count, how a network is found and joined, station and access point, sharing airtime, hidden stations, robust versus fast, sleep and security, and the ESP32 on the bench. Every lesson has a bench in 3D and in a VR headset.

LoRa

Course · 12 lessons · 3D and VR · ▶ 12 films

Small messages over a longer link: the chirp, spreading factor, bandwidth and coding, airtime, noise and interference, the rules where you live, collisions, a battery day, LoRa against LoRaWAN, and the ESP32 bench. Every lesson has a bench in 3D and in a VR headset.

Zigbee

Course · 13 lessons · 3D and VR · ▶ 13 films

A low-power mesh, not Wi-Fi: the shared radio, three roles, names and joining, paths, a sleepy sensor and its parent, clusters and bindings, security, the controller side, failure, and the ESP32 bench. Every lesson has a bench in 3D and in a VR headset.

Soldering

Workshop · 2 articles

Making a through-hole joint, and telling a good one from the four kinds that fail.

Circuits, running

One block from a real board's schematic, redrawn and simulated. Open the lab to see it work, tap any part, and break it on purpose.

Or start from what went wrong

Most people arrive here angry. Pick what happened — each one is a two-minute read, not a course.

I²C, MQTT, SPI, screens, TCP and UDP, UART, RS-485 and Modbus, CAN bus, Ethernet, Wi-Fi, LoRa, and Zigbee have courses of their own, above. Looking for the board side of UART, or of Wi-Fi? They are chapters of the ESP32 book — same drawings, no board required: wires on the board and messages on the network.