mirror of
https://github.com/oducceu/klipper_configs.git
synced 2025-12-23 08:03:36 +05:00
Initial release of Flying Bear Generic Configs
This commit is contained in:
74
Flying Bear Generic Configs/printer/tmc2209_uart_mks_rn.cfg
Normal file
74
Flying Bear Generic Configs/printer/tmc2209_uart_mks_rn.cfg
Normal file
@@ -0,0 +1,74 @@
|
||||
################################################################################
|
||||
# Board: MKS Robin Nano v1.1 (Flying Bear Reborn 2.0) / MKS Robin Nano v1.3 / MKS Robin Nano-S v1.3
|
||||
# Printer: Flying Bear Ghost 4S / Ghost 5
|
||||
# Config by ODUCCEU
|
||||
################################################################################
|
||||
# Drivers: TMC2209 by BTT
|
||||
################################################################################
|
||||
|
||||
# Based on this guide https://sergey1560.github.io/fb4s_howto/tmc_uart/
|
||||
# Works only if fifth stepper driver slot is free so no FB Reborn
|
||||
|
||||
################################################################################
|
||||
# Pin Definitions
|
||||
################################################################################
|
||||
|
||||
## TMC_TX_PIN PA6
|
||||
## TMC_UART_PIN PA1
|
||||
|
||||
################################################################################
|
||||
# TMC UART
|
||||
################################################################################
|
||||
|
||||
[tmc2209 stepper_x]
|
||||
uart_pin: TMC_UART_PIN
|
||||
tx_pin: TMC_TX_PIN
|
||||
run_current: 0.800
|
||||
hold_current: 0.400
|
||||
stealthchop_threshold: 999999
|
||||
uart_address: 0
|
||||
|
||||
[tmc2209 stepper_y]
|
||||
uart_pin: TMC_UART_PIN
|
||||
tx_pin: TMC_TX_PIN
|
||||
run_current: 0.800
|
||||
hold_current: 0.400
|
||||
stealthchop_threshold: 999999
|
||||
uart_address: 1
|
||||
|
||||
[tmc2209 stepper_z]
|
||||
uart_pin: TMC_UART_PIN
|
||||
tx_pin: TMC_TX_PIN
|
||||
run_current: 0.600
|
||||
hold_current: 0.300
|
||||
stealthchop_threshold: 999999
|
||||
uart_address: 2
|
||||
|
||||
[tmc2209 extruder]
|
||||
uart_pin: TMC_UART_PIN
|
||||
tx_pin: TMC_TX_PIN
|
||||
run_current: 0.400
|
||||
hold_current: 0.200
|
||||
stealthchop_threshold: 999999
|
||||
uart_address: 3
|
||||
|
||||
################################################################################
|
||||
# Macros
|
||||
################################################################################
|
||||
|
||||
[gcode_macro HIGH_SPEED]
|
||||
gcode:
|
||||
SET_TMC_CURRENT STEPPER=stepper_x CURRENT=1.000 HOLDCURRENT=0.750
|
||||
SET_TMC_CURRENT STEPPER=stepper_y CURRENT=1.000 HOLDCURRENT=0.750
|
||||
SET_TMC_CURRENT STEPPER=extruder CURRENT=0.600 HOLDCURRENT=0.300
|
||||
|
||||
[gcode_macro NORMAL_SPEED]
|
||||
gcode:
|
||||
{% set tmc_x = printer.configfile.settings["tmc2209 stepper_x"] %}
|
||||
{% set tmc_y = printer.configfile.settings["tmc2209 stepper_y"] %}
|
||||
{% set tmc_e = printer.configfile.settings["tmc2209 extruder"] %}
|
||||
SET_TMC_CURRENT STEPPER=stepper_x CURRENT={tmc_x.run_current} HOLDCURRENT={tmc_x.hold_current}
|
||||
SET_TMC_CURRENT STEPPER=stepper_y CURRENT={tmc_y.run_current} HOLDCURRENT={tmc_y.hold_current}
|
||||
SET_TMC_CURRENT STEPPER=extruder CURRENT={tmc_e.run_current} HOLDCURRENT={tmc_e.hold_current}
|
||||
|
||||
################################################################################
|
||||
Reference in New Issue
Block a user