Electrical Engineering
A book-length path from first-principles circuits to an ESP32 capstone, then applied Hardware Bring-Up, Instrumentation, Power Electronics & Validation. The throughline is prediction followed by measurement: make the board legible, then prove it with instruments. 53 chapters.
Read it like an interactive book
From a single resistor to hardware you can trust
The course keeps returning to two machines: a low-power ESP32 sensor node and a robot-hand electronics stack. The early chapters build prediction muscles with current, voltage, GPIO, ADCs and buses. The later chapters use the same habits on bring-up, probes, cables, converters, motors, heat, reliability and manufacturing test.
Story first. Each strong chapter opens with a concrete failure, field habit or historical anchor before the notation appears.
Drive the idea. Demos and calculators are there to be pushed until the equation becomes physical.
Prove the board. The finish line is not "it works once"; it is measured, debugged and validated hardware.
Foundations
The Promise + Safety
DC Circuits
Components
Microcontrollers
- #8 GPIO Inputs Floating Pins, Pull Resistors, and Buttons You Can Trust
- #9 Timers + PWM Duty Cycle, Flicker, Timers, and Real Loads
- #10 ADC Reading Quantization, Noise, Averaging, and Sensor Voltage
- #11 I²C Communication Shared Wires, Pull-Ups, Addresses, ACKs, and Bus Debugging
- #12 UART Logging + Debugging Serial Frames, Baud Rate, USB Bridges, and Logs That Survive Bring-Up
- #13 5 V vs 3.3 V Logic + Level Shifting Input Limits, Thresholds, Dividers, Buffers, and Bidirectional Buses
ESP32 Deep Dive
Capstone
- #16 Sensor Selection + I²C Wiring From Physical Question to Address Scan
- #17 Firmware Architecture Task Loop, State Machine, Error Budget
- #18 Wi‑Fi Transmit Strategy Batching, Retries, Timeouts, Security
- #19 Power Budget + Measurement Calculating Battery Lifetime
- #20 Validation + Enclosure + Ship It Final Checklist
Applied Systems
A continuous robot-hand subsystem is the throughline: bring it up, probe it, talk to it over CAN / SPI / I²C, spin its motors, feed it clean power, size its cables and converters, and validate it to quantitative targets. Each lesson links back to the foundations it builds on.
Bring-Up & First Power
Measurement & Instrumentation
- #25 Probes & Grounding Why Your Ground Lead Is Lying to You
- #26 Differential Measurement & CMRR Reading the Difference, Rejecting the Noise
- #27 Current, Power & the Art of Sensing Shunts, Hall Probes, Rogowski & Power Analyzers
- #28 Thermal & Data Acquisition Emissivity, Sensors & Logging the Whole Story
Differential Buses · CAN & Ethernet
- #29 CAN Physical Layer & Termination Dominant, Recessive, and the 60-Ohm Health Check
- #30 CAN Errors & Debug TEC, REC, Bus-Off and the Lonely Node
- #31 Ethernet PHY, Magnetics & Auto-Negotiation Why a Link Light Is Not Good Data
- #32 Ethernet Debug & Signal Integrity TDR, Eye Diagrams and the PHY Registers
Single-Ended Buses · SPI & I²C
- #33 SPI & Its Four Modes CPOL, CPHA, CS Framing and Clock Integrity
- #34 I²C Open-Drain & Pull-Up Sizing The Rise-Time vs Sink-Current Tug of War
- #35 I²C Transactions, Stretching & Recovery The 9th Clock, the Held Line, and the Stuck Bus
- #36 Protocol Decode & Tooling Logic Analyzer vs Scope, and When to Reach for Each
Motors, Actuators & FOC
- #37 Phase Resistance & the 4-Wire Method Measuring Milliohms Without Lying to Yourself
- #38 Wye, Delta & the Copper Thermometer Line-to-Line vs Phase, and Why R Tells Temperature
- #39 Inductance, Ke, Kt & Pole-Pairs The Constants That Tie Volts to Torque
- #40 FOC, Current Sensing & Thermals Riding the Rotor so AC Looks Like DC
Power Delivery & Grounding
- #41 The Power Tree & Choosing a Regulator LDO vs Buck: Heat, Noise and Efficiency
- #42 Decoupling & the Power Distribution Network A Local Battery for Every Fast Current Spike
- #43 Sequencing & Inrush The Order Rails Wake Up, and Taming the First Gulp
- #44 Grounding, Return Paths & EMI Two Roads Home Is One Road Too Many
Power Electronics
Validation, Reliability & Test
- #45 Characterization, Verification & Validation Three Words People Use Interchangeably and Should Not
- #46 Reliability: HALT, Arrhenius, Weibull & the Bathtub Breaking It on Purpose to Learn Where It Breaks
- #47 Root Cause & FMEA Five Whys, Fishbones, and the Number That Ranks Risk
- #48 HIL Automation & Manufacturing Test From a Bench of One to a Line of Thousands