Fundamentals/Power and protection

Every part in front of the board is there because something died.

A fuse that takes 150 milliseconds. A diode that charges you half a volt. A cell that vents at 4.3 V. Each one is a specific answer to a specific failure — and each has a chip that does the same job better.

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.

The other fundamentals track

Electricity

Volts, current, resistance and the mistakes that kill parts. 35 pages, true of every board.

35 articles →
The other fundamentals track

I2C

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

12 articles →
The other fundamentals track

MQTT

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.

10 articles →
The other fundamentals track

SPI

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.

14 articles →
The other fundamentals track

Screens

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.

16 articles →
The other fundamentals track

TCP and UDP

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.

12 articles →
The other fundamentals track

UART

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.

12 articles →
The other fundamentals track

RS-485 and Modbus

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.

12 articles →
The other fundamentals track

CAN bus

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.

12 articles →
The other fundamentals track

Ethernet

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.

12 articles →
The other fundamentals track

Wi-Fi

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.

13 articles →
The other fundamentals track

LoRa

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.

12 articles →
The other fundamentals track

Zigbee

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.

13 articles →
The other fundamentals track

Workshop

The hand skills. Soldering a joint that lasts, and reading the ones that will not. 2 pages, no circuit required.

2 articles →
Next, in the ESP32 book

Wires on the board

How two chips agree on what a line means, sorted by what it costs you in pins

9 articles, no board required →
Next, in the ESP32 book

Messages on the network

Once there is no wire left to agree about, the question is who talks first

5 articles, no board required →