I need help

Hello everyone, I am here new and I want help with the software I am using ramps 1.4 adreno mega 2560 with driver A4988 , so I want to know How to configure Marlin for dual Z and dual X axis , with dual Z Dual Endstops and make it home/up, and x Dual Endstops , but I want to know if what I have done is correct in terms of changes.

change drv8825 to a4988 …Configuration…
#define X_DRIVER_TYPE A4988
#define Y_DRIVER_TYPE A4988
#define Z_DRIVER_TYPE A4988
#define X2_DRIVER_TYPE A4988
#define Z2_DRIVER_TYPE A4988
#define E0_DRIVER_TYPE A4988
#define E1_DRIVER_TYPE A4988

And for that I changed from 1/32 to 1/16 …Configuration…
#define DEFAULT_AXIS_STEPS_PER_UNIT { 100, 100, 400, 100 }

And also those orders from 32 to 16 like this …Configuration_adv…
#if HAS_DRIVER(TMC26X)
#if AXIS_DRIVER_TYPE_X(TMC26X)
#define X_MAX_CURRENT 1000 // (mA)
#define X_SENSE_RESISTOR 91 // (mOhms)
#define X_MICROSTEPS 16
#endif
#if AXIS_DRIVER_TYPE_X2(TMC26X)
#define X2_MAX_CURRENT 1000
#define X2_SENSE_RESISTOR 91
#define X2_MICROSTEPS 16
#endif
#if AXIS_DRIVER_TYPE_Y(TMC26X)
#define Y_MAX_CURRENT 1000
#define Y_SENSE_RESISTOR 91
#define Y_MICROSTEPS 16
#endif
#if AXIS_DRIVER_TYPE_Y2(TMC26X)
#define Y2_MAX_CURRENT 1000
#define Y2_SENSE_RESISTOR 91
#define Y2_MICROSTEPS 16
#endif
…and more …

FOR Dual Endstops and make it home/up …Configuration…
#define X_MIN_ENDSTOP_INVERTING false
#define Y_MIN_ENDSTOP_INVERTING false
#define Z_MIN_ENDSTOP_INVERTING true
#define X_MAX_ENDSTOP_INVERTING false
#define Y_MAX_ENDSTOP_INVERTING false
#define Z_MAX_ENDSTOP_INVERTING true
#define Z_MIN_PROBE_ENDSTOP_INVERTING true

Also, some orders I do not mention.

wdqwdCapture

![Casdsdpture|424x500]

I don’t own a LowRider, but I’ve spent time comparing and contrasting the various versions of the Marlin firmware that are maintained by V1. Most of your changes look right. The A4988 is not a TMC driver, so the whole section where you redefine microsteps from 32 to 16 is not needed/wanted. For the A4988, the microstepping will be set by jumpers. On the RAMPS 1.4 board, the jumper pins will be under where each driver plugs in. You will want to jumper all three pairs of pins for each driver. You also have to set the current by hand for these drivers.

If it were me, I’d run a comparison program between the versions to see if there are any settings beyond the one you list that are needed. I’d compare the configuration.h and configuration_Adv.h in these two versions maintained by V1:

  • V1CNC_Skr1p3_DualLR_8825-2.0.7.2-src.zip
  • V1CNC_Ramps_Dual-2.0.7.2-src.zip

I currently use a utility called Meld for my comparisons, though there are a lot of ‘diff’ tools available for free.

Thank you. The program helped me. I returned the commands as they were, but kept some commands like

I know about the jumper pins

But I am weak in gcode so I want a helper in programming

The V1CNC_Ramps_DualLR is close to what you need. It has dual Y, not dual X. It uses drv8825, but they are pin compatible, so it needs the steps/mm changed and you can change the driver type too. I think that is one if the new versions we haven’t released, so they are only in the actions, ATM.

1 Like

Thank you, my problem has been solved and some things I didn’t understand