Skip to content

Robin_E3_MKS_TMC2209

makerbase edited this page Sep 17, 2020 · 3 revisions

Description

  • MKS Robin E3 has integrated 4 TMC2209 UART Mode driver

  • Support SENSORLESS_HOMING by DIAG jumpers on board

Uart mode setting

  • Firmware setting

    • Enable EEPROM to store parameters set by LCD

      • Configuration.h:#define EEPROM_SETTINGS
    • Enable uart mode

      • Configuration.h: Setting X Y Z E0 axis Driver type
        #define X_DRIVER_TYPE  TMC2209
        #define Y_DRIVER_TYPE  TMC2209
        #define Z_DRIVER_TYPE  TMC2209
        #define E0_DRIVER_TYPE TMC2209
      
    • Set current and microsteps

      • Configuration_adv.h:#define X_CURRENT 800 //Set current to 800 1.414 ma,peak current=Value1.414
      • Configuration_adv.h:#define X_MICROSTEPS 16 //Set MICROSTEPS, 16 recommended
    • Enable low-speed Stealthchop,high-speed Spreadcycle

      • Configuration_adv.h:#define HYBRID_THRESHOLD //enable HYBRID_THRESHOLD
      • Configuration_adv.h:#define X_HYBRID_THRESHOLD 100 //Set the speed of mode conversion
  • Uart mode test

    • You can send to the board M122 test uart mode is ok or not(need enable #define TMC_DEBUG in configuration_adv.h file). If not ok,you will get nothing,if ok,you will get info like this:

        Testing X connection... OK
        Testing Y connection... OK
        Testing Z connection... OK
        Testing E connection... OK
      

      Note: You must use DC12-24V power supply, not just USB power supply. Otherwise, TMC will report an error

  • Change parameter and save

    • By LCD12864:

      • Change parameter: Configuration -> Advanced Settings -> TMC Drivers
      • Save parameter: Configuration -> Store Settings
      • Load parameter: Configuration -> Load Settings
    • By MKS TFT35:

      • Change parameter: Settings -> Config -> Motor -> TMC currentsetting
      • Save parameter: Settings -> Config -> Gcode send M500
      • Load parameter: Settings -> Config -> Gcode send M501
    • By repetier(Pronterface..):

      • Send M906 setting current, for example, M906 X500 setting x-axis current is 500ma
      • Send M500 save parameter
      • Send M501 load parameter

Sensorless-homing Set(take X axis as example)

  • Jumper cap connect "X DIAG"

  • Sensorless-homing firmware set

    • First you need finish uart mode firmware setting,after that, you need set:1.Change CHOPPER_TIMING CHOPPER 2.Enable Sensorless_homing 3.Change X_STALL_SENSITIVITY
    • Set the default voltage to DC supply voltage
      • Configuration_adv.h:#define CHOPPER_TIMING CHOPPER_DEFAULT_12V //According to DC supply
    • Set Enable SENSORLESS_HOMING
      • Configuration_adv.h:#define SENSORLESS_HOMING
    • Set blocking threshold,more bigger more sensitive
      • Configuration_adv.h:#define X_STALL_SENSITIVITY 125 //According to your 3d printer