Go Down

Topic: control 103H548-0440 stepper motor with DRV8825 (Read 194 times) previous topic - next topic


Sep 23, 2019, 05:06 am Last Edit: Sep 23, 2019, 07:25 am by Verena___
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: http://www.farnell.com/datasheets/28108.pdf?_ga=2.5152563.1858074395.1569207185-851021850.1566885068


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():


Sep 23, 2019, 09:12 am Last Edit: Sep 23, 2019, 09:13 am by Robin2
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
Two or three hours spent thinking and reading documentation solves most programming problems.

Go Up