|
|
|
@ -40,6 +40,17 @@
|
|
|
|
|
//=============================Thermal Settings ============================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Hephestos 2 24V heated bed upgrade kit.
|
|
|
|
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
|
|
|
|
//
|
|
|
|
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
|
|
|
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
|
|
|
|
#undef TEMP_SENSOR_BED
|
|
|
|
|
#define TEMP_SENSOR_BED 70
|
|
|
|
|
#define HEATER_BED_INVERTING true
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if DISABLED(PIDTEMPBED)
|
|
|
|
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
|
|
|
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
|
|
|
@ -640,6 +651,22 @@
|
|
|
|
|
// Swap the CW/CCW indicators in the graphics overlay
|
|
|
|
|
//#define OVERLAY_GFX_REVERSE
|
|
|
|
|
|
|
|
|
|
#if ENABLED(U8GLIB_ST7920)
|
|
|
|
|
/**
|
|
|
|
|
* ST7920-based LCDs can emulate a 16 x 4 character display using
|
|
|
|
|
* the ST7920 character-generator for very fast screen updates.
|
|
|
|
|
* Enable LIGHTWEIGHT_UI to use this special display mode.
|
|
|
|
|
*
|
|
|
|
|
* Since LIGHTWEIGHT_UI has limited space, the position and status
|
|
|
|
|
* message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
|
|
|
|
|
* length of time to display the status message before clearing.
|
|
|
|
|
*/
|
|
|
|
|
//#define LIGHTWEIGHT_UI
|
|
|
|
|
#if ENABLED(LIGHTWEIGHT_UI)
|
|
|
|
|
#define STATUS_EXPIRE_SECONDS 20
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif // DOGLCD
|
|
|
|
|
|
|
|
|
|
// @section safety
|
|
|
|
@ -679,43 +706,25 @@
|
|
|
|
|
// @section extruder
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Implementation of linear pressure control
|
|
|
|
|
* Linear Pressure Control v1.5
|
|
|
|
|
*
|
|
|
|
|
* Assumption: advance = k * (delta velocity)
|
|
|
|
|
* Assumption: advance [steps] = k * (delta velocity [steps/s])
|
|
|
|
|
* K=0 means advance disabled.
|
|
|
|
|
* See Marlin documentation for calibration instructions.
|
|
|
|
|
*/
|
|
|
|
|
//#define LIN_ADVANCE
|
|
|
|
|
|
|
|
|
|
#if ENABLED(LIN_ADVANCE)
|
|
|
|
|
#define LIN_ADVANCE_K 75
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Some Slicers produce Gcode with randomly jumping extrusion widths occasionally.
|
|
|
|
|
* For example within a 0.4mm perimeter it may produce a single segment of 0.05mm width.
|
|
|
|
|
* While this is harmless for normal printing (the fluid nature of the filament will
|
|
|
|
|
* close this very, very tiny gap), it throws off the LIN_ADVANCE pressure adaption.
|
|
|
|
|
*
|
|
|
|
|
* For this case LIN_ADVANCE_E_D_RATIO can be used to set the extrusion:distance ratio
|
|
|
|
|
* to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
|
|
|
|
|
* if the slicer is using variable widths or layer heights within one print!
|
|
|
|
|
* NOTE: K values for LIN_ADVANCE 1.5 differ from earlier versions!
|
|
|
|
|
*
|
|
|
|
|
* This option sets the default E:D ratio at startup. Use `M900` to override this value.
|
|
|
|
|
* Set K around 0.22 for 3mm PLA Direct Drive with ~6.5cm between the drive gear and heatbreak.
|
|
|
|
|
* Larger K values will be needed for flexible filament and greater distances.
|
|
|
|
|
* If this algorithm produces a higher speed offset than the extruder can handle (compared to E jerk)
|
|
|
|
|
* print acceleration will be reduced during the affected moves to keep within the limit.
|
|
|
|
|
*
|
|
|
|
|
* Example: `M900 W0.4 H0.2 D1.75`, where:
|
|
|
|
|
* - W is the extrusion width in mm
|
|
|
|
|
* - H is the layer height in mm
|
|
|
|
|
* - D is the filament diameter in mm
|
|
|
|
|
*
|
|
|
|
|
* Example: `M900 R0.0458` to set the ratio directly.
|
|
|
|
|
*
|
|
|
|
|
* Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
|
|
|
|
|
*
|
|
|
|
|
* Slic3r (including Průša Control) produces Gcode compatible with the automatic mode.
|
|
|
|
|
* Cura (as of this writing) may produce Gcode incompatible with the automatic mode.
|
|
|
|
|
* See http://marlinfw.org/docs/features/lin_advance.html for full instructions.
|
|
|
|
|
* Mention @Sebastianv650 on GitHub to alert the author of any issues.
|
|
|
|
|
*/
|
|
|
|
|
#define LIN_ADVANCE_E_D_RATIO 0 // The calculated ratio (or 0) according to the formula W * H / ((D / 2) ^ 2 * PI)
|
|
|
|
|
// Example: 0.4 * 0.2 / ((1.75 / 2) ^ 2 * PI) = 0.033260135
|
|
|
|
|
//#define LIN_ADVANCE
|
|
|
|
|
#if ENABLED(LIN_ADVANCE)
|
|
|
|
|
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
|
|
|
|
|
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// @section leveling
|
|
|
|
|