Skip to content

Instantly share code, notes, and snippets.

@tuannat
Last active May 4, 2022 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuannat/d5720b08c07a4f2943cd69413ca908df to your computer and use it in GitHub Desktop.
Save tuannat/d5720b08c07a4f2943cd69413ca908df to your computer and use it in GitHub Desktop.
[printer]
kinematics: delta
max_velocity: 250
max_accel: 2500
max_accel_to_decel: 999999
max_z_accel: 2500
minimum_z_position: 0
square_corner_velocity: 5
print_radius: 130 #
[firmware_retraction]
retract_length: 0.5
retract_speed: 30
unretract_extra_length: 0
unretract_speed: 30
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f407xx_4D003A001750314335393520-if00
# [mcu rpi]
# serial: /tmp/klipper_host_mcu
# [adxl345]
# cs_pin: rpi:None
# [resonance_tester]
# accel_chip: adxl345
# accel_per_hz: 100
# probe_points:
# 0,0,10
# [input_shaper]
# shaper_type_x = mzv
# shaper_freq_x = 29.4
# shaper_type_y = mzv
# shaper_freq_y = 29.0
[stepper_a]
step_pin: PE3
dir_pin: PE2
enable_pin: !PE4
microsteps: 128
rotation_distance: 40
full_steps_per_rotation: 200
endstop_pin: ^PA15
homing_speed: 60
homing_retract_dist: 5.0
homing_retract_speed:10
#arm_length: 315 #note turning this one applys for b and c as well.
#position_endstop: 336.5 #note turning this one applys for b and c as well.
[tmc2209 stepper_a]
uart_pin: PD5
interpolate: false
run_current: 1.138
driver_TBL: 2
driver_TOFF: 2
driver_HSTRT: 1
driver_HEND: 3
sense_resistor: 0.110
driver_PWM_REG: 7
driver_PWM_OFS: 36
stealthchop_threshold: 99999
[stepper_b]
step_pin: PE0
dir_pin: PB9
enable_pin: !PE1
microsteps: 128
rotation_distance: 40
full_steps_per_rotation: 200
endstop_pin: ^PD2
homing_speed: 60
homing_retract_dist: 5.0
homing_retract_speed: 10
#arm_length: 315 #note turning this one applys for b and c as well.
#position_endstop: 336.5 #note turning this one applys for b and c as well.
[tmc2209 stepper_b]
uart_pin: PD7
interpolate: false
run_current: 1.138
driver_TBL: 2
driver_TOFF: 2
driver_HSTRT: 1
driver_HEND: 3
sense_resistor: 0.110
driver_PWM_REG: 7
driver_PWM_OFS: 36
stealthchop_threshold: 99999
[stepper_c]
step_pin: PB5
dir_pin: PB4
enable_pin: !PB8
microsteps: 128
rotation_distance: 40
full_steps_per_rotation: 200
endstop_pin: ^PC4
homing_speed: 60
homing_retract_dist: 5.0
homing_retract_speed: 10
#arm_length: 315 #note turning this one applys for b and c as well.
#position_endstop: 336.5 #note turning this one applys for b and c as well.
[tmc2209 stepper_c]
uart_pin: PD4
interpolate: false
run_current: 1.138
driver_TBL: 2
driver_TOFF: 2
driver_HSTRT: 1
driver_HEND: 3
sense_resistor: 0.110
driver_PWM_REG: 7
driver_PWM_OFS: 36
stealthchop_threshold: 99999
[extruder]
step_pin: PD6
dir_pin: !PD3
enable_pin: !PB3
rotation_distance: 27.75563 #for 5mm Shaft Driven Bondtech gearsets
#gear_ratio: 50:10 #for standard 10t motor
gear_ratio: 50:8 #for sherpa mini 8t motor
microsteps: 16
full_steps_per_rotation: 200 #1.8deg Motor
max_extrude_only_distance: 1400.0
max_extrude_only_velocity: 75.0
max_extrude_only_accel: 1500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PE5
sensor_type: Generic 3950
sensor_pin: PC1
#control: pid
#pid_Kp: 15.17 # enable these and delete save at the bottom remember to run pid after setup. run fans 25-50 percent before running the command.
#pid_Ki: 1.02
#pid_Kd: 56.27
min_temp: 0
max_temp: 300
# pressure_advance: 0.061
# pressure_advance_smooth_time: 0.040
# instantaneous_corner_velocity: 2.5
[tmc2209 extruder]
uart_pin: PD9
interpolate: True
run_current: 0.8
hold_current: 0.35
[heater_bed]
heater_pin: PA0
sensor_type: Generic 3950
sensor_pin: PC0
min_temp: 0
max_temp: 115
#control: pid
#pid_Kp: 59.45 #same as the extruder enable and delete the save at the bottom.
#pid_Ki: 11.8
#pid_Kd: 199.75
[fan] # Part Cooling
pin: PC14
max_power: 1.0
cycle_time: 0.02817 #35.5hrz
kick_start_time: 0.0
[heater_fan heatsink_fan] # Heatsink
pin: PB0 #PB1
max_power: 1.0
heater: extruder
heater_temp: 50.0
fan_speed: 1.0
max_power: 1.0
cycle_time: 0.02817 #35.5hrz
kick_start_time: 0.0
[delta_calibrate]
radius: 127.5
horizontal_move_z: 30
speed: 150
[bed_mesh]
speed: 100
horizontal_move_z: 30
mesh_radius: 125
mesh_origin: 0,0
round_probe_count: 5
mesh_pps: 2,3
algorithm: bicubic
bicubic_tension: 0.2
split_delta_z: .025
fade_start: 1
fade_end: 10
[probe]
pin: ^!PC8 #Z_MIN
x_offset: 0
y_offset: 0
#z_offset: 0
lift_speed: 50
speed: 10
samples: 2
samples_result: average
sample_retract_dist: 10
samples_tolerance: 0.02
samples_tolerance_retries: 15
[force_move]
enable_force_move: True
[endstop_phase stepper_a]
endstop_align_zero: false
[endstop_phase stepper_b]
endstop_align_zero: false
[endstop_phase stepper_c]
endstop_align_zero: false
[virtual_sdcard]
path: /home/pi/gcode_files
[pause_resume]
[display_status]
[temperature_sensor rpi_temperature]
sensor_type: temperature_host
[temperature_sensor mcu_temperature]
sensor_type: temperature_mcu #note remove this for skr1.3 configs
[board_pins]
aliases:
# EXP1 header
EXP1_1=PC5, EXP1_3=PD13, EXP1_5=PE14, EXP1_7=PD11, EXP1_9=<GND>,
EXP1_2=PE13, EXP1_4=PC6, EXP1_6=PE15, EXP1_8=PD10, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PA6, EXP2_3=PE8, EXP2_5=PE11, EXP2_7=PE12, EXP2_9=<GND>,
EXP2_2=PA5, EXP2_4=PE10, EXP2_6=PA7, EXP2_8=<RST>, EXP2_10=<3.3v>
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp1"
# See the sample-lcd.cfg file for definitions of common LCD displays.
############################################################################################################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment