Stepper Motors with Arduino - Controlling Bipolar & Unipolar stepper motors
Table of contents:
Stepper Motor Theory - 1:34
Bipolar vs Unipolar Steppers - 4:21
Common Stepper Specifications - 8:18
NEMA motor sizes - 11:32
28BYJ-48 Unipolar Stepper with ULN2003 - 13:41
NEMA 17 Bipolar with L298N - 28:16
NEMA 17 Bipolar with A4988 - 36:41
After examining how stepper motors work and what the difference is between a “Bipolar” and “Unipolar” stepper is included three methods of controlling a stepper motor from an Arduino:
1 - A common 28BYJ-48 Unipolar Stepper with a ULN2003 driver board. These inexpensive stepper and driver combinations are very common and are available on eBay, Amazon. Shows two different ways to use these with two different Arduino libraries.
2 - A NEMA 17 Bipolar stepper motor with an L298N dual H-Bridge driver board. The L298N driver board used to control a pair of brushed DC motors but it also makes a good driver for a bipolar stepper motor.
3 - The same NEMA 17 Bipolar stepper motor controlled by an A4988 stepper driver. This common driver board is used in many 3D printers and CNC machines and simplifies the control of one or several stepper motors with an Arduino.
It also discuss concepts like microstepping and I will show you how to understand some of the many parameters that are included on stepper motor specification sheets.
The code https://dbot.ws/stepper. You’ll find code listings and hookup diagrams and well as a convenient ZIP file containing all of the Arduino sketches.