|
|
@ -421,10 +421,10 @@
|
|
|
|
//#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
|
|
|
//#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
|
|
|
//#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 } // Default drive percent - X, Y, Z, E axis
|
|
|
|
//#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 } // Default drive percent - X, Y, Z, E axis
|
|
|
|
|
|
|
|
|
|
|
|
/* 5DPRINT & AZTEEG_X3_PRO */
|
|
|
|
// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
|
|
|
|
//#define DIGIPOT_I2C // uncomment to enable
|
|
|
|
//#define DIGIPOT_I2C
|
|
|
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8
|
|
|
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8
|
|
|
|
/* actual motor currents in Amps, need as many here as DIGIPOT_I2C_NUM_CHANNELS */
|
|
|
|
// Actual motor currents in Amps, need as many here as DIGIPOT_I2C_NUM_CHANNELS
|
|
|
|
#define DIGIPOT_I2C_MOTOR_CURRENTS {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0} // AZTEEG_X3_PRO
|
|
|
|
#define DIGIPOT_I2C_MOTOR_CURRENTS {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0} // AZTEEG_X3_PRO
|
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
//===========================================================================
|
|
|
@ -650,6 +650,11 @@
|
|
|
|
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
|
|
|
|
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
|
|
|
|
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
|
|
|
|
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
|
|
|
|
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
|
|
|
|
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
|
|
|
|
|
|
|
|
#elif ENABLED(AUTO_BED_LEVELING_UBL)
|
|
|
|
|
|
|
|
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
|
|
|
|
|
|
|
|
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
|
|
|
|
|
|
|
|
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
|
|
|
|
|
|
|
|
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// @section extras
|
|
|
|
// @section extras
|
|
|
@ -804,6 +809,7 @@
|
|
|
|
//#define E1_IS_TMC
|
|
|
|
//#define E1_IS_TMC
|
|
|
|
//#define E2_IS_TMC
|
|
|
|
//#define E2_IS_TMC
|
|
|
|
//#define E3_IS_TMC
|
|
|
|
//#define E3_IS_TMC
|
|
|
|
|
|
|
|
//#define E4_IS_TMC
|
|
|
|
|
|
|
|
|
|
|
|
#define X_MAX_CURRENT 1000 // in mA
|
|
|
|
#define X_MAX_CURRENT 1000 // in mA
|
|
|
|
#define X_SENSE_RESISTOR 91 // in mOhms
|
|
|
|
#define X_SENSE_RESISTOR 91 // in mOhms
|
|
|
@ -845,6 +851,10 @@
|
|
|
|
#define E3_SENSE_RESISTOR 91
|
|
|
|
#define E3_SENSE_RESISTOR 91
|
|
|
|
#define E3_MICROSTEPS 16
|
|
|
|
#define E3_MICROSTEPS 16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define E4_MAX_CURRENT 1000
|
|
|
|
|
|
|
|
#define E4_SENSE_RESISTOR 91
|
|
|
|
|
|
|
|
#define E4_MICROSTEPS 16
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// @section TMC2130
|
|
|
|
// @section TMC2130
|
|
|
@ -886,6 +896,7 @@
|
|
|
|
//#define E1_IS_TMC2130
|
|
|
|
//#define E1_IS_TMC2130
|
|
|
|
//#define E2_IS_TMC2130
|
|
|
|
//#define E2_IS_TMC2130
|
|
|
|
//#define E3_IS_TMC2130
|
|
|
|
//#define E3_IS_TMC2130
|
|
|
|
|
|
|
|
//#define E4_IS_TMC2130
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Stepper driver settings
|
|
|
|
* Stepper driver settings
|
|
|
@ -971,6 +982,7 @@
|
|
|
|
//#define E1_IS_L6470
|
|
|
|
//#define E1_IS_L6470
|
|
|
|
//#define E2_IS_L6470
|
|
|
|
//#define E2_IS_L6470
|
|
|
|
//#define E3_IS_L6470
|
|
|
|
//#define E3_IS_L6470
|
|
|
|
|
|
|
|
//#define E4_IS_L6470
|
|
|
|
|
|
|
|
|
|
|
|
#define X_MICROSTEPS 16 // number of microsteps
|
|
|
|
#define X_MICROSTEPS 16 // number of microsteps
|
|
|
|
#define X_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
|
|
|
#define X_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
|
|
@ -1022,6 +1034,11 @@
|
|
|
|
#define E3_OVERCURRENT 2000
|
|
|
|
#define E3_OVERCURRENT 2000
|
|
|
|
#define E3_STALLCURRENT 1500
|
|
|
|
#define E3_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define E4_MICROSTEPS 16
|
|
|
|
|
|
|
|
#define E4_K_VAL 50
|
|
|
|
|
|
|
|
#define E4_OVERCURRENT 2000
|
|
|
|
|
|
|
|
#define E4_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|