L298N Dual H-Bridge Driver
Drive 2 DC motors or 1 stepper — up to 2A per channel
IoT Kits
In StockMTR-A4988 · Stock: 175
Allegro A4988 bipolar stepper motor driver with adjustable current limiting and overcurrent protection. Supports full, half, quarter, eighth, and sixteenth microstepping modes.
3 clicks: Buy Now → Checkout → Place Order
Microstepping stepper driver — up to 1/16 step
High-res visual shown left · QA bench-tested before dispatch.
| Operating Voltage | 8-35V |
|---|---|
| Logic Voltage | 3-5.5V |
| Max Current | 2A (with heatsink) |
| Microstepping | 1, 1/2, 1/4, 1/8, 1/16 |
| Protection | Thermal shutdown, OCP |
| Dimensions | 20 × 15 mm |
| Weight | 3g |
Wiring guide: power rails first (VCC/GND), then bus (I2C/SPI), then interrupt/PWM lines.
#define STEP 3
#define DIR 4
void setup() {
pinMode(STEP, OUTPUT);
pinMode(DIR, OUTPUT);
digitalWrite(DIR, HIGH);
}
void loop() {
for (int i = 0; i < 200; i++) {
digitalWrite(STEP, HIGH);
delayMicroseconds(800);
digitalWrite(STEP, LOW);
delayMicroseconds(800);
}
delay(1000);
}
from machine import Pin
import time
step = Pin(3, Pin.OUT)
dir_pin = Pin(4, Pin.OUT)
dir_pin.high()
for _ in range(200):
step.high()
time.sleep_us(800)
step.low()
time.sleep_us(800)
#define STEP 3
#define DIR 4
void setup() {
pinMode(STEP, OUTPUT);
pinMode(DIR, OUTPUT);
digitalWrite(DIR, HIGH);
}
void loop() {
for (int i = 0; i < 200; i++) {
digitalWrite(STEP, HIGH);
delayMicroseconds(800);
digitalWrite(STEP, LOW);
delayMicroseconds(800);
}
delay(1000);
}
Technical datasheet for MTR-A4988.
Real maker feedback for A4988 Stepper Driver.
Share a wiring tip, build note, or bench-test result to help the next maker.