

A stepper motor is a type of electric motor that divides a full rotation into a large number of discrete steps. This allows for precise control of angular position, speed, and acceleration without requiring feedback systems. Stepper motors are widely used in applications where accurate positioning is critical, such as 3D printers, CNC machines, robotics, and camera platforms.
Stepper Online is a leading manufacturer of high-quality stepper motors, offering reliable and efficient solutions for various industrial and hobbyist applications.








Below are the general technical specifications for a typical stepper motor from Stepper Online. Always refer to the datasheet of your specific model for exact details.
The pin configuration depends on whether the stepper motor is bipolar or unipolar. Below are the typical pinouts:
| Pin Number | Wire Color (Typical) | Description |
|---|---|---|
| 1 | Red | Coil A+ |
| 2 | Blue | Coil A- |
| 3 | Green | Coil B+ |
| 4 | Black | Coil B- |
| Pin Number | Wire Color (Typical) | Description |
|---|---|---|
| 1 | Red | Coil A+ |
| 2 | Blue | Coil A- |
| 3 | Green | Coil B+ |
| 4 | Black | Coil B- |
| 5 | Yellow | Common (Center Tap) |
Below is an example of how to control a bipolar stepper motor using an A4988 driver and Arduino UNO.
// Include the Stepper library
#include <Stepper.h>
// Define the number of steps per revolution for your motor
#define STEPS_PER_REV 200
// Initialize the Stepper library with the motor's step pin connections
Stepper stepper(STEPS_PER_REV, 8, 9, 10, 11);
void setup() {
// Set the motor speed (in RPM)
stepper.setSpeed(60); // 60 RPM
Serial.begin(9600);
Serial.println("Stepper Motor Test");
}
void loop() {
// Rotate the motor one full revolution clockwise
Serial.println("Rotating clockwise...");
stepper.step(STEPS_PER_REV);
delay(1000); // Wait for 1 second
// Rotate the motor one full revolution counterclockwise
Serial.println("Rotating counterclockwise...");
stepper.step(-STEPS_PER_REV);
delay(1000); // Wait for 1 second
}
Motor Not Moving:
Motor Vibrates but Doesn't Rotate:
Overheating:
Skipping Steps:
Q1: Can I run a stepper motor without a driver?
A1: No, a stepper motor requires a driver to control the current and step sequence. Directly connecting it to a power source will not work.
Q2: How do I determine the step angle of my motor?
A2: Check the motor's datasheet or divide 360° by the number of steps per revolution (e.g., 360° ÷ 200 = 1.8°).
Q3: Can I use a stepper motor for continuous rotation?
A3: Yes, stepper motors can rotate continuously, but they are primarily designed for precise positioning rather than high-speed rotation.
Q4: What is microstepping?
A4: Microstepping is a technique used by drivers to divide each full step into smaller steps, resulting in smoother motion and higher resolution.