Skip to content
LumenaryAcademy

Lumenary Scientia

Lumenary EE

Electrical engineering from a first circuit to the chips, power grids and radios of 2026: circuits, electronics, digital design, signals and control, embedded systems, communications, power and energy.

Lumenary EE is the third subject of Lumenary Scientia, free and open source like Lumenary Math and Lumenary CS. It starts with no experience at all — what a current is and why a bulb lights — and climbs through circuit analysis, analog and digital electronics, signals and control, embedded systems, electromagnetics and communications, and power and energy, to the engineering behind today's chips, AI data centres and energy transition.

Every lesson teaches with ideas first and calculation second. Calculations and simulations are in Python with NumPy, and every block with a Run in browser button runs there, with nothing to install. Hardware descriptions in Verilog and circuit netlists for SPICE are run by Lumenary's own checks with Icarus Verilog and ngspice. A lesson says Code tested only when all of its code passed. Lumenary EE shares ground with Lumenary CS (how a processor is built from gates) and Lumenary Robotics (control, sensors and motors), and links to them where they meet.

Electricity can hurt you. Lessons that involve building anything say what is safe — small batteries and current-limited bench supplies — and what is not: never experiment with mains electricity, and leave mains wiring to qualified electricians.

Every lesson was drafted with AI assistance and is awaiting review by a human electrical engineer. The text, exercises and code are original and licensed CC BY-SA 4.0 (code Apache-2.0). Where a manufacturer, laboratory or standards body has published the primary source — a datasheet, an application note, a paper, a standard — the lesson links to it rather than retelling it.

AI-draftedAwaiting review by an electrical engineer
  • Chloe · The Physicist
    “What is really happening in the circuit?”
  • Margaret · The Bench Engineer
    “What would we measure?”
  • Gideon · The Design Reviewer
    “Where are the limits, and is it safe?”

Start · 5 lessons

Electricity from scratch

No experience needed, from about age 11. What charge, current and voltage are, why a circuit needs a loop, Ohm's law, power and energy, how magnets make motors turn, and how to build and measure circuits safely.

  1. 1What is electricity?Charges, currents and voltages, the invisible pushes and flows behind every light switch, phone and lightning bolt. 40 min
  2. 2Circuits and Ohm's lawWhy electricity needs a complete loop, what resistance is, and the simple rule that links voltage, current and resistance. 45 min
  3. 3Power, energy and batteriesWhat watts and kilowatt-hours mean, what your electricity bill really measures, and how a battery stores energy in chemicals. 45 min
  4. 4Magnets, motors and generatorsHow a current makes a magnet, how a magnet makes a current, and how those two discoveries turn every motor and light every city. 45 min
  5. 5Building and measuring circuits safelyWhat is safe to build with and what never is, how a breadboard works, how to light an LED properly, and how to use a multimeter without blowing its fuse. 50 min

Circuits · 7 lessons

Circuit analysis

The engineer's tools for any circuit: Kirchhoff's laws, nodal and mesh analysis, Thévenin and Norton equivalents, capacitors and inductors over time, resonance, AC phasors and impedance, and frequency response.

  1. 6Kirchhoff's lawsTwo conservation laws, one for charge and one for energy, that let you analyse any circuit however it is wired. 55 min
  2. 7Nodal and mesh analysisTwo systematic ways to write a circuit's equations, the matrices behind them, and how a circuit simulator does the same thing at scale. 60 min
  3. 8Superposition, Thévenin and NortonLinearity, and the remarkable fact that any linear circuit, seen from two terminals, is just one source and one resistor. 60 min
  4. 9Capacitors, inductors and first-order circuitsThe two components that store energy, the exponential curves they draw when a switch moves, and the kick an inductor gives when its current is cut. 65 min
  5. 10RLC circuits and resonancePut a capacitor and an inductor in one circuit and energy sloshes between them. The circuit rings, settles or resonates, and one number, the damping ratio, says which. 60 min
  6. 11AC circuits, phasors and impedanceA sinusoid going into a linear circuit comes out as a sinusoid of the same frequency. Represent each one by a complex number and calculus turns into algebra. 60 min
  7. 12Frequency response, Bode plots and filtersHow a circuit treats every frequency at once, how engineers draw it in decibels on a logarithmic axis, and how to design simple filters that keep the frequencies you want. 65 min

