mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-08 07:27:44 -06:00
USE_PROBE_FOR_Z_HOMING, I2C DIGIPOTS
This commit is contained in:
parent
b86052405d
commit
d61bea4e27
312 changed files with 3478 additions and 2418 deletions
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -606,7 +606,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -926,9 +926,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -939,16 +950,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -831,12 +831,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1342,7 +1345,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1336,7 +1339,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1336,7 +1339,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -844,12 +844,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1353,7 +1356,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 4 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 4 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -885,12 +885,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1412,7 +1415,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 4, 4, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 4, 4, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -929,9 +929,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -942,16 +953,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -885,12 +885,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1411,7 +1414,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 4, 4, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 4, 4, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -835,12 +835,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1346,7 +1349,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -865,12 +865,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1434,7 +1437,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -837,12 +837,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1361,7 +1364,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -835,12 +835,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1346,7 +1349,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1333,7 +1336,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -836,12 +836,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1347,7 +1350,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -834,12 +834,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1345,7 +1348,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -825,12 +825,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1336,7 +1339,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -611,7 +611,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -932,9 +932,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -945,16 +956,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -807,12 +807,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1318,7 +1321,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -829,12 +829,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1340,7 +1343,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -812,12 +812,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1323,7 +1326,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -825,12 +825,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1336,7 +1339,6 @@
|
||||||
*/
|
*/
|
||||||
#define Z_PROBE_END_SCRIPT "G27 P0"
|
#define Z_PROBE_END_SCRIPT "G27 P0"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 1 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 1 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -936,9 +936,20 @@
|
||||||
|
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -949,16 +960,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -812,12 +812,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1323,7 +1326,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -807,12 +807,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1318,7 +1321,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 0, 0, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 0, 0, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -923,9 +923,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -936,16 +947,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -816,12 +816,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1327,7 +1330,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -817,12 +817,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1328,7 +1331,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -823,12 +823,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1334,7 +1337,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -927,9 +927,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -940,16 +951,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -927,9 +927,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -940,16 +951,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -927,9 +927,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -940,16 +951,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -834,12 +834,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1345,7 +1348,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1336,7 +1339,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -825,12 +825,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1338,7 +1341,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -843,12 +843,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1354,7 +1357,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -828,12 +828,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1339,7 +1342,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -828,12 +828,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1339,7 +1342,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -834,12 +834,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1345,7 +1348,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -828,12 +828,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1339,7 +1342,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 1 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 1 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -828,12 +828,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1339,7 +1342,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -834,12 +834,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1345,7 +1348,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -828,12 +828,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1333,7 +1336,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -828,12 +828,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1339,7 +1342,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1335,7 +1338,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -824,12 +824,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1333,7 +1336,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 4, 4, 4 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 4, 4, 4 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 4, 4, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 4, 4, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -834,12 +834,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1345,7 +1348,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -829,12 +829,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1340,7 +1343,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -829,12 +829,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1340,7 +1343,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
|
@ -829,12 +829,15 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
* Enable this option for a probe connected to the Z-MIN pin.
|
||||||
*
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||||
* Enable this option for a probe connected to the Z Min endstop pin.
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||||
*/
|
*/
|
||||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
|
||||||
|
// Force the use of the probe for Z-axis homing
|
||||||
|
//#define USE_PROBE_FOR_Z_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Z_MIN_PROBE_PIN
|
* Z_MIN_PROBE_PIN
|
||||||
*
|
*
|
||||||
|
@ -1340,7 +1343,6 @@
|
||||||
*/
|
*/
|
||||||
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
|
||||||
// The center of the bed is at (X=0, Y=0)
|
// The center of the bed is at (X=0, Y=0)
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
* the position of the toolhead relative to the workspace.
|
* the position of the toolhead relative to the workspace.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define SENSORLESS_BACKOFF_MM { 2, 2 } SENSORLESS_BACKOFF_MM
|
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
|
||||||
|
|
||||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||||
|
@ -928,9 +928,20 @@
|
||||||
//#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
|
||||||
|
|
||||||
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
|
/**
|
||||||
//#define DIGIPOT_I2C
|
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
|
||||||
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
|
*/
|
||||||
|
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
|
||||||
|
//#define DIGIPOT_MCP4451
|
||||||
|
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
|
||||||
|
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
||||||
|
|
||||||
|
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
||||||
|
// These correspond to the physical drivers, so be mindful if the order is changed.
|
||||||
|
#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_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common slave addresses:
|
* Common slave addresses:
|
||||||
*
|
*
|
||||||
|
@ -941,16 +952,10 @@
|
||||||
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
|
||||||
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
|
||||||
*/
|
*/
|
||||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
|
||||||
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
|
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
|
|
||||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
|
|
||||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
||||||
// These correspond to the physical drivers, so be mindful if the order is changed.
|
|
||||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//=============================Additional Features===========================
|
//=============================Additional Features===========================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue