Welcome! Log In Create A New Profile

Advanced

Ender 3 MKS Gen L Bigtreetech TMC 2130 BLTouch 2.0-bugfix

Posted by Cryofix 
Ender 3 MKS Gen L Bigtreetech TMC 2130 BLTouch 2.0-bugfix
March 08, 2019 11:25PM
Hi All,

After about a week of learning and growing pains, I have been able to get my Ender 3 back and working after some major upgrades. I just wanted to share my Config diffs for (Arduino 1.9.0 Beta, Marlin 2.0-bugfix)

**** NOTE... Possible fire hazard. For some reason with the new TFT 32 plugged in I would at certain times run into an uploading timeout after compile. IF you run into this issue with the printer on you are susceptible to thermal runaway. I do not know the full details of this but my "smoke" was pretty quick. After a test print I was tweaking a few settings and then hit compile and then compile and upload. I then switched over to my browser to continue reading and within just a few minutes I started smelling burning, I looked over and my hotend was smoking and the hotend fan was off. The board was left in an unknown state and the temps/fans did not know what to do. I quickly killed the power and began blowing warm air on the hotend. Everything luckily turned out fine. but I had to reboot my machine for the USB to work again. My fix thus far has to do with disconnecting the TFT 32 screen before flashing.

I can elaborate on more details if anyone needs them.

MKS Gen L
Bigtreetech TMC 2130 SPI with premade loom
BLTouch

Configuration.h
#define STRING_CONFIG_H_AUTHOR "(Ed, Modifed bed level)" // Who made the changes.
  #define MOTHERBOARD BOARD_MKS_GEN_L
#define TEMP_SENSOR_BED 1
  #define ENDSTOPPULLUP_ZMIN_PROBE
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe.
#define X_DRIVER_TYPE  TMC2130
#define Y_DRIVER_TYPE  TMC2130
#define Z_DRIVER_TYPE  TMC2130
#define E0_DRIVER_TYPE TMC2130
#define DISTINCT_E_FACTORS
#define DEFAULT_AXIS_STEPS_PER_UNIT   { 79.9, 79.9, 403.63, 108 }
#define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
#define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
#define DEFAULT_ACCELERATION          500    // X, Y, Z and E acceleration for printing moves
#define DEFAULT_RETRACT_ACCELERATION  500    // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
  #define DEFAULT_XJERK 7.0
  #define DEFAULT_YJERK 7.0
#define BLTOUCH
  #define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
#define X_PROBE_OFFSET_FROM_EXTRUDER -45.73  // X offset: -left  +right  [of the nozzle]
#define Y_PROBE_OFFSET_FROM_EXTRUDER -15  // Y offset: -front +behind [the nozzle]
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1.39   // Z offset: -below +above  [the nozzle]
#define MIN_PROBE_EDGE 35
#define MULTIPLE_PROBING 3
#define Z_MIN_PROBE_REPEATABILITY_TEST
  #define WAIT_FOR_BED_HEATER     // Wait for bed to heat back up between probes (to improve accuracy)
#define INVERT_X_DIR true
#define INVERT_E0_DIR true
#define X_BED_SIZE 230
#define Y_BED_SIZE 230
  //#define MIN_SOFTWARE_ENDSTOP_Z
#define AUTO_BED_LEVELING_BILINEAR
  #define GRID_MAX_POINTS_X 5
    #define ABL_BILINEAR_SUBDIVISION
#define Z_SAFE_HOMING
#define EEPROM_SETTINGS // Enable for M500 and M501 commands
#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command


Configuration_adv.h
#define E0_AUTO_FAN_PIN  7
#define X_HOME_BUMP_MM 0
#define Y_HOME_BUMP_MM 0
#define BABYSTEPPING
  #define BABYSTEP_MULTIPLICATOR  5         // Babysteps are very small. Increase for faster motion.
  #define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
 *  f00 : Maximum for TMC2xxx stepper drivers
    #define E0_CURRENT    900
  #define X_CS_PIN          59
  #define Y_CS_PIN          63
  #define Z_CS_PIN          40
  #define E0_CS_PIN         42
  //#define TMC_SW_MOSI       51
  //#define TMC_SW_MISO       50
  //#define TMC_SW_SCK        52
  #define CHOPPER_TIMING CHOPPER_DEFAULT_24V
  #define MONITOR_DRIVER_STATUS
  #define HYBRID_THRESHOLD
  #define SENSORLESS_HOMING // TMC2130 only
    #define X_STALL_SENSITIVITY  10
    #define Y_STALL_SENSITIVITY  10
  #define TMC_DEBUG

Overall I would say it has been 100% success. Thanks, Marlin team, and teemuatlut.

Using Matter control and M240 S1
Re: Ender 3 MKS Gen L Bigtreetech TMC 2130 BLTouch 2.0-bugfix
September 07, 2019 08:48AM
#define X_PROBE_OFFSET_FROM_EXTRUDER -45.73 // X offset: -left +right [of the nozzle]

Appreciate the hard work. Which bugfix date of 2.0.x did you use?

Mine failed in compile (Arduino):
demands X_PROBE_OFFSET_FROM_EXTRUDER must be an integer...
Compiled fine until editing in the BLTOUCH changed...
Sorry, only registered users may post in this forum.

Click here to login