

The Adafruit STSPIN220 Stepper Motor Driver Breakout Board (Manufacturer Part ID: 6353) is a compact and efficient stepper motor driver designed for precise control of stepper motors. It features adjustable current control, microstepping capabilities, and seamless integration with microcontrollers, making it ideal for a wide range of applications.








The Adafruit STSPIN220 is built for high performance and flexibility. Below are its key technical details:
| Parameter | Value |
|---|---|
| Operating Voltage (Vcc) | 3.0V to 10.0V |
| Motor Voltage (VM) | 1.8V to 10.0V |
| Maximum Motor Current | 1.3A RMS (1.8A peak) |
| Microstepping Modes | Full-step, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/128 |
| Logic Voltage | 3.3V or 5V compatible |
| Control Interface | Step/Direction pins |
| Dimensions | 20mm x 20mm x 4mm |
| Thermal Shutdown | Yes |
| Overcurrent Protection | Yes |
The breakout board has 10 pins, as described in the table below:
| Pin Name | Type | Description |
|---|---|---|
| VIN | Power Input | Main power supply for the motor (1.8V to 10.0V). |
| GND | Ground | Ground connection for the motor and logic circuits. |
| VCC | Power Input | Logic voltage supply (3.0V to 10.0V). |
| STEP | Input | Step signal input for controlling motor steps. |
| DIR | Input | Direction signal input to set motor rotation direction. |
| ENABLE | Input | Enable/disable the motor driver (active low). |
| MODE0 | Input | Microstepping mode selection (see datasheet for mode combinations). |
| MODE1 | Input | Microstepping mode selection (see datasheet for mode combinations). |
| MODE2 | Input | Microstepping mode selection (see datasheet for mode combinations). |
| FAULT | Output | Fault indicator pin (active low when a fault occurs, e.g., overcurrent). |
Power Connections:
VIN pin (1.8V to 10.0V).VCC pin (3.0V to 10.0V).GND) are connected.Control Signals:
STEP pin to send pulses for each motor step.DIR pin to set the motor's rotation direction (HIGH for one direction, LOW for the other).ENABLE pin LOW to activate the driver and HIGH to disable it.Microstepping Configuration:
MODE0, MODE1, and MODE2 pins to select the desired microstepping mode. Refer to the datasheet for the specific pin combinations.Motor Connections:
Fault Monitoring:
FAULT pin for any errors. If the pin goes LOW, check for issues such as overcurrent or thermal shutdown.Below is an example of how to control the STSPIN220 with an Arduino UNO:
// Define pin connections
#define STEP_PIN 3 // Connect to STEP pin on STSPIN220
#define DIR_PIN 4 // Connect to DIR pin on STSPIN220
#define ENABLE_PIN 5 // Connect to ENABLE pin on STSPIN220
void setup() {
// Set pin modes
pinMode(STEP_PIN, OUTPUT);
pinMode(DIR_PIN, OUTPUT);
pinMode(ENABLE_PIN, OUTPUT);
// Enable the motor driver
digitalWrite(ENABLE_PIN, LOW); // LOW to enable the driver
// Set initial direction
digitalWrite(DIR_PIN, HIGH); // HIGH for one direction, LOW for the other
}
void loop() {
// Generate step pulses
digitalWrite(STEP_PIN, HIGH); // Step pulse HIGH
delayMicroseconds(500); // Wait 500 microseconds
digitalWrite(STEP_PIN, LOW); // Step pulse LOW
delayMicroseconds(500); // Wait 500 microseconds
}
Motor Not Moving:
ENABLE pin is set to LOW.STEP and DIR signals are being sent correctly.Overheating:
FAULT Pin is LOW:
Motor Vibrates but Doesn't Rotate:
DIR signal and ensure it is set correctly.Q: Can I use a 12V power supply with this driver?
A: No, the maximum motor voltage (VIN) is 10.0V. Using a higher voltage may damage the driver.
Q: How do I set the microstepping mode?
A: Use the MODE0, MODE1, and MODE2 pins to configure the microstepping mode. Refer to the datasheet for the specific combinations.
Q: What happens if the motor draws more current than the limit?
A: The driver has built-in overcurrent protection and will shut down to prevent damage. Adjust the current limit to match your motor's specifications.
Q: Can I use this driver with a 5V logic microcontroller?
A: Yes, the STSPIN220 is compatible with both 3.3V and 5V logic levels.