Jump to content

Does anyone have the TMC 2209 Settings for the BTT GTR in Klipper? With Sensorless homing and BLTouch


Recommended Posts

# Driver0
[stepper_x]
step_pin: PC15
dir_pin: PF0
enable_pin: !PF1
microsteps: 16
rotation_distance: 40
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_endstop: 0
position_max: 220
homing_speed: 50

# Driver1
[stepper_y]
step_pin: PE3
dir_pin: PE2
enable_pin: !PE4
microsteps: 16
rotation_distance: 40
endstop_pin: tmc2209_stepper_y:virtual_endstop
position_endstop: 0
position_max: 250
homing_speed: 50

# Driver2
[stepper_z]
step_pin: PB8
dir_pin: PC7
enable_pin: !PB9
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_endstop: 0
position_max: 200
homing_speed: 12
second_homing_speed: 1

# Driver3
[stepper_z1]
step_pin: PG12
dir_pin: PG11
enable_pin: !PG13
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_endstop: 0
position_max: 200
homing_speed: 12
second_homing_speed: 1

########################
#      BL Touch        #   
########################

# A [probe] section can be defined instead with a pin: setting identical
# to the sensor_pin: for a bltouch

[bltouch]
sensor_pin: ^PB7
control_pin: PB6
x_offset: -40
y_offset: -12
z_offset: 1.600
speed: 5
#pin_move_time: 0.68
#pin_move_time: 0.1
#stow_on_each_sample: False  
#pin_up_touch_mode_reports_triggered: False
#pin_up_touch_mode_reports_triggered: True
#pin_up_reports_not_triggered: True
samples: 3
samples_result: median

# Driver4
[extruder0]
step_pin: PD6
dir_pin: PD5
enable_pin: !PD7
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB1 # Heat0
sensor_pin:  PC1 # T0 Header
sensor_type: EPCOS 100K B57560G104F
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 290

########################################
# TMC2209 configuration
########################################

[tmc2209 stepper_x]
uart_pin: PC14
run_current: 0.800
diag_pin: ??????????????????????????????????????
driver_SGTHRS: 90
run_current: 0.800
#stealthchop_threshold: 999999

[tmc2209 stepper_y]
uart_pin: PE1
run_current: 0.800
diag_pin: ??????????????????????????????????????
driver_SGTHRS: 80
run_current: 0.800
#stealthchop_threshold: 999999

[tmc2209 stepper_z]
uart_pin: PB5
run_current: 0.650
stealthchop_threshold: 999999

[tmc2209 stepper_z1]
uart_pin: PG10
run_current: 0.800
stealthchop_threshold: 999999

[tmc2209 extruder0]
uart_pin: PD4
run_current: 0.800
#stealthchop_threshold: 999999

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...