hi!
wennst die AccelStepper Lib am Uno verwendest, treibst mit dem Polulu DRV8825 und einem ELKo schon einen bipolaren Stepper - grad selber ausprobiert:
#include <AccelStepper.h>
AccelStepper stepper(AccelStepper::DRIVER,2,3); // pin 2 connected to STEP, pin 3 connected to DIR
//--------------------------------------------------------
void setup() {
Serial.begin(9600); // set up Serial library at 9600 bps
pinMode(6,OUTPUT);
pinMode(7,OUTPUT); //connected to M0 and M2 of the drv 8825 - sets microstepping
digitalWrite(6,HIGH);
digitalWrite(7,HIGH); // LL = full, HL = half, LH = 1/16, HH = 1/32
stepper.setMaxSpeed(30000); // 30000 microsteps/s
stepper.setAcceleration(10000); // 10000 microsteps/s²
stepper.moveTo(100000); // # steps
}
//---------------------------------------------------------
void loop() {
stepper.run();
}