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.

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.

LessonTimeWhat students do
Fields and coilsA 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
  1. Run it: a magnet with a wire
  2. Ampere-turns
  3. The square law
  4. Steel saturates
  5. Turn the current around
  6. 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.

LessonTimeWhat students do
InductanceA 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
  1. Run it: too slow to follow
  2. The jump at every edge
  3. One tau
  4. Five tau
  5. 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.

LessonTimeWhat students do
Back EMF and flybackSwitch 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
  1. Run it: not enough to pull
  2. Rated voltage: it pulls
  3. Cut the current
  4. Give the current a path
  5. 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.

LessonTimeWhat students do
Hall sensorsA 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
  1. Run it: no field, half the supply
  2. A south pole
  3. Turn the magnet around
  4. A switch, south only
  5. North does nothing
  6. 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.

LessonTimeWhat students do
Reed switchesTwo 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
  1. Run it: an open switch
  2. Close it
  3. It holds on further out
  4. 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.

LessonTimeWhat students do
Solenoids and electromagnetsA 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
  1. Run it: unlock the door
  2. What it draws
  3. A 5 V holding magnet
  4. 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.

LessonTimeWhat students do
Boss: a magnetic sorterAn 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
  1. Run it: the sorter wakes up
  2. A south part
  3. A north part
  4. A weak part
  5. Tune the threshold
  6. 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.