mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-08-06 21:44:14 -06:00
Improve BlueR configs (#334)
This commit is contained in:
parent
ee747d0001
commit
5a9486fff0
7 changed files with 117 additions and 48 deletions
|
@ -22,6 +22,7 @@
|
|||
#pragma once
|
||||
|
||||
//#define BLUER_TMC2209 // Enable for the TMC2209 driver version
|
||||
//#define BLUER_BLTOUCH // Enable if you want to use BLTOUCH
|
||||
|
||||
/**
|
||||
* Configuration.h
|
||||
|
@ -676,7 +677,7 @@
|
|||
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
|
||||
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'L6474', 'POWERSTEP01', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
|
||||
*/
|
||||
#ifdef BLUER_TMC2209
|
||||
#if ENABLED(BLUER_TMC2209)
|
||||
#define X_DRIVER_TYPE TMC2209_STANDALONE
|
||||
#define Y_DRIVER_TYPE TMC2209_STANDALONE
|
||||
#define Z_DRIVER_TYPE TMC2209_STANDALONE
|
||||
|
@ -690,7 +691,7 @@
|
|||
//#define Z2_DRIVER_TYPE A4988
|
||||
//#define Z3_DRIVER_TYPE A4988
|
||||
//#define Z4_DRIVER_TYPE A4988
|
||||
#ifdef BLUER_TMC2209
|
||||
#if ENABLED(BLUER_TMC2209)
|
||||
#define E0_DRIVER_TYPE TMC2209_STANDALONE
|
||||
#else
|
||||
#define E0_DRIVER_TYPE A4988
|
||||
|
@ -749,7 +750,11 @@
|
|||
* Override with M92
|
||||
* X, Y, Z, E0 [, E1[, E2...]]
|
||||
*/
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT { 160, 160, 400, 415 }
|
||||
#if ENABLED(BLUER_TMC2209)
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 415 }
|
||||
#else
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT { 160, 160, 400, 415 }
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Default Max Feed Rate (mm/s)
|
||||
|
@ -784,8 +789,8 @@
|
|||
* M204 R Retract Acceleration
|
||||
* M204 T Travel Acceleration
|
||||
*/
|
||||
#define DEFAULT_ACCELERATION 750 // X, Y, Z and E acceleration for printing moves
|
||||
#define DEFAULT_RETRACT_ACCELERATION 2000 // E acceleration for retracts
|
||||
#define DEFAULT_ACCELERATION 750 // X, Y, Z and E acceleration for printing moves
|
||||
#define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration for retracts
|
||||
#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves
|
||||
|
||||
/**
|
||||
|
@ -849,7 +854,9 @@
|
|||
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
||||
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
||||
*/
|
||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||
#if ENABLED(BLUER_BLTOUCH)
|
||||
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||
#endif
|
||||
|
||||
// Force the use of the probe for Z-axis homing
|
||||
//#define USE_PROBE_FOR_Z_HOMING
|
||||
|
@ -907,7 +914,9 @@
|
|||
/**
|
||||
* The BLTouch probe uses a Hall effect sensor and emulates a servo.
|
||||
*/
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLUER_BLTOUCH)
|
||||
#define BLTOUCH
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Pressure sensor with a BLTouch-like interface
|
||||
|
@ -1096,7 +1105,7 @@
|
|||
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
||||
#define INVERT_X_DIR false
|
||||
#define INVERT_Y_DIR false
|
||||
#ifdef BLUER_TMC2209
|
||||
#if ENABLED(BLUER_TMC2209)
|
||||
#define INVERT_Z_DIR false
|
||||
#else
|
||||
#define INVERT_Z_DIR true
|
||||
|
@ -1105,7 +1114,7 @@
|
|||
// @section extruder
|
||||
|
||||
// For direct drive extruder v9 set to true, for geared extruder set to false.
|
||||
#ifdef BLUER_TMC2209
|
||||
#if ENABLED(BLUER_TMC2209)
|
||||
#define INVERT_E0_DIR false
|
||||
#else
|
||||
#define INVERT_E0_DIR true
|
||||
|
@ -1124,10 +1133,10 @@
|
|||
//#define HOME_AFTER_DEACTIVATE // Require rehoming after steppers are deactivated. Also enable NO_MOTION_BEFORE_HOMING for extra safety.
|
||||
//#define UNKNOWN_Z_NO_RAISE // Don't raise Z (lower the bed) if Z is "unknown." For beds that fall when Z is powered off.
|
||||
|
||||
#define Z_HOMING_HEIGHT 10 // (mm) Minimal Z height before homing (G28) for Z clearance above the bed, clamps, ...
|
||||
#define Z_HOMING_HEIGHT 10 // (mm) Minimal Z height before homing (G28) for Z clearance above the bed, clamps, ...
|
||||
// Be sure to have this much clearance over your Z_MAX_POS to prevent grinding.
|
||||
|
||||
#define Z_AFTER_HOMING 15 // (mm) Height to move to after homing Z
|
||||
#define Z_AFTER_HOMING 15 // (mm) Height to move to after homing Z
|
||||
|
||||
// Direction of endstops when homing; 1=MAX, -1=MIN
|
||||
// :[-1,1]
|
||||
|
@ -1232,6 +1241,7 @@
|
|||
//#define FIL_RUNOUT8_STATE LOW
|
||||
//#define FIL_RUNOUT8_PULLUP
|
||||
//#define FIL_RUNOUT8_PULLDOWN
|
||||
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
@ -1289,10 +1299,12 @@
|
|||
*/
|
||||
//#define AUTO_BED_LEVELING_3POINT
|
||||
//#define AUTO_BED_LEVELING_LINEAR
|
||||
//#define AUTO_BED_LEVELING_BILINEAR
|
||||
//#define AUTO_BED_LEVELING_UBL
|
||||
#define MESH_BED_LEVELING
|
||||
|
||||
#if ENABLED(BLUER_BLTOUCH)
|
||||
#define AUTO_BED_LEVELING_BILINEAR
|
||||
#else
|
||||
#define MESH_BED_LEVELING
|
||||
#endif
|
||||
/**
|
||||
* Normally G28 leaves leveling disabled on completion. Enable
|
||||
* this option to have G28 restore the prior leveling state.
|
||||
|
@ -1449,7 +1461,9 @@
|
|||
// - Move the Z probe (or nozzle) to a defined XY point before Z Homing.
|
||||
// - Prevent Z homing when the Z probe is outside bed area.
|
||||
//
|
||||
//#define Z_SAFE_HOMING
|
||||
#if ENABLED(BLUER_BLTOUCH)
|
||||
#define Z_SAFE_HOMING
|
||||
#endif
|
||||
|
||||
#if ENABLED(Z_SAFE_HOMING)
|
||||
#define Z_SAFE_HOMING_X_POINT X_CENTER // X point for Z homing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue