Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 09. March 2019 05:28 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 10 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 09. March 2019 13:24 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 1.610 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 10. March 2019 07:34 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 10 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 10. March 2019 10:48 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 1.610 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 10. March 2019 12:22 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 448 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 20. March 2019 07:59 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 10 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 20. March 2019 11:09 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 1.610 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 20. March 2019 14:09 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 10 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 20. March 2019 14:34 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 1.610 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 20. March 2019 16:51 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 10 |
VCC + | | .-. | | | | 47k '-' | Endstop | Eingang o------------o Arduino Mega | 3,3 V | | | | | Diag1 o----------. | | .-. <| | | |- | | 100k /| '-' | | | | | === GND
VCC + | | .-. | | | | 47k '-' | Endstop | Eingang o------------o Arduino Mega | | 0 V | | | | Diag1 o----------. | | .-. <| | | |- | | 100k /| '-' | | | | | === GND
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 21. March 2019 05:49 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 1.610 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 21. March 2019 13:30 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 10 |
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 05. April 2019 07:06 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 10 |
//File: stepper_indirection.cpp void tmc2130_init(TMC2130Stepper &st, const uint16_t mA, const uint16_t microsteps, const uint32_t thrs, const float spmm) { #if DISABLED(STEALTHCHOP) || DISABLED(HYBRID_THRESHOLD) UNUSED(thrs); UNUSED(spmm); #endif st.begin(); st.setCurrent(mA, R_SENSE, HOLD_MULTIPLIER); st.microsteps(microsteps); st.blank_time(24); st.off_time(5); // Only enables the driver if used with stealthChop st.interpolate(INTERPOLATE); + st.power_down_delay(32); // ~2s until driver lowers to hold current + st.hysteresis_start(4); + st.hysteresis_end(-2); + st.semin(5); + st.semax(2); + st.sedn(0b01); + st.coolstep_min_speed(0x000100);
+ st.coolstep_min_speed(0x000100);
//File: tmc_util.cpp void tmc_sensorless_homing(TMC2130Stepper &st, const bool enable/*=true*/) { + //st.coolstep_min_speed(enable ? 1024UL * 1024UL - 1UL : 0); + st.coolstep_min_speed(enable ? 0x000100 : 0); //2019-03-29 theblackraven #if ENABLED(STEALTHCHOP)
M906 X500 Y500; Set max steppercurrent to 500 mA M914 X1 Y3; Set TMC Bump Sensitivity M906 Z1000; G28 ; home all axes M906 X760; Set max steppercurrent to 720 mA M906 Y760; Set max steppercurrent to 720 mA
//File: Configuration.h // Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1] #define X_HOME_DIR 1 #define Y_HOME_DIR 1
//File: Configuration.h #if DISABLED(ENDSTOPPULLUPS) // Disable ENDSTOPPULLUPS to set pullups individually #define ENDSTOPPULLUP_XMAX #define ENDSTOPPULLUP_YMAX #endif
#define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. #define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
//File: Configurationh_adv.h #define SENSORLESS_HOMING // TMC2130 only #if ENABLED(SENSORLESS_HOMING) #define X_HOMING_SENSITIVITY 3 #define Y_HOMING_SENSITIVITY 3 //#define Z_HOMING_SENSITIVITY 8 #endif
Re: Sensorless homing mit tmc2130 und Marlin Bugfix 1.1x 05. April 2019 07:10 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 10 |