517 lines
14 KiB
INI
517 lines
14 KiB
INI
# _____ __ _ _ _
|
|
# / ____| / _(_) | | (_)
|
|
# | | ___ _ __ | |_ _ __ _ _ _ _ __ __ _| |_ _ ___ _ __ ___
|
|
# | | / _ \| '_ \| _| |/ _` | | | | '__/ _` | __| |/ _ \| '_ \/ __|
|
|
# | |___| (_) | | | | | | | (_| | |_| | | | (_| | |_| | (_) | | | \__ \
|
|
# \_____\___/|_| |_|_| |_|\__, |\__,_|_| \__,_|\__|_|\___/|_| |_|___/
|
|
# __/ |
|
|
# |___/
|
|
#
|
|
# Klipper Configurations - Flsun V400
|
|
# Version 4.0
|
|
#
|
|
# Guislain Cyril
|
|
|
|
|
|
########################################
|
|
# Firmware Settings
|
|
########################################
|
|
|
|
# MKS Robin Nano V2.0
|
|
|
|
# When running "make menuconfig"
|
|
#
|
|
# [*] Enable extra low-level configuration options
|
|
# Micro-controller Architecture (STMicroelectronics STM32) --->
|
|
# Processor model (STM32F103) --->
|
|
# [ ] Only 10KiB of RAM (for rare stm32f103x6 variant) (NEW)
|
|
# [ ] Disable SWD at startup (for GigaDevice stm32f103 clones) (NEW)
|
|
# Bootloader offset (28KiB bootloader) --->
|
|
# Clock Reference (8 MHz crystal) --->
|
|
# Communication interface (Serial (on USART3 PB11/PB10)) --->
|
|
# (250000) Baud rate for serial port
|
|
# () GPIO pins to set at micro-controller startup
|
|
#
|
|
# Note that the "make flash" command does not work with MKS Robin
|
|
# boards. After running "make", run the following command:
|
|
# ./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano35.bin
|
|
# Copy the file out/Robin_nano35.bin to an microSD card,
|
|
# insert it in the printer and restart it.
|
|
|
|
|
|
########################################
|
|
# Editable Settings
|
|
########################################
|
|
|
|
# Notes: Some settings can be enabled or disabled by removing or adding the '#' symbol
|
|
#
|
|
# PID (pid_Kp, pid_Ki, pid_Kd) --> [extruder] and [heater_bed] sections
|
|
# E-Steps Extruder (rotation_distance) --> [extruder] section --> <rotation_distance> = <full_steps_per_rotation> * <microsteps> / <steps_per_mm>
|
|
# Pressure Advance (pressure_advance) --> [extruder] section -- See: https://www.klipper3d.org/Pressure_Advance.html
|
|
# Firmware Retraction --> [firmware_retraction] section -- Requires "Klipper Settings Plugin" for Cura -- See: https://github.com/jjgraphix/KlipperSettingsPlugin
|
|
# ADXL345 function for resonance testing --> Enable/Disable [include adxl345_pico.cfg] or [include adxl345_fysetc.cfg] -- Configuration in [input_shaper] section -- See: https://www.klipper3d.org/Measuring_Resonances.html
|
|
# NeoPixels macros --> Enable/Disable [include neopixels.cfg]
|
|
# Timelapse function --> Enable/Disable [include timelapse.cfg]
|
|
|
|
|
|
########################################
|
|
# Included Files
|
|
########################################
|
|
|
|
[include macros.cfg]
|
|
#[include adxl345_pico.cfg] #Enable if you want to use ADXL with Rapsberry Pi Pico
|
|
#[include adxl345_fysetc.cfg] #Enable if you want to use ADXL with Fysetc Portable Input Shaper
|
|
[include timelapse.cfg] #Enable if you want to use Timelapse
|
|
#[include neopixels.cfg] #Enable if you want to use some Neopixels macros
|
|
|
|
########################################
|
|
# Enable Exclude Objects
|
|
########################################
|
|
[exclude_object]
|
|
|
|
########################################
|
|
# Printer Settings
|
|
########################################
|
|
|
|
[printer]
|
|
kinematics: delta
|
|
max_velocity: 600
|
|
#max_accel: 10000
|
|
max_accel: 8000
|
|
minimum_cruise_ratio: 0.5
|
|
square_corner_velocity: 5
|
|
max_z_velocity: 100
|
|
max_z_accel: 1500
|
|
minimum_z_position: -25
|
|
print_radius: 152
|
|
#delta_radius: 152
|
|
|
|
|
|
########################################
|
|
# X Stepper Motor & Driver Settings
|
|
########################################
|
|
|
|
[stepper_a]
|
|
step_pin: PE3
|
|
dir_pin: PE2
|
|
enable_pin: !PE4
|
|
microsteps: 64 # If you encounter an error while measuring the resonances. Replace the microsteps to 16 just for the duration of the test.
|
|
rotation_distance: 40
|
|
endstop_pin: ^PA15
|
|
homing_speed: 50
|
|
homing_retract_dist: 5.0
|
|
homing_retract_speed: 10
|
|
#angle: 210
|
|
#position_endstop: 415.0
|
|
#arm_length = 345.0
|
|
|
|
[tmc2209 stepper_a]
|
|
uart_pin: PD5
|
|
run_current: 1.2
|
|
interpolate: False
|
|
stealthchop_threshold: 0
|
|
|
|
[autotune_tmc stepper_a] # Enable if Klipper TMC Autotune is used
|
|
motor: flsun-v400-42
|
|
tuning_goal: silent
|
|
|
|
|
|
########################################
|
|
# Y Stepper Motor & Driver Settings
|
|
########################################
|
|
|
|
[stepper_b]
|
|
step_pin: PE0
|
|
dir_pin: PB9
|
|
enable_pin: !PE1
|
|
microsteps: 64 # If you encounter an error while measuring the resonances. Replace the microsteps to 16 just for the duration of the test.
|
|
rotation_distance: 40
|
|
endstop_pin: ^PA12
|
|
#angle: 330
|
|
|
|
[tmc2209 stepper_b]
|
|
uart_pin: PD7
|
|
run_current: 1.2
|
|
interpolate: False
|
|
stealthchop_threshold: 0
|
|
|
|
[autotune_tmc stepper_b] # Enable if Klipper TMC Autotune is used
|
|
motor: flsun-v400-42
|
|
tuning_goal: silent
|
|
|
|
|
|
########################################
|
|
# Z Stepper Motor & Driver Settings
|
|
########################################
|
|
|
|
[stepper_c]
|
|
step_pin: PB5
|
|
dir_pin: PB4
|
|
enable_pin: !PB8
|
|
microsteps: 64 # If you encounter an error while measuring the resonances. Replace the microsteps to 16 just for the duration of the test.
|
|
rotation_distance: 40
|
|
endstop_pin: ^PC4
|
|
#angle: 90
|
|
|
|
[tmc2209 stepper_c]
|
|
uart_pin: PD4
|
|
run_current: 1.2
|
|
interpolate: False
|
|
stealthchop_threshold: 0
|
|
|
|
[autotune_tmc stepper_c] # Enable if Klipper TMC Autotune is used
|
|
motor: flsun-v400-42
|
|
tuning_goal: silent
|
|
|
|
|
|
########################################
|
|
# Extruder & Driver Settings
|
|
########################################
|
|
|
|
[extruder]
|
|
step_pin: PD6
|
|
dir_pin: !PD3
|
|
enable_pin: !PB3
|
|
microsteps: 16
|
|
rotation_distance: 4.5
|
|
nozzle_diameter: 0.400
|
|
filament_diameter: 1.750
|
|
heater_pin: PC3
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
sensor_pin: PC1
|
|
min_temp: -5
|
|
max_temp: 315
|
|
max_extrude_cross_section: 50
|
|
max_extrude_only_distance: 800
|
|
#pressure_advance: 0.04
|
|
#pressure_advance_smooth_time: 0.040
|
|
#control = pid
|
|
#pid_kp = 17.501
|
|
#pid_ki = 0.711
|
|
#pid_kd = 107.630
|
|
|
|
[tmc2209 extruder]
|
|
uart_pin: PD9
|
|
run_current: 0.900
|
|
interpolate: True
|
|
stealthchop_threshold: 0
|
|
|
|
[autotune_tmc extruder] # Enable if Klipper TMC Autotune is used
|
|
motor: flsun-v400-36
|
|
tuning_goal: performance
|
|
|
|
|
|
########################################
|
|
# Bed Settings
|
|
########################################
|
|
|
|
[heater_bed]
|
|
heater_pin: PA0
|
|
sensor_pin: PC0
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
min_temp: -5
|
|
max_temp: 120
|
|
#control = pid
|
|
#pid_kp = 64.044
|
|
#pid_ki = 3.812
|
|
#pid_kd = 268.984
|
|
|
|
|
|
########################################
|
|
# Filament Sensor Settings
|
|
########################################
|
|
|
|
[filament_switch_sensor filament_sensor]
|
|
pause_on_runout: True
|
|
runout_gcode: M600
|
|
switch_pin: PA4
|
|
|
|
|
|
########################################
|
|
# Fans Settings
|
|
########################################
|
|
|
|
[fan]
|
|
pin: PB1
|
|
|
|
[heater_fan Hotend]
|
|
pin: PB0
|
|
heater_temp: 50.0
|
|
|
|
|
|
########################################
|
|
# Probe Settings
|
|
########################################
|
|
|
|
[probe]
|
|
pin: !PA11
|
|
x_offset: 0
|
|
y_offset: 0
|
|
#z_offset: 0
|
|
speed: 10
|
|
lift_speed: 50
|
|
samples: 8
|
|
samples_result: average
|
|
sample_retract_dist: 10
|
|
samples_tolerance: 0.02
|
|
samples_tolerance_retries: 7
|
|
|
|
|
|
########################################
|
|
# Delta Calibration & Mesh Settings
|
|
########################################
|
|
|
|
[delta_calibrate]
|
|
radius: 147
|
|
horizontal_move_z: 30
|
|
speed: 50
|
|
|
|
[bed_mesh]
|
|
speed: 50
|
|
horizontal_move_z: 30
|
|
mesh_radius: 147
|
|
mesh_origin: 0,0
|
|
mesh_pps: 2,2
|
|
round_probe_count: 13
|
|
algorithm: bicubic
|
|
bicubic_tension: 0.1
|
|
move_check_distance: 3
|
|
zero_reference_position: 0,0
|
|
fade_start: 1
|
|
fade_end: 30
|
|
|
|
|
|
########################################
|
|
# Temperature Controls
|
|
########################################
|
|
|
|
[verify_heater extruder]
|
|
max_error: 160
|
|
heating_gain: 1
|
|
|
|
[verify_heater heater_bed]
|
|
max_error: 120
|
|
heating_gain: 1
|
|
|
|
|
|
########################################
|
|
# Firmware Retraction Settings
|
|
########################################
|
|
|
|
[firmware_retraction]
|
|
retract_length: 0.7
|
|
retract_speed: 40
|
|
unretract_extra_length: 0.05
|
|
unretract_speed: 40
|
|
|
|
|
|
########################################
|
|
# Input Shaper Settings
|
|
########################################
|
|
|
|
[input_shaper]
|
|
shaper_freq_x: 38.6
|
|
shaper_type_x = mzv
|
|
shaper_freq_y: 45
|
|
shaper_type_y = ei
|
|
|
|
|
|
########################################
|
|
# G-Code Macros & Events
|
|
########################################
|
|
|
|
[idle_timeout]
|
|
timeout: 1800
|
|
|
|
[save_variables]
|
|
filename: ~/printer_data/config/variables.cfg
|
|
|
|
[gcode_arcs]
|
|
resolution: 0.1
|
|
|
|
[pause_resume]
|
|
|
|
[display_status]
|
|
|
|
[respond]
|
|
|
|
[exclude_object]
|
|
|
|
[virtual_sdcard]
|
|
path: ~/printer_data/gcodes
|
|
|
|
[endstop_phase stepper_a]
|
|
endstop_align_zero: False
|
|
|
|
[endstop_phase stepper_b]
|
|
endstop_align_zero: False
|
|
|
|
[endstop_phase stepper_c]
|
|
endstop_align_zero: False
|
|
|
|
|
|
########################################
|
|
# MCU Settings
|
|
########################################
|
|
|
|
[mcu]
|
|
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
|
|
restart_method: command
|
|
|
|
[temperature_sensor Speeder_Pad]
|
|
sensor_type: temperature_host
|
|
min_temp: 10
|
|
max_temp: 100
|
|
|
|
[temperature_sensor Motherboard]
|
|
sensor_type: temperature_mcu
|
|
min_temp: 0
|
|
max_temp: 100
|
|
|
|
|
|
########################################
|
|
# LED Settings
|
|
########################################
|
|
|
|
[output_pin LED_Hotend]
|
|
pin: PE12
|
|
pwm: False
|
|
value: 0
|
|
|
|
[output_pin LED_Logo]
|
|
pin: PD11
|
|
pwm: False
|
|
value: 1
|
|
|
|
#[neopixel NeoPixels]
|
|
#pin: PB2
|
|
#chain_count: 34
|
|
#color_order: GRB
|
|
#initial_RED: 1.0
|
|
#initial_GREEN: 1.0
|
|
#initial_BLUE: 1.0
|
|
|
|
#*# <---------------------- SAVE_CONFIG ---------------------->
|
|
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
|
#*#
|
|
#*# [probe]
|
|
#*# z_offset = 18.200
|
|
#*#
|
|
#*# [endstop_phase stepper_a]
|
|
#*# trigger_phase = 79/256
|
|
#*#
|
|
#*# [endstop_phase stepper_b]
|
|
#*# trigger_phase = 254/256
|
|
#*#
|
|
#*# [endstop_phase stepper_c]
|
|
#*# trigger_phase = 206/256
|
|
#*#
|
|
#*# [printer]
|
|
#*# delta_radius = 162.829917
|
|
#*#
|
|
#*# [stepper_a]
|
|
#*# angle = 209.300686
|
|
#*# arm_length = 345.986970
|
|
#*# position_endstop = 420.558738
|
|
#*#
|
|
#*# [stepper_b]
|
|
#*# angle = 329.598688
|
|
#*# arm_length = 348.438402
|
|
#*# position_endstop = 420.515789
|
|
#*#
|
|
#*# [stepper_c]
|
|
#*# angle = 90.000000
|
|
#*# arm_length = 349.909343
|
|
#*# position_endstop = 419.670651
|
|
#*#
|
|
#*# [heater_bed]
|
|
#*# control = pid
|
|
#*# pid_kp = 71.526
|
|
#*# pid_ki = 2.679
|
|
#*# pid_kd = 477.439
|
|
#*#
|
|
#*# [extruder]
|
|
#*# control = pid
|
|
#*# pid_kp = 20.379
|
|
#*# pid_ki = 1.105
|
|
#*# pid_kd = 93.998
|
|
#*#
|
|
#*# [delta_calibrate]
|
|
#*# height0 = 18.2
|
|
#*# height0_pos = 128643.125,128643.125,128643.125
|
|
#*# height1 = 18.2
|
|
#*# height1_pos = 151185.625,151185.625,116034.500
|
|
#*# height2 = 18.2
|
|
#*# height2_pos = 126066.750,163968.875,126066.750
|
|
#*# height3 = 18.2
|
|
#*# height3_pos = 116687.500,147509.000,147509.000
|
|
#*# height4 = 18.2
|
|
#*# height4_pos = 125447.875,125447.875,152735.000
|
|
#*# height5 = 18.2
|
|
#*# height5_pos = 144264.875,117511.375,144264.875
|
|
#*# height6 = 18.2
|
|
#*# height6_pos = 157982.000,125692.875,125692.875
|
|
#*# distance0 = 65.22
|
|
#*# distance0_pos1 = 133709.882,135048.967,134672.210
|
|
#*# distance0_pos2 = 125585.537,143478.708,143124.587
|
|
#*# distance1 = 66.614
|
|
#*# distance1_pos1 = 134089.484,134283.784,135057.079
|
|
#*# distance1_pos2 = 131134.771,131320.001,149879.921
|
|
#*# distance2 = 64.81400000000001
|
|
#*# distance2_pos1 = 134854.674,133904.832,134672.210
|
|
#*# distance2_pos2 = 143294.832,125780.502,143124.587
|
|
#*# distance3 = 65.24600000000001
|
|
#*# distance3_pos1 = 135240.309,134286.604,133907.014
|
|
#*# distance3_pos2 = 150063.143,131362.293,130962.953
|
|
#*# distance4 = 66.542
|
|
#*# distance4_pos1 = 134856.209,135051.810,133526.651
|
|
#*# distance4_pos2 = 143320.798,143526.801,125402.299
|
|
#*# distance5 = 64.902
|
|
#*# distance5_pos1 = 134091.007,135435.256,133907.014
|
|
#*# distance5_pos2 = 131157.605,150258.068,130962.953
|
|
#*# distance6 = 64.86
|
|
#*# distance6_pos1 = 126216.220,141729.000,142619.206
|
|
#*# distance6_pos2 = 131727.833,130804.267,149244.077
|
|
#*# distance7 = 64.97800000000001
|
|
#*# distance7_pos1 = 131801.881,130878.122,147986.863
|
|
#*# distance7_pos2 = 143547.785,125991.847,142119.881
|
|
#*# distance8 = 64.95
|
|
#*# distance8_pos1 = 142791.196,126413.194,141372.884
|
|
#*# distance8_pos2 = 149428.202,131955.547,130445.748
|
|
#*# distance9 = 64.958
|
|
#*# distance9_pos1 = 148170.975,132027.495,130518.256
|
|
#*# distance9_pos2 = 142315.947,143777.455,125612.344
|
|
#*# distance10 = 64.86
|
|
#*# distance10_pos1 = 141568.020,143018.187,126033.688
|
|
#*# distance10_pos2 = 130639.607,149620.552,131556.083
|
|
#*# distance11 = 65.418
|
|
#*# distance11_pos1 = 130711.386,148363.366,131629.395
|
|
#*# distance11_pos2 = 125794.880,142474.273,143376.735
|
|
#*#
|
|
#*# [bed_mesh default]
|
|
#*# version = 1
|
|
#*# points =
|
|
#*# 0.524343, 0.524343, 0.524343, 0.524343, 0.524343, 0.524343, 0.524343, 0.524343, 0.524343, 0.524343, 0.524343, 0.524343, 0.524343
|
|
#*# 0.231169, 0.231169, 0.231169, 0.231169, 0.232428, 0.280081, 0.285922, 0.279157, 0.239096, 0.422663, 0.422663, 0.422663, 0.422663
|
|
#*# -0.005174, -0.005174, -0.005174, 0.025327, 0.082217, 0.137324, 0.158020, 0.151443, 0.102332, 0.070268, -0.039889, -0.039889, -0.039889
|
|
#*# -0.079447, -0.079447, -0.057088, -0.023754, 0.047550, 0.057709, 0.066657, 0.056336, 0.020827, -0.043294, -0.168739, -0.274343, -0.274343
|
|
#*# -0.177325, -0.177325, -0.137760, -0.078935, -0.022789, 0.004518, 0.028573, 0.028511, -0.020562, -0.101591, -0.210414, -0.367500, -0.367500
|
|
#*# -0.199219, -0.199219, -0.139245, -0.050099, -0.043992, 0.017620, 0.008821, 0.016731, -0.051243, -0.124389, -0.273944, -0.395915, -0.395915
|
|
#*# -0.237914, -0.235596, -0.182026, -0.097795, -0.067260, -0.001307, 0.000000, 0.003958, -0.027834, -0.069716, -0.187086, -0.389913, -0.576114
|
|
#*# -0.235295, -0.235295, -0.175098, -0.120312, -0.076814, 0.008930, 0.008336, 0.028647, -0.016478, -0.070346, -0.223752, -0.361365, -0.361365
|
|
#*# -0.216282, -0.216282, -0.178705, -0.092129, 0.005655, 0.056249, 0.115697, 0.072443, 0.042605, -0.027682, -0.117692, -0.327184, -0.327184
|
|
#*# -0.215117, -0.215117, -0.139050, -0.081913, -0.001323, 0.070507, 0.114049, 0.156553, 0.099954, 0.004564, -0.135462, -0.244350, -0.244350
|
|
#*# -0.124974, -0.124974, -0.124974, -0.071656, 0.011119, 0.079444, 0.131822, 0.151263, 0.119350, 0.054511, -0.061693, -0.061693, -0.061693
|
|
#*# -0.039318, -0.039318, -0.039318, -0.039318, 0.039569, 0.123939, 0.163471, 0.200670, 0.135058, 0.120987, 0.120987, 0.120987, 0.120987
|
|
#*# 0.212010, 0.212010, 0.212010, 0.212010, 0.212010, 0.212010, 0.212010, 0.212010, 0.212010, 0.212010, 0.212010, 0.212010, 0.212010
|
|
#*# x_count = 13
|
|
#*# y_count = 13
|
|
#*# mesh_x_pps = 2
|
|
#*# mesh_y_pps = 2
|
|
#*# algo = bicubic
|
|
#*# tension = 0.1
|
|
#*# min_x = -147.0
|
|
#*# max_x = 147.0
|
|
#*# min_y = -147.0
|
|
#*# max_y = 147.0
|