New Build - Stuttering Steppers

This is my first MPCNC build and I am having an issue with the steppers stuttering. This is a test using Ryan’s crown gcode from https://www.v1engineering.com/estlcam-basics/

Setup is:

  • MKS Gen L v1.4
  • DRV8825 @ 32 microstep
  • 24V power supply
  • No endstops, X & Y steppers wired in series.

Software is Marlin-MPCNC_Ramps_T8_16T_LCD_32step (414 bugfix 2.0.x) with the board definition changed:
#define MOTHERBOARD BOARD_MKS_GEN_L

Everything on the controller seems to work fine:

  • LCD and interface work fine.
  • XYZ movement is good, directions are correct, steps/mm are correct, etc.

Things I’ve tried that have not resolved the issue:

  • Generated my own gcode.
  • Tried a 12V power supply.
  • Tried fast decay mode on the DRV8825’s.
  • Replaced DRV8825’s.
  • Changed the motherboard definition to Ramps in the firmware.
  • Tried 16 and 8 microstepping.

Any ideas would be most appreciated.

Boy, skipping steps without the belts on is pretty hard to do.

  1. Have you set the current on the drv8825s? They are not set properly out of the box. Too low and it will skip a lot. Too high and the drivers will go into thermal shutdown (in my experience, they shut down for longer than a few seconds, but who knows?)
  2. Are you sure your wiring is right? Try it with just a motor wired directly to the mks.

It is very odd to have skipped steps while it is just wiggling around without resistance.

If you have a multimeter, measuring the voltage at the power supply could give you a clue. If you’re using much more current than the supply can handle, it will dip a lot. Anything over about 9V should be fine for the steppers though.

Regarding 24V psu, does your mks support that? I know the ramps doesn’t. At least not stock.

I’m wondering if what I’m seeing isn’t skipped steps but rather an issue with Marlin. Is there somewhere I can get an older version of the MPCNC Marlin?

To answer your questions:

  1. vref is set to 0.7v (1.4A) which seemed pretty appropriate for these steppers.
  2. I re-connected just a single stepper to each driver and I’m seeing the same behavior.
  3. The MKS is rated for use at 24V although I wasn’t 100% sure about the drivers themselves. They haven’t burnt up yet so fingers crossed.
  4. I’m using a 5A power supply so I don’t think there is an issue there. I tried running just a single driver and stepper motor and it didn’t change anything. I also tried using a different 12V power supply and that does the same thing.

Solved. I neglected to follow the correct jumper placement:

Everything works as expected after removing this jumper.

3 Likes