Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- So this is gonna be long and probably not complete and I'm gonna say it again right here... You may not need to edit everything in these lists and I may have missed stuff you do need to edit, that said, here's a copy/paste of the notes I made
- I left some notes with arrows(<---) pointing to the options that I'm pretty sure need editing/enabling/disabling.
- Anything I added ***** to the arrow(<---) I'm nearly positive will need editing/enabling/disabling
- I don't know that I've found everything you'll need to edit and I probably selected stuff that won't need editing, hence many of my notes saying "may need", "might..."
- Hopefully this helps more than confuses...... One more thing, in my examples I use the pins files for the board I have, an skr mini e3 v2, so make sure to edit the pins files for your specific board
- #########################
- ########Configuration.h########
- #########################
- #define USE_XMIN_PLUG
- #define USE_YMIN_PLUG
- #define USE_ZMIN_PLUG <------ may need to edit options like this to Z, Z2, not sure
- //#define USE_IMIN_PLUG
- //#define USE_JMIN_PLUG
- //#define USE_KMIN_PLUG
- //#define USE_XMAX_PLUG
- //#define USE_YMAX_PLUG
- //#define USE_ZMAX_PLUG
- //#define USE_IMAX_PLUG
- //#define USE_JMAX_PLUG
- //#define USE_KMAX_PLUG
- #define X_DRIVER_TYPE TMC2209
- #define Y_DRIVER_TYPE TMC2209
- #define Z_DRIVER_TYPE TMC2209
- //#define X2_DRIVER_TYPE A4988
- //#define Y2_DRIVER_TYPE A4988
- //#define Z2_DRIVER_TYPE A4988 <-------- ********needed
- //#define Z3_DRIVER_TYPE A4988
- //#define Z4_DRIVER_TYPE A4988
- //#define I_DRIVER_TYPE A4988
- //#define J_DRIVER_TYPE A4988
- //#define K_DRIVER_TYPE A4988
- #define E0_DRIVER_TYPE TMC2209
- //#define E1_DRIVER_TYPE A4988
- //#define E2_DRIVER_TYPE A4988
- //#define E3_DRIVER_TYPE A4988
- //#define E4_DRIVER_TYPE A4988
- //#define E5_DRIVER_TYPE A4988
- //#define E6_DRIVER_TYPE A4988
- //#define E7_DRIVER_TYPE A4988
- /**
- * Default Axis Steps Per Unit (steps/mm)
- * Override with M92
- * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]]
- */
- #define DEFAULT_AXIS_STEPS_PER_UNIT { 80.000, 80.000, 400.000, 138.150 } <--- I believe here you would follow the example for E0, E1, E2, etc, but edit for Z, Z2
- /**
- * Default Max Feed Rate (mm/s)
- * Override with M203
- * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]]
- */
- #define DEFAULT_MAX_FEEDRATE { 500, 500, 50, 150 } <----- should be edited as above
- //#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
- #if ENABLED(LIMITED_MAX_FR_EDITING)
- #define MAX_FEEDRATE_EDIT_VALUES { 1000, 1000, 100, 300 } // ...or, set your own edit limits
- #endif
- /**
- * Default Max Acceleration (change/s) change = mm/s
- * (Maximum start speed for accelerated moves)
- * Override with M201
- * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]]
- */
- #define DEFAULT_MAX_ACCELERATION { 500, 500, 500, 500 } <--- Should be edited as above
- //#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
- #if ENABLED(LIMITED_MAX_ACCEL_EDITING)
- #define MAX_ACCEL_EDIT_VALUES { 6000, 6000, 1000, 20000 } // ...or, set your own edit limits
- #endif
- #define CLASSIC_JERK
- #if ENABLED(CLASSIC_JERK)
- #define DEFAULT_XJERK 15.0
- #define DEFAULT_YJERK 15.0
- #define DEFAULT_ZJERK 0.6 <----- this may need changing to Z and add Z2
- //#define DEFAULT_IJERK 0.3
- //#define DEFAULT_JJERK 0.3
- //#define DEFAULT_KJERK 0.3
- // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
- // :{ 0:'Low', 1:'High' }
- #define X_ENABLE_ON 0
- #define Y_ENABLE_ON 0
- #define Z_ENABLE_ON 0 <--- same as above, may need changing to Z and a Z2 added
- #define E_ENABLE_ON 0 // For all extruders
- //#define I_ENABLE_ON 0
- //#define J_ENABLE_ON 0
- //#define K_ENABLE_ON 0
- // Disable axis steppers immediately when they're not being stepped.
- // WARNING: When motors turn off there is a chance of losing position accuracy!
- #define DISABLE_X false
- #define DISABLE_Y false
- #define DISABLE_Z false <--- same as above, may need changing to Z and a Z2 added
- //#define DISABLE_I false
- //#define DISABLE_J false
- //#define DISABLE_K false
- // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
- #define INVERT_X_DIR true
- #define INVERT_Y_DIR true
- #define INVERT_Z_DIR false <--- same as above, may need changing to Z and a Z2 added
- //#define INVERT_I_DIR false
- //#define INVERT_J_DIR false
- //#define INVERT_K_DIR false
- // Direction of endstops when homing; 1=MAX, -1=MIN
- // :[-1,1]
- #define X_HOME_DIR -1
- #define Y_HOME_DIR -1
- #define Z_HOME_DIR -1 <--- same as above, may need changing to Z and a Z2 added
- //#define I_HOME_DIR -1
- //#define J_HOME_DIR -1
- //#define K_HOME_DIR -1
- // Travel limits (mm) after homing, corresponding to endstop positions.
- #define X_MIN_POS -3
- #define Y_MIN_POS -0.5
- #define Z_MIN_POS 0 <-----these too may need changine to Z, Z2
- #define X_MAX_POS 257 //X_BED_SIZE
- #define Y_MAX_POS 235.5
- #define Z_MAX_POS 200 <-------
- //#define I_MIN_POS 0
- //#define I_MAX_POS 50
- //#define J_MIN_POS 0
- //#define J_MAX_POS 50
- //#define K_MIN_POS 0
- //#define K_MAX_POS 50
- // Min software endstops constrain movement within minimum coordinate bounds
- #define MIN_SOFTWARE_ENDSTOPS
- #if ENABLED(MIN_SOFTWARE_ENDSTOPS)
- #define MIN_SOFTWARE_ENDSTOP_X
- #define MIN_SOFTWARE_ENDSTOP_Y
- #define MIN_SOFTWARE_ENDSTOP_Z <---- if you are using endstops these may need changing to Z, Z2
- //#define MIN_SOFTWARE_ENDSTOP_I
- //#define MIN_SOFTWARE_ENDSTOP_J
- //#define MIN_SOFTWARE_ENDSTOP_K
- #endif
- // Max software endstops constrain movement within maximum coordinate bounds
- #define MAX_SOFTWARE_ENDSTOPS
- #if ENABLED(MAX_SOFTWARE_ENDSTOPS)
- #define MAX_SOFTWARE_ENDSTOP_X
- #define MAX_SOFTWARE_ENDSTOP_Y
- #define MAX_SOFTWARE_ENDSTOP_Z <------ hopefully you get the idea
- //#define MAX_SOFTWARE_ENDSTOP_I
- //#define MAX_SOFTWARE_ENDSTOP_J
- //#define MAX_SOFTWARE_ENDSTOP_K
- #endif
- // Homing speeds (mm/min)
- #define HOMING_FEEDRATE_MM_M { (50*60), (50*60), (6*60) } <---may need another "(#*#)" for Z, Z2
- #####################################
- ########Configuration_adv.h##########
- #####################################
- //
- // For Z set the number of stepper drivers
- //
- #define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
- #if NUM_Z_STEPPER_DRIVERS > 1
- // Enable if Z motor direction signals are the opposite of Z1
- //#define INVERT_Z2_VS_Z_DIR
- //#define INVERT_Z3_VS_Z_DIR
- //#define INVERT_Z4_VS_Z_DIR
- //#define Z_MULTI_ENDSTOPS
- #if ENABLED(Z_MULTI_ENDSTOPS)
- #define Z2_USE_ENDSTOP _XMAX_
- #define Z2_ENDSTOP_ADJUSTMENT 0
- #if NUM_Z_STEPPER_DRIVERS >= 3
- #define Z3_USE_ENDSTOP _YMAX_
- #define Z3_ENDSTOP_ADJUSTMENT 0
- #endif
- #if NUM_Z_STEPPER_DRIVERS >= 4
- #define Z4_USE_ENDSTOP _ZMAX_
- #define Z4_ENDSTOP_ADJUSTMENT 0
- #endif
- #endif
- #endif
- /**
- * Z Steppers Auto-Alignment
- * Add the G34 command to align multiple Z steppers using a bed probe.
- */
- //#define Z_STEPPER_AUTO_ALIGN
- #if ENABLED(Z_STEPPER_AUTO_ALIGN)
- // Define probe X and Y positions for Z1, Z2 [, Z3 [, Z4]]
- // If not defined, probe limits will be used.
- // Override with 'M422 S<index> X<pos> Y<pos>'
- //#define Z_STEPPER_ALIGN_XY { { 10, 190 }, { 100, 10 }, { 190, 190 } }
- /**
- * Orientation for the automatically-calculated probe positions.
- * Override Z stepper align points with 'M422 S<index> X<pos> Y<pos>'
- *
- * 2 Steppers: (0) (1)
- * | | 2 |
- * | 1 2 | |
- * | | 1 |
- *
- * 3 Steppers: (0) (1) (2) (3)
- * | 3 | 1 | 2 1 | 2 |
- * | | 3 | | 3 |
- * | 1 2 | 2 | 3 | 1 |
- *
- * 4 Steppers: (0) (1) (2) (3)
- * | 4 3 | 1 4 | 2 1 | 3 2 |
- * | | | | |
- * | 1 2 | 2 3 | 3 4 | 4 1 |
- */
- #ifndef Z_STEPPER_ALIGN_XY
- //#define Z_STEPPERS_ORIENTATION 0
- #endif
- // Provide Z stepper positions for more rapid convergence in bed alignment.
- // Requires triple stepper drivers (i.e., set NUM_Z_STEPPER_DRIVERS to 3)
- //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
- #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
- // Define Stepper XY positions for Z1, Z2, Z3 corresponding to
- // the Z screw positions in the bed carriage.
- // Define one position per Z stepper in stepper driver order.
- #define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
- #else
- // Amplification factor. Used to scale the correction step up or down in case
- // the stepper (spindle) position is farther out than the test point.
- #define Z_STEPPER_ALIGN_AMP 1.0 // Use a value > 1.0 NOTE: This may cause instability!
- #endif
- // On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
- #define G34_MAX_GRADE 5 // (%) Maximum incline that G34 will handle
- #define Z_STEPPER_ALIGN_ITERATIONS 5 // Number of iterations to apply during alignment
- #define Z_STEPPER_ALIGN_ACC 0.02 // Stop iterating early if the accuracy is better than this
- #define RESTORE_LEVELING_AFTER_G34 // Restore leveling after G34 is done?
- // After G34, re-home Z (G28 Z) or just calculate it from the last probe heights?
- // Re-homing might be more precise in reproducing the actual 'G28 Z' homing height, especially on an uneven bed.
- #define HOME_AFTER_G34
- #endif
- #define DEFAULT_STEPPER_DEACTIVE_TIME 0
- #define DISABLE_INACTIVE_X true
- #define DISABLE_INACTIVE_Y true
- #define DISABLE_INACTIVE_Z false // Set 'false' if the nozzle could fall onto your printed part!
- //#define DISABLE_INACTIVE_I true
- //#define DISABLE_INACTIVE_J true
- //#define DISABLE_INACTIVE_K true
- #define DISABLE_INACTIVE_E true
- // @section lcd
- #if EITHER(IS_ULTIPANEL, EXTENSIBLE_UI)
- #define MANUAL_FEEDRATE { 50*60, 50*60, 8*60, 3*60 } // (mm/min) Feedrates for manual moves along X, Y, Z, E from panel <---may need another "(#*#)" for Z, Z2
- #define FINE_MANUAL_MOVE 0.001 // (mm) Smallest manual move (< 0.1mm) applying to Z on most machines
- #if IS_ULTIPANEL
- #define MANUAL_E_MOVES_RELATIVE // Display extruder move distance rather than "position"
- #define ULTIPANEL_FEEDMULTIPLY // Encoder sets the feedrate multiplier on the Status Screen
- #endif
- #endif
- // @section tmc_smart
- /**
- * To use TMC2130, TMC2160, TMC2660, TMC5130, TMC5160 stepper drivers in SPI mode
- * connect your SPI pins to the hardware SPI interface on your board and define
- * the required CS pins in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3
- * pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
- * You may also use software SPI if you wish to use general purpose IO pins.
- *
- * To use TMC2208 stepper UART-configurable stepper drivers connect #_SERIAL_TX_PIN
- * to the driver side PDN_UART pin with a 1K resistor.
- * To use the reading capabilities, also connect #_SERIAL_RX_PIN to PDN_UART without
- * a resistor.
- * The drivers can also be used with hardware serial.
- *
- * TMCStepper library is required to use TMC stepper drivers.
- * https://github.com/teemuatlut/TMCStepper
- */
- #if HAS_TRINAMIC_CONFIG
- #define HOLD_MULTIPLIER 0.75 // Scales down the holding current from run current
- /**
- * Interpolate microsteps to 256
- * Override for each driver with <driver>_INTERPOLATE settings below
- */
- #define INTERPOLATE true
- #if AXIS_IS_TMC(X)
- #define X_CURRENT 550 // (mA) RMS current. Multiply by 1.414 for peak current.
- #define X_CURRENT_HOME (X_CURRENT/2) // (mA) RMS current for sensorless homing
- #define X_MICROSTEPS 16 // 0..256
- #define X_RSENSE 0.11
- #define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
- //#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
- #endif
- #if AXIS_IS_TMC(X2)
- #define X2_CURRENT 800
- #define X2_CURRENT_HOME X2_CURRENT
- #define X2_MICROSTEPS X_MICROSTEPS
- #define X2_RSENSE 0.11
- #define X2_CHAIN_POS -1
- //#define X2_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(Y)
- #define Y_CURRENT 580
- #define Y_CURRENT_HOME (Y_CURRENT/2)
- #define Y_MICROSTEPS 16
- #define Y_RSENSE 0.11
- #define Y_CHAIN_POS -1
- //#define Y_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(Y2)
- #define Y2_CURRENT 800
- #define Y2_CURRENT_HOME Y2_CURRENT
- #define Y2_MICROSTEPS Y_MICROSTEPS
- #define Y2_RSENSE 0.11
- #define Y2_CHAIN_POS -1
- //#define Y2_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(Z)
- #define Z_CURRENT 800
- #define Z_CURRENT_HOME Z_CURRENT
- #define Z_MICROSTEPS 16
- #define Z_RSENSE 0.11
- #define Z_CHAIN_POS -1
- //#define Z_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(Z2) <<<< ********
- #define Z2_CURRENT 800
- #define Z2_CURRENT_HOME Z2_CURRENT
- #define Z2_MICROSTEPS Z_MICROSTEPS <<<<------ ********This will need to be set
- #define Z2_RSENSE 0.11
- #define Z2_CHAIN_POS -1
- //#define Z2_INTERPOLATE true <<<< ********
- #endif
- #if AXIS_IS_TMC(Z3)
- #define Z3_CURRENT 800
- #define Z3_CURRENT_HOME Z3_CURRENT
- #define Z3_MICROSTEPS Z_MICROSTEPS
- #define Z3_RSENSE 0.11
- #define Z3_CHAIN_POS -1
- //#define Z3_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(Z4)
- #define Z4_CURRENT 800
- #define Z4_CURRENT_HOME Z4_CURRENT
- #define Z4_MICROSTEPS Z_MICROSTEPS
- #define Z4_RSENSE 0.11
- #define Z4_CHAIN_POS -1
- //#define Z4_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(I)
- #define I_CURRENT 800
- #define I_CURRENT_HOME I_CURRENT
- #define I_MICROSTEPS 16
- #define I_RSENSE 0.11
- #define I_CHAIN_POS -1
- //#define I_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(J)
- #define J_CURRENT 800
- #define J_CURRENT_HOME J_CURRENT
- #define J_MICROSTEPS 16
- #define J_RSENSE 0.11
- #define J_CHAIN_POS -1
- //#define J_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(K)
- #define K_CURRENT 800
- #define K_CURRENT_HOME K_CURRENT
- #define K_MICROSTEPS 16
- #define K_RSENSE 0.11
- #define K_CHAIN_POS -1
- //#define K_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(E0)
- #define E0_CURRENT 650
- #define E0_MICROSTEPS 16
- #define E0_RSENSE 0.11
- #define E0_CHAIN_POS -1
- //#define E0_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(E1)
- #define E1_CURRENT 800
- #define E1_MICROSTEPS E0_MICROSTEPS
- #define E1_RSENSE 0.11
- #define E1_CHAIN_POS -1
- //#define E1_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(E2)
- #define E2_CURRENT 800
- #define E2_MICROSTEPS E0_MICROSTEPS
- #define E2_RSENSE 0.11
- #define E2_CHAIN_POS -1
- //#define E2_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(E3)
- #define E3_CURRENT 800
- #define E3_MICROSTEPS E0_MICROSTEPS
- #define E3_RSENSE 0.11
- #define E3_CHAIN_POS -1
- //#define E3_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(E4)
- #define E4_CURRENT 800
- #define E4_MICROSTEPS E0_MICROSTEPS
- #define E4_RSENSE 0.11
- #define E4_CHAIN_POS -1
- //#define E4_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(E5)
- #define E5_CURRENT 800
- #define E5_MICROSTEPS E0_MICROSTEPS
- #define E5_RSENSE 0.11
- #define E5_CHAIN_POS -1
- //#define E5_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(E6)
- #define E6_CURRENT 800
- #define E6_MICROSTEPS E0_MICROSTEPS
- #define E6_RSENSE 0.11
- #define E6_CHAIN_POS -1
- //#define E6_INTERPOLATE true
- #endif
- #if AXIS_IS_TMC(E7)
- #define E7_CURRENT 800
- #define E7_MICROSTEPS E0_MICROSTEPS
- #define E7_RSENSE 0.11
- #define E7_CHAIN_POS -1
- //#define E7_INTERPOLATE true
- #endif
- /**
- * Four TMC2209 drivers can use the same HW/SW serial port with hardware configured addresses.
- * Set the address using jumpers on pins MS1 and MS2.
- * Address | MS1 | MS2
- * 0 | LOW | LOW
- * 1 | HIGH | LOW
- * 2 | LOW | HIGH
- * 3 | HIGH | HIGH
- *
- * Set *_SERIAL_TX_PIN and *_SERIAL_RX_PIN to match for all drivers
- * on the same serial port, either here or in your board's pins file.
- */
- #define X_SLAVE_ADDRESS 0
- #define Y_SLAVE_ADDRESS 2
- #define Z_SLAVE_ADDRESS 1
- //#define X2_SLAVE_ADDRESS 0
- //#define Y2_SLAVE_ADDRESS 0
- //#define Z2_SLAVE_ADDRESS 0 <-------********************
- //#define Z3_SLAVE_ADDRESS 0
- //#define Z4_SLAVE_ADDRESS 0
- //#define I_SLAVE_ADDRESS 0
- //#define J_SLAVE_ADDRESS 0
- //#define K_SLAVE_ADDRESS 0
- #define E0_SLAVE_ADDRESS 3
- //#define E1_SLAVE_ADDRESS 0
- //#define E2_SLAVE_ADDRESS 0
- //#define E3_SLAVE_ADDRESS 0
- //#define E4_SLAVE_ADDRESS 0
- //#define E5_SLAVE_ADDRESS 0
- //#define E6_SLAVE_ADDRESS 0
- //#define E7_SLAVE_ADDRESS 0
- /**
- * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
- * Use Trinamic's ultra quiet stepping mode.
- * When disabled, Marlin will use spreadCycle stepping mode.
- */
- #define STEALTHCHOP_XY
- #define STEALTHCHOP_Z <----- may need Z, Z2
- //#define STEALTHCHOP_I
- //#define STEALTHCHOP_J
- //#define STEALTHCHOP_K
- #define STEALTHCHOP_E
- /**
- * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
- * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
- * This mode allows for faster movements at the expense of higher noise levels.
- * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
- * M913 X/Y/Z/E to live tune the setting
- */
- //#define HYBRID_THRESHOLD
- #define X_HYBRID_THRESHOLD 100 // [mm/s]
- #define X2_HYBRID_THRESHOLD 100
- #define Y_HYBRID_THRESHOLD 100
- #define Y2_HYBRID_THRESHOLD 100
- #define Z_HYBRID_THRESHOLD 3 <---- if you use it
- #define Z2_HYBRID_THRESHOLD 3 <---
- #define Z3_HYBRID_THRESHOLD 3
- #define Z4_HYBRID_THRESHOLD 3
- #define I_HYBRID_THRESHOLD 3
- #define J_HYBRID_THRESHOLD 3
- #define K_HYBRID_THRESHOLD 3
- #define E0_HYBRID_THRESHOLD 30
- #define E1_HYBRID_THRESHOLD 30
- #define E2_HYBRID_THRESHOLD 30
- #define E3_HYBRID_THRESHOLD 30
- #define E4_HYBRID_THRESHOLD 30
- #define E5_HYBRID_THRESHOLD 30
- #define E6_HYBRID_THRESHOLD 30
- #define E7_HYBRID_THRESHOLD 30
- /**
- * Use StallGuard to home / probe X, Y, Z.
- *
- * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
- * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
- * X, Y, and Z homing will always be done in spreadCycle mode.
- *
- * X/Y/Z_STALL_SENSITIVITY is the default stall threshold.
- * Use M914 X Y Z to set the stall threshold at runtime:
- *
- * Sensitivity TMC2209 Others
- * HIGHEST 255 -64 (Too sensitive => False positive)
- * LOWEST 0 63 (Too insensitive => No trigger)
- *
- * It is recommended to set HOMING_BUMP_MM to { 0, 0, 0 }.
- *
- * SPI_ENDSTOPS *** Beta feature! *** TMC2130/TMC5160 Only ***
- * Poll the driver through SPI to determine load when homing.
- * Removes the need for a wire from DIAG1 to an endstop pin.
- *
- * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
- * homing and adds a guard period for endstop triggering.
- *
- * Comment *_STALL_SENSITIVITY to disable sensorless homing for that axis.
- */
- #define SENSORLESS_HOMING // StallGuard capable drivers only
- #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
- // TMC2209: 0...255. TMC2130: -64...63
- #define X_STALL_SENSITIVITY 75
- //#define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY
- #define Y_STALL_SENSITIVITY 75
- //#define Y2_STALL_SENSITIVITY Y_STALL_SENSITIVITY
- //#define Z_STALL_SENSITIVITY 8 <------
- //#define Z2_STALL_SENSITIVITY Z_STALL_SENSITIVITY <------
- //#define Z3_STALL_SENSITIVITY Z_STALL_SENSITIVITY
- //#define Z4_STALL_SENSITIVITY Z_STALL_SENSITIVITY
- //#define I_STALL_SENSITIVITY 8
- //#define J_STALL_SENSITIVITY 8
- //#define K_STALL_SENSITIVITY 8
- //#define SPI_ENDSTOPS // TMC2130 only
- #define IMPROVE_HOMING_RELIABILITY
- #endif
- ###############################################
- ########pins_BTT_SKR_MINI_E3_V2_0.h############
- ###############################################
- /**
- * TMC220x stepper drivers
- * Hardware serial communication ports
- */
- #define X_HARDWARE_SERIAL MSerial4
- #define Y_HARDWARE_SERIAL MSerial4
- #define Z_HARDWARE_SERIAL MSerial4 <----********may need Z, Z2
- #define E0_HARDWARE_SERIAL MSerial4
- // Default TMC slave addresses
- #ifndef X_SLAVE_ADDRESS
- #define X_SLAVE_ADDRESS 0
- #endif
- #ifndef Y_SLAVE_ADDRESS
- #define Y_SLAVE_ADDRESS 2
- #endif
- #ifndef Z_SLAVE_ADDRESS <---- *******May need Z, Z2
- #define Z_SLAVE_ADDRESS 1
- #endif
- #ifndef E0_SLAVE_ADDRESS
- #define E0_SLAVE_ADDRESS 3
- #endif
- #endif
- ###################################################
- #########pins_BTT_SKR_MINI_E3_common.h#############
- ###################################################
- //
- // Limit Switches
- //
- #define X_STOP_PIN PC0 // X-STOP
- #define Y_STOP_PIN PC1 // Y-STOP
- #define Z_STOP_PIN PC2 // Z-STOP <------ Z, Z2?
- //
- // Steppers
- //
- #define X_ENABLE_PIN PB14
- #define X_STEP_PIN PB13
- #define X_DIR_PIN PB12
- #define Y_ENABLE_PIN PB11
- #define Y_STEP_PIN PB10
- #define Y_DIR_PIN PB2
- #define Z_ENABLE_PIN PB1 <--- ********You'll have to go on the githib and look for the pinout, here is where you define which pins on the board are used for each driver, should have to set Z2 and Z should stay as it was
- #define Z_STEP_PIN PB0 <--------***************
- #define Z_DIR_PIN PC5 <------------************
- #define E0_ENABLE_PIN PD2
- #define E0_STEP_PIN PB3
- #define E0_DIR_PIN PB4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement