Test on steppers #13

Closed
opened 2026-07-08 20:37:41 +02:00 by osiu97 · 4 comments
Owner
No description provided.
osiu97 added the Kind/Testing
Priority
Medium
labels 2026-07-08 22:23:57 +02:00
Author
Owner

I believe the code itself is working.
The working driver was spinning only to one side but it looks like it's just a matter of inverting inner pin configuration like here (this was the test program I ran to test motors):

// Motor 1: connected to pins 5, 6, 7, 10
// IN1=5, IN2=6, IN3=7, IN4=10 -> mapped to 5, 7, 6, 10
AccelStepper stepper1(AccelStepper::HALF4WIRE, 5, 7, 6, 10);

// Motor 2: connected to pins 0, 1, 3, 4
// IN1=0, IN2=1, IN3=3, IN4=4 -> mapped to 0, 3, 1, 4
AccelStepper stepper2(AccelStepper::HALF4WIRE, 0, 3, 1, 4);

Also looks like one driver is just busted. Marked with X but have to verify because it might just be matter of reserved pins

I believe the code itself is working. The working driver was spinning only to one side but it looks like it's just a matter of inverting inner pin configuration like here (this was the test program I ran to test motors): // Motor 1: connected to pins 5, 6, 7, 10 // IN1=5, IN2=6, IN3=7, IN4=10 -> mapped to 5, 7, 6, 10 AccelStepper stepper1(AccelStepper::HALF4WIRE, 5, 7, 6, 10); // Motor 2: connected to pins 0, 1, 3, 4 // IN1=0, IN2=1, IN3=3, IN4=4 -> mapped to 0, 3, 1, 4 AccelStepper stepper2(AccelStepper::HALF4WIRE, 0, 3, 1, 4); Also looks like one driver is just busted. Marked with X but have to verify because it might just be matter of reserved pins
Author
Owner

First replace driver and retest with ULN-Stepper-test

First replace driver and retest with ULN-Stepper-test
osiu97 added
Priority
Critical
and removed
Priority
Medium
labels 2026-07-09 19:39:02 +02:00
Author
Owner

Motors must be at 9V for sensible speeds

Motors must be at 9V for sensible speeds
osiu97 referenced this issue from a commit 2026-07-10 18:40:44 +02:00
Author
Owner

Looks as well as it can without actually hooking up whole mechanism

Looks as well as it can without actually hooking up whole mechanism
Sign in to join this conversation.