Source: https://mokxi.com/teachers/plans/magnetism-and-inductors
Updated: 2026-11-19

Lesson plan

# Magnetism and inductors lesson plan

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.

7 chapters, 7 lessons, about 5 hours, no board. Every lesson runs in the browser, with nothing to install.

Start a class from this course

The unit

## Objectives and materials

### By the end, students can

- Current makes a field, and force goes with its square.
- A coil resists a change in current: L over R.
- The spike at switch-off and the diode that stops it.
- Linear and switching, both poles and one, and hysteresis.
- Blades in glass, closing and opening distances.
- Real coil actuators and what they draw.
- Sort parts by their magnets, then tune it.

### Materials for the whole unit

- Arduino Uno R3
- Bench power supply
- DC voltage source x 2
- Diode x 2
- Function generator
- Hall sensor, 49E linear
- Hall sensor, A3144
- Holding electromagnet, P20/15
- Inductor
- LED
- MOSFET x 2
- Multimeter
- Oscilloscope
- Reed switch
- Resistor x 2
- Slide switch
- Solenoid

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 50 min

## Fields and coils

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

Lesson | Time | What students do

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. | 50 min

- Run it: a magnet with a wire
- Ampere-turns
- The square law
- Steel saturates
- Turn the current around
- Design: hold 1 kg

### Materials

- DC voltage source
- Holding electromagnet, P20/15
- Multimeter

### Check for understanding

Each student finishes "Fields and coils" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Design: hold 1 kg".

Chapter 2. About 40 min

## Inductance

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

Lesson | Time | What students do

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. | 40 min

- Run it: too slow to follow
- The jump at every edge
- One tau
- Five tau
- A smaller coil keeps up

### Materials

- Function generator
- Inductor
- Oscilloscope
- Resistor

### Check for understanding

Each student finishes "Inductance" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "A smaller coil keeps up".

Chapter 3. About 40 min

## Back EMF and flyback

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

Lesson | Time | What students do

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. | 40 min

- Run it: not enough to pull
- Rated voltage: it pulls
- Cut the current
- Give the current a path
- Clamped

### Materials

- DC voltage source
- Diode
- MOSFET
- Oscilloscope
- Resistor x 2
- Slide switch
- Solenoid

### Check for understanding

Each student finishes "Back EMF and flyback" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Clamped".

Chapter 4. About 50 min

## Hall sensors

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

Lesson | Time | What students do

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. | 50 min

- Run it: no field, half the supply
- A south pole
- Turn the magnet around
- A switch, south only
- North does nothing
- Hysteresis

### Materials

- DC voltage source
- Hall sensor, 49E linear
- Hall sensor, A3144
- LED
- Multimeter
- Resistor

### Check for understanding

Each student finishes "Hall sensors" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Hysteresis".

Chapter 5. About 35 min

## Reed switches

Blades in glass, closing and opening distances.

Lesson | Time | What students do

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. | 35 min

- Run it: an open switch
- Close it
- It holds on further out
- Set the sensitivity

### Materials

- DC voltage source
- LED
- Reed switch
- Resistor

### Check for understanding

Each student finishes "Reed switches" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Set the sensitivity".

Chapter 6. About 35 min

## Solenoids and electromagnets

Real coil actuators and what they draw.

Lesson | Time | What students do

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. | 35 min

- Run it: unlock the door
- What it draws
- A 5 V holding magnet
- On a 3.3 V board

### Materials

- DC voltage source x 2
- Diode
- Holding electromagnet, P20/15
- MOSFET
- Resistor x 2
- Slide switch
- Solenoid

### Check for understanding

Each student finishes "Solenoids and electromagnets" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "On a 3.3 V board".

Chapter 7. About 50 min

## Boss build

Sort parts by their magnets, then tune it.

Lesson | Time | What students do

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. | 50 min

- Run it: the sorter wakes up
- A south part
- A north part
- A weak part
- Tune the threshold
- Count the parts

### Materials

- Arduino Uno R3
- Bench power supply
- Diode x 2
- Hall sensor, 49E linear
- Hall sensor, A3144
- Holding electromagnet, P20/15
- MOSFET x 2
- Reed switch
- Solenoid

### Check for understanding

Each student finishes "Boss: a magnetic sorter" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Count the parts".

Your class

## Teach this unit as a class

Start a class from this course and its 7 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.

Start a class from this course See the demo class

More units

## Other lesson plans

Electronics basics 20 lessons, about 10 h. Embedded on the Arduino Uno 16 lessons, about 12 h. Embedded on the ESP32-C3 13 lessons, about 11 h. Embedded on the Raspberry Pi Pico 7 lessons, about 6 h. Build your own fight stick 5 lessons, about 4 h. Embedded on the STM32F411 6 lessons, about 6 h. C++ on a board 13 lessons, about 10 h. Digital logic and memory 4 lessons, about 4 h. Interactive devices on the Uno 9 lessons, about 8 h. From gates to a computer 23 lessons, about 16 h. Build a claw machine 8 lessons, about 6 h. Every unit All the courses as ready-made units, on the teachers page.
