Free course

Motors and motor drivers

Learn how DC motors, servos and stepper motors work, why they need a motor driver, and how to control all three from a Raspberry Pi Pico with MicroPython. Along the way you will build Scout, a two-wheeled drive base with a servo-mounted head that drives a square, spins on the spot and looks left and right.

  • beginner
  • 17 lessons
  • 1h 38m
  • 49 quiz questions

What you'll learn

  • Explain the difference between DC, servo and stepper motors and pick the right one for a job
  • Wire an L298N or DRV8833 motor driver to a Pico with a safe, separate motor supply and a common ground
  • Control motor speed and direction with PWM, including braking and soft starts
  • Position a hobby servo precisely using pulse widths and calibrate its real range
  • Step a 28BYJ-48 stepper motor through an exact number of degrees
  • Build and tune a complete two-wheel drive base that drives a square and spins on the spot

Lessons

What are you looking for?
Watch Videos Get Ideas Learn Something Read a Review Read the Blog Search
... Z Z z