Similar Posts

4 Comments

  1. Thank you, this really helped rule out different possible causes of problem. In my case, the problem turned out to be a mismatch between the order of the cables from the stepper motor and the order of the pins on the driver board I was using. The pairs didn’t match and this also resulted in a vibrating behavior with the code above.

  2. This helped me alot. My problem was the cable that came with my stepper motors with the color coding red/blue/green/black that did not fit in the driver if just plugged in. I had to switch blue and green (to fit 2B/2A/1A/1B on the driver). Checked the coils with a multimeter. This took me several hours to find out – forgot the basic rule – check all cables first.

Leave a Reply

Your email address will not be published. Required fields are marked *