|
|
@ -234,6 +234,7 @@
|
|
|
|
* 60 : 100k Maker's Tool Works Kapton Bed Thermistor beta=3950
|
|
|
|
* 60 : 100k Maker's Tool Works Kapton Bed Thermistor beta=3950
|
|
|
|
* 66 : 4.7M High Temperature thermistor from Dyze Design
|
|
|
|
* 66 : 4.7M High Temperature thermistor from Dyze Design
|
|
|
|
* 70 : the 100K thermistor found in the bq Hephestos 2
|
|
|
|
* 70 : the 100K thermistor found in the bq Hephestos 2
|
|
|
|
|
|
|
|
* 75 : 100k Generic Silicon Heat Pad typically a NTC 100K MGB18-104F39050L32 thermistor
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* 1k ohm pullup tables - This is atypical, and requires changing out the 4.7k pullup for 1k.
|
|
|
|
* 1k ohm pullup tables - This is atypical, and requires changing out the 4.7k pullup for 1k.
|
|
|
|
* (but gives greater accuracy and more stable PID)
|
|
|
|
* (but gives greater accuracy and more stable PID)
|
|
|
@ -602,8 +603,7 @@
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
|
|
|
|
// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// For a servo-based Z probe, you must set up servo support below, including
|
|
|
|
// For a servo-based Z probe, just set Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES above.
|
|
|
|
// NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES.
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
|
|
|
|
// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
|
|
|
|
// - Use 5V for powered (usu. inductive) sensors.
|
|
|
|
// - Use 5V for powered (usu. inductive) sensors.
|
|
|
@ -740,35 +740,9 @@
|
|
|
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
|
|
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
//============================ Mesh Bed Leveling ============================
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#define MESH_BED_LEVELING // Enable mesh bed leveling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(MESH_BED_LEVELING)
|
|
|
|
|
|
|
|
#define MESH_INSET 10 // Mesh inset margin on print area
|
|
|
|
|
|
|
|
#define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited.
|
|
|
|
|
|
|
|
#define MESH_NUM_Y_POINTS 3
|
|
|
|
|
|
|
|
#define MANUAL_PROBE_Z_RANGE 4 // Z Range centered on Z_MIN_POS for LCD Z adjustment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#define MANUAL_BED_LEVELING // Add display menu option for bed leveling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(MANUAL_BED_LEVELING)
|
|
|
|
|
|
|
|
#define MBL_Z_STEP 0.025 // Step size while manually probing Z axis.
|
|
|
|
|
|
|
|
#endif // MANUAL_BED_LEVELING
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Gradually reduce leveling correction until a set height is reached,
|
|
|
|
|
|
|
|
// at which point movement will be level to the machine's XY plane.
|
|
|
|
|
|
|
|
// The height can be set with M420 Z<height>
|
|
|
|
|
|
|
|
#define ENABLE_LEVELING_FADE_HEIGHT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // MESH_BED_LEVELING
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
//===========================================================================
|
|
|
|
//============================ Auto Bed Leveling ============================
|
|
|
|
//=============================== Bed Leveling ==============================
|
|
|
|
//===========================================================================
|
|
|
|
//===========================================================================
|
|
|
|
// @section bedlevel
|
|
|
|
// @section bedlevel
|
|
|
|
|
|
|
|
|
|
|
@ -792,10 +766,22 @@
|
|
|
|
* Probe several points in a grid.
|
|
|
|
* Probe several points in a grid.
|
|
|
|
* You specify the rectangle and the density of sample points.
|
|
|
|
* You specify the rectangle and the density of sample points.
|
|
|
|
* The result is a mesh, best for large or uneven beds.
|
|
|
|
* The result is a mesh, best for large or uneven beds.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* - UBL Unified Bed Leveling
|
|
|
|
|
|
|
|
* A comprehensive bed leveling system that combines features and benefits from previous
|
|
|
|
|
|
|
|
* bed leveling system. The UBL Bed Leveling System also includes an integrated and easy to use
|
|
|
|
|
|
|
|
* Mesh Generation, Mesh Validation and Mesh Editing system.
|
|
|
|
|
|
|
|
* - Currently, the UBL Bed Leveling System is only checked out for Cartesian Printers. But with
|
|
|
|
|
|
|
|
* that said, it was primarily designed to handle poor quality Delta Printers. If you feel
|
|
|
|
|
|
|
|
* adventurous and have a Delta, please post an issue if something doesn't work correctly.
|
|
|
|
|
|
|
|
* Initially, you will need to reduce your declared bed size so you have a rectangular area to
|
|
|
|
|
|
|
|
* test on.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
//#define AUTO_BED_LEVELING_3POINT
|
|
|
|
//#define AUTO_BED_LEVELING_3POINT
|
|
|
|
//#define AUTO_BED_LEVELING_LINEAR
|
|
|
|
//#define AUTO_BED_LEVELING_LINEAR
|
|
|
|
//#define AUTO_BED_LEVELING_BILINEAR
|
|
|
|
//#define AUTO_BED_LEVELING_BILINEAR
|
|
|
|
|
|
|
|
//#define MESH_BED_LEVELING
|
|
|
|
|
|
|
|
//#define AUTO_BED_LEVELING_UBL
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Enable detailed logging of G28, G29, M48, etc.
|
|
|
|
* Enable detailed logging of G28, G29, M48, etc.
|
|
|
@ -804,6 +790,13 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
//#define DEBUG_LEVELING_FEATURE
|
|
|
|
//#define DEBUG_LEVELING_FEATURE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_BILINEAR) || ENABLED(AUTO_BED_LEVELING_UBL)
|
|
|
|
|
|
|
|
// Gradually reduce leveling correction until a set height is reached,
|
|
|
|
|
|
|
|
// at which point movement will be level to the machine's XY plane.
|
|
|
|
|
|
|
|
// The height can be set with M420 Z<height>
|
|
|
|
|
|
|
|
#define ENABLE_LEVELING_FADE_HEIGHT
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
|
|
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
|
|
|
|
|
|
|
|
|
|
|
// Set the number of grid points per dimension.
|
|
|
|
// Set the number of grid points per dimension.
|
|
|
@ -824,11 +817,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
|
|
|
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
|
|
|
|
|
|
|
|
|
|
|
// Gradually reduce leveling correction until a set height is reached,
|
|
|
|
|
|
|
|
// at which point movement will be level to the machine's XY plane.
|
|
|
|
|
|
|
|
// The height can be set with M420 Z<height>
|
|
|
|
|
|
|
|
#define ENABLE_LEVELING_FADE_HEIGHT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Experimental Subdivision of the grid by Catmull-Rom method.
|
|
|
|
// Experimental Subdivision of the grid by Catmull-Rom method.
|
|
|
|
// Synthesizes intermediate points to produce a more detailed mesh.
|
|
|
|
// Synthesizes intermediate points to produce a more detailed mesh.
|
|
|
@ -852,7 +840,42 @@
|
|
|
|
#define ABL_PROBE_PT_3_X 170
|
|
|
|
#define ABL_PROBE_PT_3_X 170
|
|
|
|
#define ABL_PROBE_PT_3_Y 20
|
|
|
|
#define ABL_PROBE_PT_3_Y 20
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#elif ENABLED(MESH_BED_LEVELING)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
//=================================== Mesh ==================================
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MANUAL_PROBE_Z_RANGE 4 // Z after Home, bed somewhere below but above 0.0.
|
|
|
|
|
|
|
|
#define MESH_INSET 10 // Mesh inset margin on print area
|
|
|
|
|
|
|
|
#define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited.
|
|
|
|
|
|
|
|
#define MESH_NUM_Y_POINTS 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest at origin [0,0,0]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#define MANUAL_BED_LEVELING // Add display menu option for bed leveling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(MANUAL_BED_LEVELING)
|
|
|
|
|
|
|
|
#define MBL_Z_STEP 0.025 // Step size while manually probing Z axis.
|
|
|
|
|
|
|
|
#endif // MANUAL_BED_LEVELING
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(AUTO_BED_LEVELING_UBL)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
//========================= Unified Bed Leveling ============================
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define UBL_MESH_INSET 1 // Mesh inset margin on print area
|
|
|
|
|
|
|
|
#define UBL_MESH_NUM_X_POINTS 10 // Don't use more than 15 points per axis, implementation limited.
|
|
|
|
|
|
|
|
#define UBL_MESH_NUM_Y_POINTS 10
|
|
|
|
|
|
|
|
#define UBL_PROBE_PT_1_X 39 // These set the probe locations for when UBL does a 3-Point leveling
|
|
|
|
|
|
|
|
#define UBL_PROBE_PT_1_Y 180 // of the mesh.
|
|
|
|
|
|
|
|
#define UBL_PROBE_PT_2_X 39
|
|
|
|
|
|
|
|
#define UBL_PROBE_PT_2_Y 20
|
|
|
|
|
|
|
|
#define UBL_PROBE_PT_3_X 180
|
|
|
|
|
|
|
|
#define UBL_PROBE_PT_3_Y 20
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // BED_LEVELING
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Commands to execute at the end of G29 probing.
|
|
|
|
* Commands to execute at the end of G29 probing.
|
|
|
@ -1434,7 +1457,7 @@
|
|
|
|
// leaving it undefined or defining as 0 will disable the servo subsystem
|
|
|
|
// leaving it undefined or defining as 0 will disable the servo subsystem
|
|
|
|
// If unsure, leave commented / disabled
|
|
|
|
// If unsure, leave commented / disabled
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#define NUM_SERVOS 0 // DGlass3D - Servo index starts with 0 for M280 command
|
|
|
|
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
|
|
|
|
|
|
|
|
|
|
|
|
// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
|
|
|
|
// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
|
|
|
|
// 300ms is a good value but you can try less delay.
|
|
|
|
// 300ms is a good value but you can try less delay.
|
|
|
|