|
@@ -286,6 +286,7 @@
|
286
|
286
|
|
287
|
287
|
#if ENABLED(Z_DUAL_ENDSTOPS)
|
288
|
288
|
#define Z2_USE_ENDSTOP _XMAX_
|
|
289
|
+ #define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine/test this value
|
289
|
290
|
#endif
|
290
|
291
|
|
291
|
292
|
#endif // Z_DUAL_STEPPER_DRIVERS
|
|
@@ -394,18 +395,36 @@
|
394
|
395
|
// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
|
395
|
396
|
#define MICROSTEP_MODES {16,16,16,16,16} // [1,2,4,8,16]
|
396
|
397
|
|
397
|
|
-// Motor Current setting (Only functional when motor driver current ref pins are connected to a digital trimpot on supported boards)
|
398
|
|
-#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
399
|
|
-
|
400
|
|
-// Motor Current controlled via PWM (Overridable on supported boards with PWM-driven motor driver current)
|
|
398
|
+/**
|
|
399
|
+ * @section stepper motor current
|
|
400
|
+ *
|
|
401
|
+ * Some boards have a means of setting the stepper motor current via firmware.
|
|
402
|
+ *
|
|
403
|
+ * The power on motor currents are set by:
|
|
404
|
+ * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
|
|
405
|
+ * known compatible chips: A4982
|
|
406
|
+ * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
|
|
407
|
+ * known compatible chips: AD5206
|
|
408
|
+ * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
|
|
409
|
+ * known compatible chips: MCP4728
|
|
410
|
+ * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, MIGHTYBOARD_REVE
|
|
411
|
+ * known compatible chips: MCP4451, MCP4018
|
|
412
|
+ *
|
|
413
|
+ * Motor currents can also be set by M907 - M910 and by the LCD.
|
|
414
|
+ * M907 - applies to all.
|
|
415
|
+ * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
|
|
416
|
+ * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
|
|
417
|
+ */
|
401
|
418
|
//#define PWM_MOTOR_CURRENT {1300, 1300, 1250} // Values in milliamps
|
|
419
|
+//#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
|
420
|
+//#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 } // Default drive percent - X, Y, Z, E axis
|
402
|
421
|
|
403
|
422
|
// Uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
|
404
|
423
|
//#define DIGIPOT_I2C
|
405
|
424
|
// Number of channels available for I2C digipot, For Azteeg X3 Pro we have 8
|
406
|
425
|
#define DIGIPOT_I2C_NUM_CHANNELS 8
|
407
|
426
|
// Actual motor currents in Amps, need as many here as DIGIPOT_I2C_NUM_CHANNELS
|
408
|
|
-#define DIGIPOT_I2C_MOTOR_CURRENTS {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}
|
|
427
|
+#define DIGIPOT_I2C_MOTOR_CURRENTS {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0} // AZTEEG_X3_PRO
|
409
|
428
|
|
410
|
429
|
//===========================================================================
|
411
|
430
|
//=============================Additional Features===========================
|
|
@@ -648,6 +667,7 @@
|
648
|
667
|
//#define BEZIER_CURVE_SUPPORT
|
649
|
668
|
|
650
|
669
|
// G38.2 and G38.3 Probe Target
|
|
670
|
+// ENABLE PROBE_DOUBLE_TOUCH if you want G38 to double touch
|
651
|
671
|
//#define G38_PROBE_TARGET
|
652
|
672
|
#if ENABLED(G38_PROBE_TARGET)
|
653
|
673
|
#define G38_MINIMUM_MOVE 0.0275 // minimum distance in mm that will produce a move (determined using the print statement in check_move)
|