Test on steppers #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
First replace driver and retest with ULN-Stepper-test
Motors must be at 9V for sensible speeds
Looks as well as it can without actually hooking up whole mechanism