Arduino Forum

Using Arduino => Motors, Mechanics, Power and CNC => Topic started by: Verena___ on Sep 23, 2019, 05:06 am

Title: control 103H548-0440 stepper motor with DRV8825
Post by: Verena___ on Sep 23, 2019, 05:06 am
Hi everyone,

my problem: I use the steppermotor 103H548-0440 (6 wires - white and black n.c) and want to control it with DRV8825 and Arduino UNO.

datasheet stepper motor:


VMOT: Power supply (8.2V|1.2A)
GND: GND Power supply
FLT: n.c
GND: GND Arduino UNO

RST:5V Arduino
SLP:5V Arduino
STEP:Pin 3 Arduino
DIR: Pin 2 Arduino

I set the current limit to 0.84V (use the driver in full-step mode).

(--> 140% = 1.68A  & 1.68A = Vref * 2)

The motor seems do work like the program but does not move. I can only hear the sound/vibration but no movement:(

Hope there is someone who can help me!

Thanks in advance

Code: [Select]
// Include the AccelStepper library:
#include <AccelStepper.h>

// Define stepper motor connections and motor interface type.
// Motor interface type must be set to 1 when using a driver: Stepper driver, 2 driver pins required
#define dirPin 2
#define stepPin 3
#define motorInterfaceType 1

// Create a new instance of the AccelStepper class:
AccelStepper stepper = AccelStepper(motorInterfaceType, stepPin, dirPin);

void setup() {
  // Set the maximum speed in steps per second:

void loop() {
  // Set the speed in steps per second:
  // Step the motor with a constant speed as set by setSpeed():
Title: Re: control 103H548-0440 stepper motor with DRV8825
Post by: Robin2 on Sep 23, 2019, 09:12 am
Start your testing with one of the programs in this Simple Stepper Code (

Use your multimeter to identify which wires belong to each of the two motor coils. The Pololu DRV8825 webpage has a good connection diagram and lots of other info. If there are 6 wires two of them will go to the centres of the two coils. Leave the centre wires unconnected and use the other 4 wires.

Stepper Motor Basics (