Welcome! Log In Create A New Profile

Advanced

Problems with stepper drivers

Posted by NBonev 
Problems with stepper drivers
January 11, 2019 02:27PM
I bought 4 pcs stepper drivers HY-DIV268N-5A.I've connected them to a controller MKS Gen v1.4 and I use the firmware Marlin 1.1.4.
I power them with 12V/360W power supplay.
I've printed a test cube.The end result is a diagonal slope of about 45 in the direction Xmax Ymax.
Where to search for the problem?
Re: Problems with stepper drivers
January 11, 2019 07:01PM
A picture would help.
Re: Problems with stepper drivers
January 11, 2019 07:03PM
If its approximately the right size but not square, this is normally your axis is not at 90 degrees from each other.
Re: Problems with stepper drivers
January 11, 2019 07:41PM
With other drivers (A4988,DRV8825, LV8729 and etc.), This problem is gone.
Attachments:
open | download - DSC_0294_1920x1080.jpg (296.3 KB)
Re: Problems with stepper drivers
January 11, 2019 09:01PM
I suspect you have the step line inverted on these drivers.

in Configuration_adv.h

find and change for the axis you have these drivers on

#define INVERT_X_STEP_PIN false
#define INVERT_Y_STEP_PIN false
#define INVERT_Z_STEP_PIN false
#define INVERT_E_STEP_PIN false

Edited 1 time(s). Last edit at 01/11/2019 09:03PM by Dust.
Re: Problems with stepper drivers
January 12, 2019 12:45PM
That was the first thing I did, but the problem remains.
The difference is that it tilts in the opposite direction.
Re: Problems with stepper drivers
January 13, 2019 05:58AM
have you read [www.scribd.com]

basically this driver is a piece of crap
Re: Problems with stepper drivers
January 13, 2019 04:36PM
I have read it, but the drivers I have are radically different from those described in the text.
Re: Problems with stepper drivers
January 13, 2019 05:19PM
But yet they seem to have the same issue. A simple X steps cw then X steps ccw ends up in a different location from the start. (As demonstrated by your lean)

I would try marlin 1.1.9 and set the driver as a TB6600, it has advanced timing features not in the older marlin... this is your last hope.

ie in Configuration_adv.h is

/**
 * Minimum delay after setting the stepper DIR (in ns)
 *     0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
 *    20 : Minimum for TMC2xxx drivers
 *   200 : Minimum for A4988 drivers
 *   500 : Minimum for LV8729 drivers (guess, no info in datasheet)
 *   650 : Minimum for DRV8825 drivers
 *  1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
 * 15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
 *
 * Override the default value based on the driver type set in Configuration.h.
 */
//#define MINIMUM_STEPPER_DIR_DELAY 650

/**
 * Minimum stepper driver pulse width (in µs)
 *   0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
 *   1 : Minimum for A4988 stepper drivers
 *   1 : Minimum for LV8729 stepper drivers
 *   2 : Minimum for DRV8825 stepper drivers
 *   3 : Minimum for TB6600 stepper drivers
 *  30 : Minimum for TB6560 stepper drivers
 *
 * Override the default value based on the driver type set in Configuration.h.
 */
//#define MINIMUM_STEPPER_PULSE 2

/**
 * Maximum stepping rate (in Hz) the stepper driver allows
 *  If undefined, defaults to 1MHz / (2 * MINIMUM_STEPPER_PULSE)
 *  500000 : Maximum for A4988 stepper driver
 *  400000 : Maximum for TMC2xxx stepper drivers
 *  250000 : Maximum for DRV8825 stepper driver
 *  150000 : Maximum for TB6600 stepper driver
 *  130000 : Maximum for LV8729 stepper driver
 *   15000 : Maximum for TB6560 stepper driver
 *
 * Override the default value based on the driver type set in Configuration.h.
 */
//#define MAXIMUM_STEPPER_RATE 250000

Sorry, only registered users may post in this forum.

Click here to login