I'm using arduino and a TB6600 driver. I've tested the code on two different stepper motors of different sizes. A third stepper I tried turns but makes a loud chattering sound. Does this mean the stepper motor is bad? I rechecked the coil connections and they are correct.
We can't tell which steppers you have, you need to tell us... And each stepper will have its own
current rating which you should not be exceeding. The driver has to be programmed to provide
the current needed for each motor.
Some stepper have particular coil arrangements too and it maybe the step sequence for your motor is wrong for that configuration ( a common problem with car instrument stepper motors used with Arduino) .