Use Klipper TMC Autotune - Guilouz/Klipper-Flsun-Speeder-Pad GitHub Wiki
Klipper TMC autotune is an extension for automatic configuration and tuning of TMC drivers.
This extension calculates good values for most registers of TMC stepper motor drivers, given the motor's datasheet information and user selected tuning goal.
Note: Only for FLSUN V400.
-
In the SSH command prompt window, enter this command to install
Klipper TMC Autotune:wget -O - https://raw.githubusercontent.com/andrewmcgr/klipper_tmc_autotune/main/install.sh | bash
-
Go to your Mainsail Web interface then click on
Machinetab. -
Open the
printer.cfgfile and enable this in this sections:-
In
X Stepper Motor & Driver Settingssection such as:[autotune_tmc stepper_a] # Enable if Klipper TMC Autotune is used motor: flsun-v400-42 tuning_goal: performance -
In
Y Stepper Motor & Driver Settingssection such as:[autotune_tmc stepper_b] # Enable if Klipper TMC Autotune is used motor: flsun-v400-42 tuning_goal: performance -
In
Z Stepper Motor & Driver Settingssection such as:[autotune_tmc stepper_c] # Enable if Klipper TMC Autotune is used motor: flsun-v400-42 tuning_goal: performance -
In
Extruder & Driver Settingssection such as:[autotune_tmc extruder] # Enable if Klipper TMC Autotune is used motor: flsun-v400-36 tuning_goal: auto
-
-
Once done, click on
SAVE & RESTARTat the top right to save the file. -
Open the
moonraker.conffile and add the following lines at the end of the file:[update_manager Klipper TMC Autotune] type: git_repo channel: dev path: ~/klipper_tmc_autotune origin: https://github.com/andrewmcgr/klipper_tmc_autotune.git managed_services: klipper primary_branch: main install_script: install.sh -
Once done, click on
SAVE & RESTARTat the top right to save the file.
See more info here: Klipper TMC Autotune | Github