Electronics · 6 lessons

Analog electronics

From the physics of semiconductors to working circuits: diodes, bipolar and MOS transistors, amplifiers, operational amplifiers, feedback and oscillation, power supplies and noise.

  1. 13Semiconductors and diodesHow a pinch of impurity turns silicon into a one-way valve for current, and what engineers build with it. 65 min
  2. 14Transistors: BJTs and MOSFETsThe controlled valve at the heart of every amplifier and every chip, used as a switch and as a preview of digital logic. 65 min
  3. 15Transistor amplifiersBias a transistor at a quiet operating point, treat small signals as straight-line wiggles around it, and the nonlinear device becomes a predictable amplifier. 70 min
  4. 16Operational amplifiersA very high-gain amplifier, tamed by negative feedback into precise circuits whose behaviour is set by a few resistors and capacitors. 70 min
  5. 17Feedback, stability and oscillatorsWhat negative feedback buys and what it costs, why amplifiers ring or sing, and how engineers make oscillators on purpose. 70 min
  6. 18Power supplies, regulators and noiseFrom a battery or an adapter to clean, quiet supply rails, and the noise that sets the floor under every measurement. 70 min

Digital · 6 lessons

Digital design

How bits become hardware: Boolean algebra and CMOS gates, combinational and sequential logic, finite-state machines, Verilog and FPGAs, timing, and the design of a simple processor.

  1. 19Logic gates and Boolean algebraWhy engineers squeeze a voltage into two values, the algebra those values obey, and the transistors that compute it. 60 min
  2. 20Combinational logicFrom a truth table to a minimal circuit, and from adders to an ALU, with the delays that decide how fast it all runs. 75 min
  3. 21Sequential logic and state machinesLatches, flip-flops and the clock that disciplines them; registers and counters; and finite-state machines, designed, encoded, reset and verified. 75 min
  4. 22Verilog and FPGAsDescribing hardware instead of programming it, the bug every Verilog designer meets once, and the chips that become whatever circuit you describe. 80 min
  5. 23Timing and clockingHow fast a synchronous design can run, why it sometimes fails at any speed, and how signals cross safely between clocks. 80 min
  6. 24Designing a processorA real instruction set, a datapath and its control, a single-cycle RISC-V processor in Verilog that runs a program, and the road from there to the cores in your phone. 90 min

Signals · 6 lessons

Signals, systems and control

The mathematics engineers use to describe and shape signals: linear time-invariant systems and convolution, Fourier analysis, sampling and the FFT, digital filters, the Laplace transform and stability, and feedback control.

  1. 25Signals, systems and convolutionWhat a signal is, what makes a system linear and time-invariant, and how one measured response, the impulse response, predicts its answer to anything. 60 min
  2. 26Fourier series and the Fourier transformEvery signal is a sum of sinusoids, and every LTI system simply rescales each one. How to find the sinusoids, what the spectrum tells you, and why short means wide. 65 min
  3. 27Sampling and the FFTHow a continuous signal becomes a list of numbers without losing anything, what goes wrong when it does, and the algorithm that made digital spectrum analysis practical. 70 min
  4. 28Digital filtersFilters made of nothing but multiplication, addition and delay. Difference equations, the z-transform, poles and zeros, and how to design, implement and test FIR and IIR filters. 70 min
  5. 29The Laplace transform and stabilityTransfer functions, poles in the s-plane, and how to tell at a glance whether a circuit rings, settles or runs away. 65 min
  6. 30Feedback controlMeasure, compare, correct. The closed loop in the frequency domain, PID control of a DC motor, root loci, stability margins, tuning rules and digital implementation. 80 min

Embedded · 5 lessons

Embedded systems

Computers inside things: microcontrollers and embedded C, sensors and data conversion, the buses chips use to talk to each other, real-time and low-power design, and printed circuit boards.

  1. 31MicrocontrollersA whole computer on one chip, and how a program reaches out through registers to switch real pins. 65 min
  2. 32Sensors and data conversionHow a temperature, a force or a flash of light becomes a trustworthy number, and how a number becomes a voltage again. 65 min
  3. 33Buses and interfacesHow chips talk to each other — UART, I²C, SPI and CAN bit by bit, USB and Ethernet in outline — and how to find out why they are not talking. 70 min
  4. 34Real-time and low-power designMeeting every deadline, proving that you will, and making a battery last for years. 70 min
  5. 35Printed circuit boardsFrom a schematic to a manufactured board that works, keeps quiet, passes its tests and is safe to sell. 70 min

Waves · 6 lessons

Electromagnetics and communications

How energy and information travel: Maxwell's equations and electromagnetic waves, transmission lines and matching, antennas and radio links, modulation, information theory and error-correcting codes, and the wireless systems of 2026.

  1. 36Maxwell's equations and electromagnetic wavesFour laws about electric and magnetic fields, one missing term, and the prediction that light, radio and Wi-Fi are the same thing travelling at 299,792,458 m/s. 75 min
  2. 37Transmission lines and matchingWhen a wire is long enough to matter, signals travel as waves along it, and every change of impedance sends part of them back. 75 min
  3. 38Antennas and radio linksHow a conductor launches a wave into space, how much of it arrives a kilometre or 38,000 kilometres away, and how a receiver digs it out of the noise. 80 min
  4. 39ModulationHow information rides on a carrier wave, from AM and FM radio to the constellations, pulse shapes and OFDM symbols of Wi-Fi and 5G. 80 min
  5. 40Information theory and error-correcting codesHow many bits a source really produces, how many a channel can carry, and the codes (from parity bits to the LDPC and polar codes of 5G) that get close to Shannon's limit. 85 min
  6. 41Wireless systems in 2026How billions of devices share a few hundred megahertz of spectrum, from the cellular idea to 5G, Wi-Fi 7, Bluetooth, satellite constellations, and what 6G research is aiming at. 85 min

Power · 5 lessons

Power and energy

The engineering of electric power: three-phase systems, transformers and electric machines, power electronics, how the grid stays stable, and the renewable sources, storage and electric vehicles of the energy transition.

  1. 42AC power and three-phase systemsReal, reactive and complex power, power factor and how to correct it, and why almost all the world's electricity is made and moved on three wires. 70 min
  2. 43Transformers and electric machinesHow magnetic fields change voltages and turn shafts, from the distribution transformer down the street to the motors in electric cars and drones. 75 min
  3. 44Power electronicsConverting electrical energy between voltages, currents and frequencies with switches that are fully on or fully off, at efficiencies above 95%. 80 min
  4. 45The power gridHow the largest machines ever built keep supply and demand in balance every second, protect themselves from faults, and occasionally fail. 80 min
  5. 46Renewables, storage and electric vehiclesSolar cells and wind turbines from first principles, the batteries and reservoirs that store their energy, the inverters that will hold the grid together, and the electric cars that plug into it. 85 min

Frontier · 6 lessons

The frontier of electrical engineering

Where the field is moving in 2026, with links to the primary sources: transistors at the 2-nanometre scale, how chips are designed, hardware for AI, powering data centres, photonics, and the engineering of quantum computers.

  1. 47Transistor scalingFrom Moore's observation to gate-all-around nanosheets, backside power and high-NA EUV — how transistors kept shrinking, why it became so hard, and what "2 nanometres" really means. 80 min
  2. 48How chips are designedThe road from a specification to a tape-out — architecture, RTL, verification, synthesis, placement, routing, timing closure and signoff — and the open tools, chiplets and machine learning changing it in 2026. 80 min
  3. 49Hardware for AIWhy AI runs on special chips — the energy of moving data, systolic arrays and tensor cores, high-bandwidth memory, 4-bit number formats, the networks that join tens of thousands of chips, and the packaging and power that hold it all together. 85 min
  4. 50Powering the AI data centreHow much electricity AI needs, how it travels from the grid to a transistor at under a volt, how the heat gets out again, and how data centres are connecting to — and starting to help — the grid. 80 min
  5. 51PhotonicsLight as an information carrier — semiconductor lasers and photodetectors, optical fibre and its limits, wavelength-division multiplexing and coherent optics, silicon photonics in AI data centres, lidar, and an honest look at computing with light. 80 min
  6. 52Quantum hardware engineeringQubits as engineered devices — superconducting transmons and their microwave electronics, dilution refrigerators, coherence, error correction below threshold, the other modalities, and an honest account of where the field stands in 2026. 85 min

Further reading and resources