By Kevin McAleer, 4 Minutes
Page last updated November 24, 2026

By the end of this lesson you will be able to recall the key ideas from the course and follow a debugging order when a motor misbehaves.
Well done! You started with a wheel that would not turn and finished with Scout, a drive base that drives a square, spins on the spot and looks around. Let’s recap what made that possible.
| Idea | The key takeaway |
|---|---|
| Three motors | DC for speed, servos for angle, steppers for exact steps |
| Drivers | GPIO pins carry signals, never motor current |
| Back-EMF | Coils kick back when switched off, so use flyback diodes |
| Power | Separate motor supply, shared ground, beware brownouts |
| H-bridge | Four switches give direction, brake and coast |
| PWM | Duty cycle sets speed, and the dead zone sets the minimum |
| Classes | Motor, DriveBase, Servo and Stepper keep code tidy |
| Servos | A 50 Hz pulse of roughly 0.5 to 2.4 ms sets the angle, so calibrate |
| Encoders | Count ticks with an IRQ to turn commands into measured distance |
The most useful habit from this course is the debugging order. When a motor misbehaves, check in this sequence:
flowchart TD
A["Motor misbehaves"] --> B{"Battery connected and charged?"}
B -->|"No"| B1["Fix the supply"]
B -->|"Yes"| C{"Grounds joined?"}
C -->|"No"| C1["Join them"]
C -->|"Yes"| D{"Enable pin or SLP correct?"}
D -->|"No"| D1["Fix the pin"]
D -->|"Yes"| E{"Speed above the dead zone?"}
E -->|"No"| E1["Raise the speed or deadzone"]
E -->|"Yes"| F["Look for a stall, heat or a short"]
You can also revisit Electronics basics and Learn MicroPython - The basics whenever you want to refresh the foundations.
Thanks for building along. Now go and put a wheel on something.
Quick quiz 1 of 3
A wheel will not move at low speed commands. What is the likely cause?
Quick quiz 2 of 3
Which motor would you choose to point a sensor at an exact angle?
Quick quiz 3 of 3
In the debugging order, what comes straight after checking the battery?
Comments