Skip to content

Instantly share code, notes, and snippets.

@WeslenPy
Last active February 2, 2025 16:02
Show Gist options
  • Save WeslenPy/64971ab1fdc01d04c20e58f65e81a349 to your computer and use it in GitHub Desktop.
Save WeslenPy/64971ab1fdc01d04c20e58f65e81a349 to your computer and use it in GitHub Desktop.
[tmc2209 stepper_x]
step_pin: PE3
dir_pin: !PE2
enable_pin: !PE4
microsteps: 16
rotation_distance: 40
endstop_pin: !PA15
position_endstop: 0
position_max: 300
homing_speed: 50
[tmc2209 stepper_x]
uart_pin: PC7
run_current: 0.9
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_y]
step_pin: PE0
dir_pin: !PB9
enable_pin: !PE1
microsteps: 16
rotation_distance: 40
endstop_pin: !PA12
position_endstop: 300
position_max: 300
homing_speed: 50
[tmc2209 stepper_y]
uart_pin: PC13
run_current: 0.9
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_z]
step_pin: PB5
dir_pin: !PB4
enable_pin: !PB8
microsteps: 16
rotation_distance: 8
endstop_pin: !PA11
position_endstop: 0.5
position_max: 340
[tmc2209 stepper_z]
uart_pin: PB13
run_current: 0.9
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_z1]
step_pin: PA6
dir_pin: !PA1
enable_pin: !PA3
microsteps: 16
rotation_distance: 8
[tmc2209 stepper_z1]
uart_pin: PB14
interpolate: True
run_current: 0.9
sense_resistor: 0.110
stealthchop_threshold: 0
[extruder]
step_pin: PD6
dir_pin: !PD3
enable_pin: !PB3
microsteps: 16
full_steps_per_rotation: 200
rotation_distance: 7.711
nozzle_diameter: 0.400
pressure_advance: 0.050
filament_diameter: 1.750
max_extrude_only_distance: 150.0
heater_pin: PC3
sensor_type: ATC Semitec 104GT-2
sensor_pin: PC1
control: pid
pid_Kp: 14.669
pid_Ki: 0.572
pid_Kd: 94.068
min_temp: 0
max_temp: 250
[tmc2209 extruder]
uart_pin: PE5
interpolate: True
run_current: 0.85
sense_resistor: 0.110
stealthchop_threshold: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment