Skip to content

Instantly share code, notes, and snippets.

@AndreKR
Created August 29, 2023 16:08
Show Gist options
  • Save AndreKR/f69417b30c7f5459e51575a3eb4c9f87 to your computer and use it in GitHub Desktop.
Save AndreKR/f69417b30c7f5459e51575a3eb4c9f87 to your computer and use it in GitHub Desktop.
Klipper config for FLSUN QQ (not QQ-S)
[include fluidd.cfg]
[include mainsail.cfg]
[virtual_sdcard]
path: /home/pi/FLSUN_data/gcodes
on_error_gcode: CANCEL_PRINT
# Comment copied from an old config I found on Facebook:
# > TFT 32 must be connected for Auto-Leveling to work correctly , it is used for +5v pullup z-min pin.
# > The value of z_offset in the [probe] section must be specified individually for your printer, the default value is 0.85
# > Step distance for your extruder must be specified in [extruder] section, the default value is 0.011363 for QQ default extruder.
[stepper_a]
step_pin: PF0
dir_pin: PF1
enable_pin: !PD7
endstop_pin: ^PE4
homing_speed: 50
rotation_distance: 32
microsteps: 16
[stepper_b]
step_pin: PF6
dir_pin: PF7
enable_pin: !PF2
endstop_pin: ^PJ0
rotation_distance: 32
microsteps: 16
[stepper_c]
step_pin: PL3
dir_pin: PL1
enable_pin: !PK0
endstop_pin: ^PD2
rotation_distance: 32
microsteps: 16
[extruder]
step_pin: PA4
dir_pin: !PA6
enable_pin: !PA2
# step_distance for QQ default extruder
# step_distance: 0.011494
#rotation_distance: 36.7808
rotation_distance: 35.9716224
# step_distance for Titan extruder
#step_distance: 0.002732
#rotation_distance: 8.7424
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
min_temp: 0
max_temp: 275
microsteps: 16
[heater_bed]
heater_pin: PH5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK6
min_temp: 0
max_temp: 150
[fan]
pin: PH6
kick_start_time: 0.200
[heater_fan extruder_cooler_fan]
pin: PL5
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
[printer]
kinematics: delta
max_velocity: 500
max_accel: 3000
max_z_velocity: 200
#delta_radius: 141.637
minimum_z_position: -40
[delta_calibrate]
radius: 100
horizontal_move_z: 15
speed: 30
[probe]
pin: !PD3
z_offset: 0.85
#speed: 5.0
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 21.505
#*# pid_ki = 1.129
#*# pid_kd = 102.417
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 57.715
#*# pid_ki = 1.983
#*# pid_kd = 419.874
#*#
#*# [printer]
#*# delta_radius = 140.501522
#*#
#*# [stepper_a]
#*# angle = 210.758739
#*# arm_length = 280.000000
#*# position_endstop = 377.991651
#*#
#*# [stepper_b]
#*# angle = 329.931323
#*# arm_length = 280.000000
#*# position_endstop = 376.405772
#*#
#*# [stepper_c]
#*# angle = 90.000000
#*# arm_length = 280.000000
#*# position_endstop = 376.139210
#*#
#*# [delta_calibrate]
#*# height0 = 0.0
#*# height0_pos = 37684.000,37684.000,37684.000
#*# height1 = 0.0
#*# height1_pos = 42884.000,42884.000,34212.000
#*# height2 = 0.0
#*# height2_pos = 36833.000,46200.000,36833.000
#*# height3 = 0.0
#*# height3_pos = 34519.000,42172.000,42172.000
#*# height4 = 0.0
#*# height4_pos = 36704.000,36704.000,43542.000
#*# height5 = 0.0
#*# height5_pos = 41302.000,34623.000,41302.000
#*# height6 = 0.0
#*# height6_pos = 44696.000,36653.000,36653.000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment