// FREE MINI-COURSE · M
Motors & Drivers
Make Things Move — DC motors, drivers, servos and steppers: wire them right and control them from code.
4 of 5 lessons out · next: Stepper motor: move in exact steps
▶ Start lesson 1- 01
Why your motor needs a driverWhy a pin can't power a motor, and how an L298N driver sets direction (IN1/IN2) and speed (PWM on ENA).
EP.21 · 20 s - 02
How a DC motor worksHow a brushed DC motor spins: magnets + coil, current in a field gets pushed (F = B × I × L), the commutator flips the current every half turn, more volts = faster, swap + / − = reverse.
EP.29 · 20 s - 03
Servo motor: stop at an exact angleInside a servo (motor + gears + pot feedback), pulse width = angle, 3-wire hookup and servo.write() to 0°, 90°, 180°.
EP.33 · 20 s - 04
Two motors: a robot carOne L298N, two channels (A = left, B = right); same direction = straight, opposite = spin; every move = IN1–IN4 HIGH/LOW.
EP.70 · 24 s - 05 COMING NEXTStepper motor: move in exact stepsHow a stepper moves step by step and how to drive it with a driver board.
// NEWSLETTER · FREE
Get new lessons + early access to the full course
One email when new lessons drop. No spam, unsubscribe any time.
✓ You're on the list. Check your inbox to confirm.
By joining you agree to the privacy policy.