Engineering
The engineering behind it.
Behind every machine, device and reading: a sensor, a circuit, a program and some mathematics. Learn the part you need, one short idea at a time.
TodayChange my plan
/
Explore concepts→
One idea, in about five minutes. Each one:
- one picture and one worked number
- the mistake to avoid, and three questions to check yourself
- the lessons that go deeper
- leads to the ideas that build on it
Follow a course→
The whole subject, in order. Each course:
- runs start to finish, in a sensible order
- brings in each idea when you need it
- works on real parts and real numbers
- ends in a project you can show
Ask→
Ask in your own words. You get:
- the five-minute ideas behind it
- the lessons that explain it, in the order to read them
- a simulator, to try it with your own numbers
- answers in words are coming; until then, write to an engineer
Try a simulator→
Put your own numbers into a machine part. Each one:
- you move the real thing and see what follows
- asks for your prediction first, then shows it
- checks the design against the material
- links to the idea and the lesson behind it
Build a project→
Make one real thing that works. Each project:
- the parts you need, listed
- step by step, with the code and the files
- a check that tells you it works
- many send their readings live, to a broker you run
Your notes→
Write it in your own words, and keep it. Your notes:
- notes on the words, figures and simulator settings you choose
- cards that come back to test your memory
- kept on this device, never sent anywhere
- export them all as one file
IoT & AIoT · Beginner
Live environment monitor
An ESP32 reads temperature and humidity and reports them live over MQTT, then obeys a command.
About a weekend
Skills: ADC · I2C · MQTT · WiFi
Uses 6 lessons: Wi-Fi and Network Configuration · I2C Sensors and Displays · 4 more

Mechanisms · Intermediate
The pusher
Print a crank slider, drive it with an Arduino Nano, and make it count every stroke and stop itself on a jam.
Printing 8 to 14 hours, building one evening
Skills: FreeCAD · PWM · interrupts · ADC · PI
Uses 10 lessons: Crank-Slider Experiments · Slider Crank Mechanism · 8 more
IoT & AIoT · Advanced
Room activity scanner
An ESP32-S3 senses presence with mmWave radar, watches gas and sound, and switches relays, reporting over MQTT.
Skills: ESP-IDF · UART · ADC · MQTT
Uses 2 lessons: ESP-IDF and Dual-Core Architecture · MQTT and Cloud Communication
IoT & AIoT · Intermediate
Smart greenhouse node
Soil moisture, temperature, and light on one node, with alerts before a crop is at risk.
Skills: sensors · rules · MQTT
Follows the lesson: Production IoT Monitoring System
Electronics
Ohm's law
Voltage pushes, resistance holds back, current is what gets through.
Builds: every circuit · fuses · LED resistors
Beginner5 minutes
Electronics
Voltage divider
Two resistors share a voltage in proportion to their size.
Builds: sensor inputs · level shifting · battery sensing
Beginner5 minutes
Electronics
RC time constant
How a resistor and a capacitor set a time.
Builds: debounce · filters · timing
Beginner5 minutes
Electronics
Filters
Keep the part of a signal you want and remove the rest.
Builds: sensor cleanup · audio
Intermediate5 minutes
Electronics
Transistor as a switch
A small current from a pin controls a large current through a load.
Builds: relays · motors · LED strips
Beginner5 minutes
Electronics
Kirchhoff's laws
Current into a point equals current out, and the voltages around a loop add to zero.
Builds: fault finding · cable drop · earth leakage
Beginner5 minutes
Electronics
Capacitor
Stores charge, blocks a steady voltage and passes a changing one.
Builds: motor capacitors · drive DC links · sensor coupling
Beginner5 minutes
Electronics
Diode and the flyback diode
A one-way valve for current, and the part that protects every switched coil.
Builds: relays · solenoid valves · reverse polarity
Beginner5 minutes
Electronics
MOSFET as a switch
The gate voltage turns it on, and the current squared sets its heat.
Builds: DC pumps · valves · charge controllers
Intermediate5 minutes
Electronics
Decoupling capacitor
A small store of charge beside each chip, because the supply is too far away.
Builds: stable boards · clean ADC readings · modems
Beginner5 minutes
Electronics
Op-amp
It moves its output until its two inputs are equal. Two resistors set the gain.
Builds: sensor amplifiers · buffers · current sensing
Intermediate5 minutes
Electronics
Linear and switching regulators
A linear regulator burns the voltage it removes. A switching one does not.
Builds: controller supplies · solar sites · battery devices
Beginner5 minutes
Electronics
Logic gates
The few small decisions every digital circuit is built from.
Builds: decoders · interlocks
Beginner5 minutes
Electronics
Testbenches
Prove a digital design works before it meets hardware.
Builds: FPGA designs · verification
Intermediate5 minutes
Microcontrollers
GPIO
Make a pin an input or an output, and know what the chip does behind it.
Builds: buttons · LEDs · relays
Beginner5 minutes
Microcontrollers
Pull-up resistor
Give an input a known level when nothing is driving it.
Builds: buttons · I2C lines · open-drain outputs
Beginner5 minutes
Microcontrollers
PWM
One digital pin, any average voltage in between.
Builds: motor control · LED dimming · servos
Beginner5 minutes
Microcontrollers
Timers
A counter driven by the clock, which is how a chip knows time.
Builds: precise timing · event capture · PWM
Beginner5 minutes
Microcontrollers
Interrupts
Let the chip react at once, without checking in a loop.
Builds: buttons · encoders · timing
Beginner5 minutes
Microcontrollers
UART serial
Two wires that carry text between a chip and anything else.
Builds: debug output · GPS · modems
Beginner5 minutes
Microcontrollers
Watchdog timer
A timer that resets the chip when the program stops answering.
Builds: unattended devices · remote sites
Intermediate5 minutes
Sensors & Actuators
ADC and sampling
Turn a real voltage into a number you can use.
Builds: analog sensors · audio
Beginner5 minutes
Sensors & Actuators
I2C and SPI
The two buses that talk to almost every sensor.
Builds: sensor networks · displays
Intermediate5 minutes
Sensors & Actuators
Debouncing
One press of a button is many presses to a chip, until you teach it to wait.
Builds: buttons · limit switches · counters
Beginner5 minutes
Embedded Systems
State machines
Describe behaviour as states and the events that move between them.
Builds: device logic · protocols
Intermediate5 minutes
Embedded Systems
RTOS tasks
Several jobs share one processor, and the most urgent one always runs.
Builds: multi-sensor firmware
Advanced5 minutes
Embedded Systems
Mutex
A key that only one task can hold, so shared data is never half written.
Builds: shared buses · shared buffers
Advanced5 minutes
Embedded Systems
Sleep and low power
Run for months on a battery by sleeping almost all the time.
Builds: battery sensors · remote nodes
Intermediate5 minutes
Embedded Systems
Device trees
Tell Linux what hardware is on the board.
Builds: custom boards · drivers
Advanced5 minutes
Embedded Systems
Ownership in Rust
Let the compiler stop two parts of a program using one pin at once.
Builds: safe drivers · firmware
Intermediate5 minutes
IoT & Networks
MQTT publish and subscribe
Devices send to a topic, not to each other, and a broker passes it on.
Builds: remote monitoring · alerts
Intermediate5 minutes
IoT & Networks
Updates over the air
Change the firmware on a device you cannot reach by hand.
Builds: fleets · remote sites
Advanced5 minutes
IoT & Networks
4 to 20 mA current loop
Send a reading as a current, so a long cable cannot change it.
Builds: pressure · level · flow transmitters
Beginner5 minutes
IoT & Networks
RS-485
Two wires that carry data across a noisy plant by sending the difference.
Builds: meters · drives · long cable runs
Intermediate5 minutes
IoT & Networks
Modbus registers
A meter is a table of numbered boxes, and you ask for boxes by number.
Builds: energy meters · drives · PLCs
Intermediate5 minutes
IoT & Networks
Checksums and CRC
A short number sent with the data that shows if a bit changed on the way.
Builds: Modbus · storage · firmware updates
Intermediate5 minutes
Measurement
Accuracy and precision
Close to the truth, and close to each other, are two different things.
Builds: choosing a sensor · reading a datasheet
Beginner5 minutes
Measurement
Measurement uncertainty
Every reading is a range. The skill is to say how wide.
Builds: energy claims · quality limits
Intermediate5 minutes
Measurement
Calibration
Compare a sensor with something better, and write down the difference.
Builds: audits · cold chain · billing meters
Beginner5 minutes
Measurement
RTD and thermocouple
Two ways to measure temperature, and the wiring mistake that spoils each one.
Builds: cold rooms · generator exhaust · ovens
Beginner5 minutes
Measurement
Current transformer
A ring round a cable that gives a meter a small, exact copy of a large current.
Builds: energy sub-meters · feeder metering · retrofits
Intermediate5 minutes
Measurement
Sampling and aliasing
Measure too slowly and a fast change appears as a slow one that is not there.
Builds: logging intervals · vibration · power
Intermediate5 minutes
Electrical Power
RMS
The one number that says how much heating an alternating voltage does.
Builds: meters · cable sizing · power
Beginner5 minutes
Electrical Power
Power factor
The share of the current that does work. The rest only loads the cables.
Builds: bills · capacitor banks · transformers
Intermediate5 minutes
Electrical Power
Three phase power
Three voltages, one third of a cycle apart, that deliver steady power.
Builds: motors · distribution boards
Intermediate5 minutes
Electrical Power
Motor slip
An induction motor always turns a little slower than its field, and the gap is the load.
Builds: motor loading · nameplates · drives
Intermediate5 minutes
Electrical Power
Maximum demand
You pay for energy used, and again for the highest rate at which you used it.
Builds: electricity bills · load shifting
Beginner5 minutes
Electrical Power
Affinity laws
Slow a pump or fan a little and its power falls a lot.
Builds: variable speed drives · fan and pump savings
Intermediate5 minutes
Fluids & Pumps
Head
Pressure written as the height of water it would hold up.
Builds: tanks · boreholes · pump selection
Beginner5 minutes
Fluids & Pumps
Duty point
A pump runs where its curve crosses the curve of the pipes it feeds.
Builds: pump selection · energy audits
Intermediate5 minutes
Fluids & Pumps
Cavitation
Water boils at the pump inlet when the pressure there falls too low.
Builds: suction design · pump life
Intermediate5 minutes
Heat & Refrigeration
Refrigeration cycle
A fluid boils to take heat in, and is squeezed to give it out somewhere else.
Builds: cold rooms · chillers · air conditioning
Intermediate5 minutes
Heat & Refrigeration
COP
How many units of heat a cooling plant moves for each unit of electricity.
Builds: cold room energy · chiller audits
Intermediate5 minutes
Heat & Refrigeration
Superheat and subcooling
How far the refrigerant is from boiling, read from a pressure and a pipe temperature.
Builds: cold room records · charge checks · valve health
Intermediate5 minutes
Heat & Refrigeration
Thermal resistance
Heat flows through a wall the way current flows through a resistor.
Builds: insulation · heat sinks · enclosures
Beginner5 minutes
Control Systems
Feedback
Measure the result, compare it with what you wanted, and correct.
Builds: thermostats · speed control · level control
Beginner5 minutes
Control Systems
Time constant and dead time
How fast a process responds, and how long before it responds at all.
Builds: tuning · tank and oven models
Intermediate5 minutes
Control Systems
PID control
Three corrections added together: for the error now, the error so far, and its trend.
Builds: temperature · speed · position
Intermediate5 minutes
Control Systems
Integral windup
A controller keeps adding while its output can do no more, then overshoots badly.
Builds: valves · heaters · drives at their limit
Advanced5 minutes
Data & Statistics
Baseline
What a site would have used, so that a saving has something to be measured against.
Builds: savings claims · fault detection
Beginner5 minutes
Data & Statistics
IPMVP options
Where to draw the line round a saving, and which meter on that line proves it.
Builds: savings contracts · M&V plans · retrofits
Intermediate5 minutes
Data & Statistics
Degree days
How much heating or cooling the weather asked for, added up day by day.
Builds: weather adjusted baselines · cooling energy
Beginner5 minutes
Data & Statistics
Control chart
Two lines that separate ordinary variation from a real change.
Builds: alarm limits · quality · drift
Intermediate5 minutes
Data & Statistics
Alarm deadband and delay
Two rules that stop an alarm switching on and off around its limit, and what each one costs.
Builds: cold room alarms · enclosure alerts · thermostats
Beginner5 minutes
Data & Statistics
CUSUM
Add up the small deviations, and a shift too small for any single reading shows within days.
Builds: leak detection · drift · energy savings
Intermediate5 minutes
Data & Statistics
Standard deviation
How far readings usually sit from their average.
Builds: alarm limits · tolerances · noise
Beginner5 minutes
Data & Statistics
Correlation and causation
Two things that move together need not be moving each other.
Builds: fault finding · reports · claims
Beginner5 minutes
Data & Statistics
Payback and net present value
How soon a project returns its cost, and what it is worth when later money counts for less.
Builds: project approval · comparing options
Beginner5 minutes
Vibration & Reliability
Fourier spectrum
See a signal as the frequencies it is made of.
Builds: vibration · audio · noise
Intermediate5 minutes
Vibration & Reliability
Unbalance and misalignment
The two commonest machine faults, told apart by which frequency grows.
Builds: fans · pumps · motor couplings
Intermediate5 minutes
Vibration & Reliability
Bearing fault frequencies
Each damaged part of a rolling bearing makes blows at its own rate, set by its size and the shaft speed.
Builds: motor bearings · pumps · fans
Intermediate5 minutes
Vibration & Reliability
Envelope analysis
The blows of a small defect ring a resonance. Follow the outline of the ringing to find how often they repeat.
Builds: early bearing faults · gearboxes
Advanced5 minutes
Vibration & Reliability
Vibration severity
One velocity number in mm/s, placed in zones A to D that depend on the class of machine.
Builds: monthly readings · acceptance tests · alarm limits
Beginner5 minutes
Vibration & Reliability
Availability, MTBF and MTTR
How often it fails, how long a repair takes, and the share of time it is ready.
Builds: maintenance reports · spares
Beginner5 minutes
Vibration & Reliability
Bathtub curve
Failures are common when a machine is new, rare in the middle, and common again when it is old.
Builds: maintenance plans · warranties
Beginner5 minutes
Vibration & Reliability
Weibull shape and scale
Two numbers from a record of lives: the shape says early, random or wear-out, the scale says how long.
Builds: replacement intervals · spares · warranties
Intermediate5 minutes
Vibration & Reliability
P-F interval
The time between the first sign of a fault and the failure. It sets how often to look.
Builds: inspection frequency · condition monitoring
Intermediate5 minutes
Vibration & Reliability
FMEA and the RPN
List how a machine can fail, then rank the failures. Severity comes first, not the product of three scores.
Builds: maintenance plans · criticality · spares
Intermediate5 minutes
Solar & Batteries
IV curve and maximum power point
A solar module has one voltage where it gives the most power.
Builds: MPPT · string design · fault finding
Intermediate5 minutes
Solar & Batteries
Peak sun hours
A whole day of sunshine written as hours of full sun.
Builds: sizing · yield estimates
Beginner5 minutes
Solar & Batteries
Performance ratio
What a solar plant produced, as a share of what the sunshine allowed.
Builds: plant audits · contracts
Intermediate5 minutes
Solar & Batteries
State of charge
How full a battery is, and why its voltage is a poor way to tell.
Builds: battery sizing · battery life
Beginner5 minutes
Mechanics of Materials
Stress and strain
Load divided by area, and stretch divided by length.
Builds: bolts · rods · cables
Beginner5 minutes
Mechanics of Materials
Factor of safety
How many times stronger a part is than it needs to be.
Builds: every structural decision
Beginner5 minutes
Mechanics of Materials
Beam bending
Where a loaded beam bends, and where it breaks.
Builds: frames · brackets · shafts
Intermediate5 minutes
Mechanics of Materials
Torsion
What twisting does to a shaft, and why a hollow one wastes less metal.
Builds: drive shafts · couplings
Intermediate5 minutes
Mechanics of Materials
Mohr's circle
Turn the element, and the stresses move around a circle.
Builds: part strength · failure checks
Intermediate5 minutes
Mechanics of Materials
Thermal stress
What heat does to a part that is not free to grow.
Builds: pipes · rails · housings
Intermediate5 minutes
Mechanisms & Robots
Degrees of freedom
Count whether a mechanism moves, and how many motors it needs.
Builds: linkages · clamps · lifts
Beginner5 minutes
Mechanisms & Robots
Four-bar linkage
Four bars and four pins that turn one motion into another.
Builds: wipers · presses · suspensions
Intermediate5 minutes
Mechanisms & Robots
Cams and followers
Choose a motion, then cut the profile that produces it.
Builds: valve trains · packaging machines
Intermediate5 minutes
Mechanisms & Robots
Mechanical advantage
Trade distance for force. No mechanism gives both.
Builds: toggle clamps · jacks · levers
Beginner5 minutes
Mechanisms & Robots
Rotation matrices
Describe any orientation in space, and combine turns in the right order.
Builds: robot arms · gimbals · drones
Intermediate5 minutes
Mechanisms & Robots
Forward and inverse kinematics
From joint angles to where the hand is, and back again.
Builds: robot arms · pick and place
Intermediate5 minutes
CAD & Drawings
Limits and fits (ISO 286)
A short code such as 8 H7/g6 that says whether a pin slides, locates or must be pressed in.
Builds: pins · bearing seats · hinges
Beginner5 minutes
CAD & Drawings
GD&T basics (ISO 1101)
Tolerances for shape, direction and place, read from a row of boxes with datums.
Builds: hinges · flanges · pump and motor bases
Intermediate5 minutes
CAD & Drawings
Section views
Cut the part on a plane and draw what the cut shows, so a pin inside its holes can be seen.
Builds: assembly drawings · castings · pumps
Beginner5 minutes
Mathematics
Vectors and matrices
The arithmetic behind robots, graphics and machine learning.
Builds: transforms · solvers
Beginner5 minutes
Machine Learning
Gradient descent
How a model learns: one small step downhill at a time.
Builds: training · tuning
Beginner5 minutes
Machine Learning
Overfitting
A model that remembers its examples and fails on anything new.
Builds: model testing · anomaly detection
Beginner5 minutes
Machine Learning
TinyML inference
Run a trained model on a microcontroller, with no network.
Builds: keyword spotting · anomaly detection
Advanced5 minutes
Machine Learning
Quantization
Make a model small enough for a microcontroller.
Builds: on-device models
Advanced5 minutes
Thinking
Logical fallacies
Spot the argument that sounds right and is not.
Builds: design reviews · reports
Beginner5 minutes
Thinking
Estimation
Get within a factor of two in two minutes, before anyone opens a spreadsheet.
Builds: sanity checks · quotes · sizing
Beginner5 minutes
No concepts in this domain yet. It is on the way.
Signals and control
Vibration spectrum
Which fault is this machine telling you about?
new
→
PID tuning
Why does more gain make a loop swing instead of faster?
new
→
Cold room hold time
The power fails: how long until the stock is at risk?
new
→
Alarm tuning
How do you catch a real fault without an alarm at every opened door?
new
→
Circuits and sensors
Pumps and energy
Mechanisms
Toggle clamp
Why does a clamp stay shut with no hand on it?
new
→
Four-bar linkage
Will the crank turn all the way round, and how well does it push?
new
→
Crank and slider
Where is the piston fastest, and why not at 90°?
new
→
Scissor lift
How much force lifts the platform, and where is it largest?
new
→
Cam and follower
How smoothly does the follower rise and fall?
new
→
Strength of materials
Beam
Where does a beam bend most, and how far does it sag?
new
→
Mohr's circle
At what angle is the stress largest, and how large?
new
→
Bars in tension
How much does a bar stretch, and how is the load shared?
new
→
Shaft in torsion
How far does a shaft twist, and is it strong enough?
new
→
Pressure vessel
How thick must the wall be for this pressure?
new
→
Thermal stress
What happens when a bar that is held cannot grow as it heats?
new
→
Case files
Start here
Embedded Systems & Electronics
Analog Electronics Fundamentals
Op-amps, filters, power, and sensor signal conditioning.
9 lessons
→
Digital Electronics and Logic
Logic gates, flip-flops, memory, and MCU architecture.
9 lessons
→
FPGA and Digital Design with Verilog
Verilog, testbenches, state machines, and a small CPU on an FPGA.
9 lessons
→
Embedded Programming: ATmega328P
Bare-metal C on the AVR, no Arduino abstractions.
10 lessons
→
Embedded Programming: STM32
ARM Cortex-M from the ground up to production firmware.
9 lessons
→
Sensor and Actuator Interfacing (STM32)
ADC, I2C, SPI, UART, motors, and encoders on real hardware.
10 lessons
→
Embedded Programming: ESP32
Wi-Fi, BLE, MQTT, OTA, and a connected sensor network.
9 lessons
→
Embedded Programming: RPi Pico
RP2040 PIO, multicore, DMA, and Pico W wireless.
8 lessons
→
Embedded Rust with RP2040
Rust on the Pico: ownership, async tasks, sensors, and wireless.
9 lessons
→
RTOS Programming
Tasks, scheduling, queues, and timing you can trust.
8 lessons
→
Embedded Linux with RPi
Kernel builds, device trees, Yocto, and edge gateways.
9 lessons
→
PCB Design with KiCad
Schematic to fabrication-ready multi-layer boards.
10 lessons
→
IoT Systems
Sensor to cloud: MQTT, dashboards, alerts, and security.
8 lessons
→
Edge AI / TinyML
Train and run tiny models on microcontrollers, offline.
9 lessons
→
Mechanical Engineering & Design
Mechanics of Materials I and II
Stress, strain, torsion, bending, and failure analysis.
20 lessons
→
Planar Mechanics
2D linkages: position, velocity, acceleration, and force.
6 lessons
→
Spatial Mechanics
3D rotations, transforms, and DH parameters toward robotics.
8 lessons
→
Robotics
Forward and inverse kinematics, Jacobians, and trajectories.
6 lessons
→
Parametric Mechanical CAD (FreeCAD)
Nine mechanism projects, plus Python-scripted CAD.
11 lessons
→
Code-Based Mechanical Design
Programmatic CAD with CadQuery, from gears to FEA.
9 lessons
→
Mechanism Design and Simulation
Lab work on mechanism simulators: measure, analyse in Python, design.
5 lessons
→
Control, Measurement & Energy
Control Engineering
Feedback, process models, stability, PID tuning, and the code that runs the loop.
11 lessons
→
Instrumentation and Measurement
What a reading is worth: sensors, uncertainty, calibration, and noise.
10 lessons
→
Electrical Power, Machines and Energy Metering
Three phase power, motors, drives, power factor, and the bill.
10 lessons
→
Industrial Communication
Current loops, RS-485, Modbus, and getting plant data out intact.
10 lessons
→
Fluid Mechanics, Pumps and Piping
Head, friction, pump curves, the duty point, and the energy a pump uses.
10 lessons
→
Thermodynamics, Refrigeration and Heat Transfer
The refrigeration cycle, heat loads, and what a cold room should draw.
10 lessons
→
Engineering Statistics and Time Series
Distributions, baselines, control charts, and trends in sensor records.
10 lessons
→
Energy Economics and Measurement and Verification
Tariffs, life cycle cost, baselines, and proving a saving with its uncertainty.
10 lessons
→
Vibration and Condition Monitoring
Spectra, bearing frequencies, envelope analysis, trends, and alarm limits.
10 lessons
→
Reliability and Maintenance Engineering
Failure patterns, availability, Weibull, FMEA, and the cost of downtime.
10 lessons
→
Solar PV and Battery Systems
The module curve, shading, sizing, batteries, performance ratio, and an audit.
10 lessons
→
Mathematics, AI & Reasoning
Applied Mathematics
Calculus, linear algebra, Fourier, and control, through real problems.
9 lessons
→
Modeling and Simulation
Simulate circuits, dynamics, PID, and sensor fusion in Python.
9 lessons
→
ML/AI Fundamentals
From linear regression to neural networks from scratch.
9 lessons
→
Critical Thinking for Engineers
Biases, fallacies, statistics, and better decisions.
9 lessons
→
Philosophy of Science and Engineering
Falsifiability, paradigms, models, and engineering ethics.
9 lessons
→