Skip to content

Instantly share code, notes, and snippets.

@janherich
Created February 20, 2021 20:20
Show Gist options
  • Save janherich/7de0111e580b25d1cc4b15123a9dedcd to your computer and use it in GitHub Desktop.
Save janherich/7de0111e580b25d1cc4b15123a9dedcd to your computer and use it in GitHub Desktop.
QQS-Pro Klipper config
# This file contains a configuration for the "Flsun QQ-S" delta
# printer (using the MKS Robin Mini electronics). To use this config,
# the firmware should be compiled for the STM32F103xE and MKS Robin mini.
# See the example.cfg file for a description of available parameters.
[stepper_a]
step_pin: PE3
dir_pin: PE2
enable_pin: !PE4
step_distance: .01
endstop_pin: PA15
homing_speed: 60
# The next parameter needs to be adjusted for
# your printer. You may want to start with 280
# and meassure the distance from nozzle to bed.
# This value then needs to be added.
#position_endstop: 376.9
#arm_length: 280.0
[stepper_b]
step_pin: PE0
dir_pin: PB9
enable_pin: !PE1
step_distance: .01
endstop_pin: PA12
[stepper_c]
step_pin: PB5
dir_pin: PB4
enable_pin: !PB8
step_distance: .01
endstop_pin: PC4
[extruder]
step_pin: PD6
dir_pin: !PD3
enable_pin: !PB3
step_distance: .0024303
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC3
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC1
#control: pid
#pid_Kp: 14.669
#pid_Ki: 0.572
#pid_Kd: 94.068
pressure_advance: 0.3
min_extrude_temp: 150
min_temp: 0
max_temp: 275
[heater_bed]
heater_pin: PA0
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC0
control: pid
pid_Kp: 325.10
pid_Ki: 63.35
pid_Kd: 417.10
min_temp: 0
max_temp: 100
[fan]
pin: PB1
kick_start_time: 0.200
#[probe]
#pin: PA11
#z_offset: 10
[output_pin vref_xy]
pin: PA6
pwm: True
shutdown_value: 0
scale: 3.3
cycle_time: .000030
value: 1.6
[output_pin vref_z]
pin: PA7
pwm: True
shutdown_value: 0
scale: 3.3
cycle_time: .000030
value: 1.6
[output_pin vref_e]
pin: PB0
pwm: True
shutdown_value: 0
scale: 3.3
cycle_time: .000030
value: 1.6
[printer]
kinematics: delta
max_velocity: 300
max_accel: 3000
max_z_velocity: 300
square_corner_velocity: 20.0
#delta_radius: 140.8
# if you want to DELTA_CALIBRATE you may need that
minimum_z_position: -5
[idle_timeout]
timeout: 360
[delta_calibrate]
radius: 120
#manual_probe: True
# If true, then DELTA_CALIBRATE will perform manual probing. If
# false, then a PROBE command will be run at each probe
# point. Manual probing is accomplished by manually jogging the Z
# position of the print head at each probe point and then issuing a
# NEXT extended g-code command to record the position at that
# point. The default is false if a [probe] config section is present
# and true otherwise.
# Heater and temperature sensor verification. Heater verification is
# automatically enabled for each heater that is configured on the
# printer. Use verify_heater sections to change the default settings.
[verify_heater extruder]
heating_gain: 10
# The minimum temperature (in Celsius) that the heater must increase
# by when approaching a new target temperature. The default is 2.
check_gain_time: 999999
# The amount of time (in seconds) that the heating_gain must be met
# in before an error is raised. The default is 20 seconds for
# extruders and 60 seconds for heater_bed.
hysteresis: 10
# The difference between the target temperature and the current
# temperature for the heater to be considered within range of the
# target temperature. The default is 5.
max_error: 120
# The maximum temperature difference a heater that falls outside the
# target temperature range may accumulate before an error is
# raised. For example, if the target temperature is 200, the
# hysteresis is 5, the max_error is 120, and the temperature is
# reported at 185 degrees for 12 seconds then an error would be
# raised (or 24 seconds at 190, or 120 seconds at 194, etc.). The
# default is 120.
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 19.236
#*# pid_ki = 0.763
#*# pid_kd = 121.186
#*#
#*# [printer]
#*# delta_radius = 141.378060
#*#
#*# [stepper_a]
#*# angle = 210.037492
#*# arm_length = 281.019274
#*# position_endstop = 373.911707
#*#
#*# [stepper_b]
#*# angle = 329.698814
#*# arm_length = 281.191655
#*# position_endstop = 374.656791
#*#
#*# [stepper_c]
#*# angle = 90.000000
#*# arm_length = 282.272904
#*# position_endstop = 374.557857
#*#
#*# [delta_calibrate]
#*# height0 = 0.0
#*# height0_pos = 37445.000,37445.000,37445.000
#*# height1 = 0.0
#*# height1_pos = 44488.000,44488.000,33800.000
#*# height2 = 0.0
#*# height2_pos = 36708.000,48787.000,36708.000
#*# height3 = 0.0
#*# height3_pos = 33865.000,43207.000,43207.000
#*# height4 = 0.0
#*# height4_pos = 36459.000,36459.000,44935.000
#*# height5 = 0.0
#*# height5_pos = 42215.000,34123.000,42215.000
#*# height6 = 0.0
#*# height6_pos = 46746.000,36613.000,36613.000
#*# distance0 = 65.2
#*# distance0_pos1 = 37132.403,37603.801,37615.137
#*# distance0_pos2 = 34510.838,40698.615,40718.131
#*# distance1 = 65.37
#*# distance1_pos1 = 37262.512,37341.695,37747.269
#*# distance1_pos2 = 36385.826,36456.799,43201.719
#*# distance2 = 65.16
#*# distance2_pos1 = 37524.625,37212.177,37615.137
#*# distance2_pos2 = 40629.433,34590.619,40718.131
#*# distance3 = 65.2
#*# distance3_pos1 = 37656.648,37342.662,37353.026
#*# distance3_pos2 = 43111.097,36471.212,36474.847
#*# distance4 = 65.17
#*# distance4_pos1 = 37524.408,37604.778,37223.024
#*# distance4_pos2 = 40625.586,40715.945,34601.458
#*# distance5 = 65.16
#*# distance5_pos1 = 37262.297,37736.422,37353.026
#*# distance5_pos2 = 36382.627,43190.859,36474.847
#*# distance6 = 65.16
#*# distance6_pos1 = 34700.851,40046.404,40509.813
#*# distance6_pos2 = 36580.168,36274.139,42952.615
#*# distance7 = 65.28
#*# distance7_pos1 = 36589.881,36284.270,42464.095
#*# distance7_pos2 = 40710.970,34654.212,40349.038
#*# distance8 = 64.99
#*# distance8_pos1 = 40420.851,34780.973,40065.113
#*# distance8_pos2 = 42861.854,36665.597,36291.672
#*# distance9 = 65.22
#*# distance9_pos1 = 42373.338,36674.946,36301.342
#*# distance9_pos2 = 40256.526,40797.070,34664.615
#*# distance10 = 65.1
#*# distance10_pos1 = 39972.748,40506.431,34791.375
#*# distance10_pos2 = 36199.566,42941.128,36669.177
#*# distance11 = 65.34
#*# distance11_pos1 = 36209.339,42452.626,36678.993
#*# distance11_pos2 = 34574.091,40329.672,40799.785
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment