Source: https://mokxi.com/learn/path/magnetism-and-inductors
Updated: 2026-11-20

All paths

# Magnetism and inductors

Coils as magnets and as inductors: force and the square law, L over R, the flyback spike and its diode, Hall sensors, reed switches, solenoids, and an Uno that sorts parts by their magnets.

Free 7 lessons 5 h 7 chapters 1,448 XP Electrical · Intermediate +150 XP

0 of 7 done

Start the course free Fields and coils Lesson plan for teachers

What you will build

## 0 projects, built step by step

7 lessons in 7 chapters, about 5 hours on a simulated breadboard. Free, in your browser, every step checked by the simulator.

The map

## Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

## Fields and coils

Current makes a field, and force goes with its square.

Open 236 XP

### Fields and coils

A coil is a magnet you can switch: force from current, the square law, a pole that flips with the current but still pulls, steel that saturates, and the least voltage that holds a load.

0 of 6 steps

Start What is in it

3 questions, graded as you go.

Chapter 2

## Inductance

A coil resists a change in current: L over R.

Locked 205 XP

### Inductance

A coil fights a change in its current: L / R as a time constant, the voltage jump at every edge, the current's climb in one tau and five, and a smaller coil that keeps up.

0 of 5 steps

3 questions, graded as you go.

Chapter 3

## Back EMF and flyback

The spike at switch-off and the diode that stops it.

Locked 187 XP

### Back EMF and flyback

Switch a solenoid with a MOSFET: its pull-in current, the spike when the current is cut, and the flyback diode that gives the coil's current somewhere to go.

0 of 5 steps

3 questions, graded as you go.

Chapter 4

## Hall sensors

Linear and switching, both poles and one, and hysteresis.

Locked 236 XP

### Hall sensors

A linear 49E that reads gauss and pole on a meter, an A3144 switch that sees only a south pole, and the hysteresis that keeps it from chattering.

0 of 6 steps

3 questions, graded as you go.

Chapter 5

## Reed switches

Blades in glass, closing and opening distances.

Locked 174 XP

### Reed switches

Two steel blades in glass that a magnet pulls shut: the closing distance, the wider opening distance, and how to set the sensitivity of a door sensor.

0 of 4 steps

3 questions, graded as you go.

Chapter 6

## Solenoids and electromagnets

Real coil actuators and what they draw.

Locked 174 XP

### Solenoids and electromagnets

A real 12 V door lock and a 5 V holding magnet: pull-in, the current a coil really draws, the square law on a 3.3 V supply, and why both need a transistor and a diode.

0 of 4 steps

3 questions, graded as you go.

Chapter 7

## Boss build

Sort parts by their magnets, then tune it.

Locked 236 XP

### Boss: a magnetic sorter

An Uno sorts parts by their magnets: a linear Hall sensor reads pole and strength, a Hall switch confirms, a reed counts, a solenoid kicks south parts and an electromagnet holds north ones. Then tune its threshold.

0 of 6 steps

3 questions, graded as you go.

Syllabus

## Every lesson in the course

All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

### Fields and coils

- Fields and coils A coil is a magnet you can switch: force from current, the square law, a pole that flips with the current but still pulls, steel that saturates, and the least voltage that holds a load.

Chapter 2

### Inductance

- Inductance A coil fights a change in its current: L / R as a time constant, the voltage jump at every edge, the current's climb in one tau and five, and a smaller coil that keeps up.

Chapter 3

### Back EMF and flyback

- Back EMF and flyback Switch a solenoid with a MOSFET: its pull-in current, the spike when the current is cut, and the flyback diode that gives the coil's current somewhere to go.

Chapter 4

### Hall sensors

- Hall sensors A linear 49E that reads gauss and pole on a meter, an A3144 switch that sees only a south pole, and the hysteresis that keeps it from chattering.

Chapter 5

### Reed switches

- Reed switches Two steel blades in glass that a magnet pulls shut: the closing distance, the wider opening distance, and how to set the sensitivity of a door sensor.

Chapter 6

### Solenoids and electromagnets

- Solenoids and electromagnets A real 12 V door lock and a 5 V holding magnet: pull-in, the current a coil really draws, the square law on a 3.3 V supply, and why both need a transistor and a diode.

Chapter 7

### Boss build

- Boss: a magnetic sorter An Uno sorts parts by their magnets: a linear Hall sensor reads pole and strength, a Hall switch confirms, a reed counts, a solenoid kicks south parts and an electromagnet holds north ones. Then tune its threshold.

Kits

## Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

### Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kit

Questions

## About Magnetism and inductors

Is Magnetism and inductors free?

Yes. All 7 lessons of Magnetism and inductors are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need any parts?

No. Every circuit is built on a simulated breadboard, and the simulator checks each step as you go. When you want to build it for real, the same parts and wiring work on a real bench.

How long does Magnetism and inductors take?

About 5 hours: 7 lessons in 7 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

Where do I start?

With "Fields and coils", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.
