Lesson plan

Brushless motors and ESCs lesson plan

How a brushless motor spins and how fast, the pulse an ESC reads, arming and calibration, throttle curves, a kill switch and LiPo safety, and a thrust stand with a load cell and a current sensor.

4 chapters, 7 lessons, about 6 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

The unit

Objectives and materials

By the end, students can

  • Commutation, Kv times volts, packs and motors, and a sketch whose model has to match.
  • The servo-style pulse, two locks before a motor spins, signal loss and endpoint calibration.
  • Ramps and expo curves, a kill button, a low-voltage cutoff and what a LiPo’s voltage means.
  • A calibrated thrust stand: the hover point, grams per watt and a full throttle sweep.

Materials for the whole unit

  • Arduino Uno R3
  • Battery: AA, coin cell, LiPo
  • Brushless motor and 30 A ESC
  • Current monitor, INA219
  • Load cell with HX711
  • Pushbutton
  • Resistor
  • Thumb stick

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 1 h 40 min

Inside a brushless motor

Commutation, Kv times volts, packs and motors, and a sketch whose model has to match.

LessonTimeWhat students do
How a brushless motor spinsAn A2212 outrunner on a 30 A ESC and a 3S LiPo, from the gallery. Arm it, open the throttle with a stick, and predict its speed from Kv and the pack’s volts, then change the pack and the motor.50 min
  1. Run it
  2. Full throttle
  3. Half throttle
  4. A smaller pack
  5. A hotter motor
Kv, volts and propsThe thrust stand: set throttle by percent, predict the no-load rpm from Kv x volts x throttle, read what the pack sags to, and fix a sketch whose motor model no longer matches the motor.50 min
  1. Run it
  2. Half throttle, predicted
  3. Full throttle
  4. A different motor
  5. Fix the model

Materials

  • Arduino Uno R3
  • Battery: AA, coin cell, LiPo
  • Brushless motor and 30 A ESC
  • Current monitor, INA219
  • Load cell with HX711
  • Pushbutton
  • Resistor
  • Thumb stick

Check for understanding

Each student finishes "Kv, volts and props" 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: "Fix the model".

Chapter 2. About 1 h 30 min

Talking to an ESC

The servo-style pulse, two locks before a motor spins, signal loss and endpoint calibration.

LessonTimeWhat students do
ESC signalsAn ESC reads the same pulse a servo does: 1000 to 2000 microseconds, 50 times a second. Count the pulses, find the sketch’s software arm, and work out every width from a percentage.50 min
  1. Run it
  2. Fifty a second
  3. A software arm
  4. Percent to microseconds
  5. Check it on the motor
Arming and calibrationWhat an ESC does from power-up: start-up tones, waiting for low throttle, arming. Then lose the signal on purpose, meet an ESC whose endpoints are not the sketch’s, and calibrate the sketch to match.40 min
  1. The arming sequence
  2. Lose the signal
  3. Different endpoints
  4. Calibrate the sketch

Materials

  • Arduino Uno R3
  • Battery: AA, coin cell, LiPo
  • Brushless motor and 30 A ESC
  • Current monitor, INA219
  • Load cell with HX711
  • Pushbutton
  • Resistor

Check for understanding

Each student finishes "Arming and calibration" 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: "Calibrate the sketch".

Chapter 3. About 1 h 40 min

Control and safety

Ramps and expo curves, a kill button, a low-voltage cutoff and what a LiPo’s voltage means.

LessonTimeWhat students do
Throttle curves and rampsA ramp that limits how fast the throttle moves, the motor’s own lag, and an expo curve that gives fine control at the bottom of the stick. Predict each pulse and change the curve.40 min
  1. Run it
  2. The motor lags too
  3. Why a curve
  4. Add expo
Safety: kill switch and LiPoA kill button that cuts and disarms, a low-voltage cutoff that protects the pack, and what a LiPo’s cell voltage says: full, storage, in use or empty. Props off for every test.60 min
  1. The kill button
  2. Disarmed means disarmed
  3. Read the pack
  4. Full is not storage
  5. The cutoff
  6. A safer cutoff

Materials

  • Arduino Uno R3
  • Battery: AA, coin cell, LiPo
  • Brushless motor and 30 A ESC
  • Current monitor, INA219
  • Load cell with HX711
  • Pushbutton
  • Resistor

Check for understanding

Each student finishes "Safety: kill switch and LiPo" 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: "A safer cutoff".

Chapter 4. About 1 h

Boss build

A calibrated thrust stand: the hover point, grams per watt and a full throttle sweep.

LessonTimeWhat students do
Boss: a thrust standTare and calibrate the load cell with a known weight, measure the hover point in grams, amps and grams per watt, then sweep the throttle and record a thrust curve, the way motor makers test.60 min
  1. Tare
  2. Calibrate with a known weight
  3. The hover point
  4. Sweep the throttle
  5. Read the table
  6. Make it yours

Materials

  • Arduino Uno R3
  • Battery: AA, coin cell, LiPo
  • Brushless motor and 30 A ESC
  • Current monitor, INA219
  • Load cell with HX711
  • Pushbutton
  • Resistor

Check for understanding

Each student finishes "Boss: a thrust stand" 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: "Make it yours".

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.