512 lines
14 KiB
INI
512 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
|
|
|
|
|
|
########################################
|
|
# Printer Settings
|
|
########################################
|
|
|
|
[printer]
|
|
kinematics: delta
|
|
max_velocity: 600
|
|
max_accel: 10000
|
|
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 = 17.828
|
|
#*#
|
|
#*# [endstop_phase stepper_a]
|
|
#*# trigger_phase = 77/256
|
|
#*#
|
|
#*# [endstop_phase stepper_b]
|
|
#*# trigger_phase = 254/256
|
|
#*#
|
|
#*# [endstop_phase stepper_c]
|
|
#*# trigger_phase = 207/256
|
|
#*#
|
|
#*# [printer]
|
|
#*# delta_radius = 162.002474
|
|
#*#
|
|
#*# [stepper_a]
|
|
#*# angle = 209.973682
|
|
#*# arm_length = 344.755561
|
|
#*# position_endstop = 419.986098
|
|
#*#
|
|
#*# [stepper_b]
|
|
#*# angle = 329.779050
|
|
#*# arm_length = 344.988509
|
|
#*# position_endstop = 420.533328
|
|
#*#
|
|
#*# [stepper_c]
|
|
#*# angle = 90.000000
|
|
#*# arm_length = 345.350100
|
|
#*# position_endstop = 419.275934
|
|
#*#
|
|
#*# [bed_mesh default]
|
|
#*# version = 1
|
|
#*# points =
|
|
#*# -0.042722, -0.042722, -0.042722, -0.042722, -0.042722, -0.042722, -0.042722, -0.042722, -0.042722, -0.042722, -0.042722, -0.042722, -0.042722
|
|
#*# -0.103985, -0.103985, -0.103985, -0.103985, -0.092863, -0.041497, -0.029735, -0.024573, -0.009876, 0.303776, 0.303776, 0.303776, 0.303776
|
|
#*# -0.107217, -0.107217, -0.107217, -0.095680, -0.078747, -0.041636, -0.027165, 0.001847, 0.040765, 0.030959, -0.001207, -0.001207, -0.001207
|
|
#*# -0.020548, -0.020548, -0.030235, -0.045109, -0.047644, -0.013968, 0.004580, -0.022084, -0.040851, -0.010745, -0.072567, -0.046700, -0.046700
|
|
#*# -0.065225, -0.065225, -0.070452, -0.082613, -0.004947, -0.007693, 0.002972, -0.017327, 0.006928, -0.000043, -0.022182, -0.051542, -0.051542
|
|
#*# -0.015597, -0.015597, -0.024245, -0.016206, 0.017731, 0.011087, -0.007589, 0.014521, -0.014740, -0.055408, -0.078663, -0.128265, -0.128265
|
|
#*# -0.006361, -0.035030, -0.027430, -0.027100, -0.035687, 0.008191, 0.000000, 0.028685, -0.013501, -0.000669, -0.006836, -0.063614, -0.120604
|
|
#*# 0.009006, 0.009006, -0.038215, -0.004862, -0.005067, 0.023846, 0.005303, -0.017008, -0.001132, -0.047883, -0.078197, -0.104467, -0.104467
|
|
#*# -0.065296, -0.065296, -0.094076, -0.050048, 0.005887, 0.029406, 0.012646, -0.001847, 0.042902, 0.015198, -0.038658, -0.069033, -0.069033
|
|
#*# -0.089840, -0.089840, -0.067392, -0.046851, -0.046780, 0.008230, -0.024958, 0.005470, 0.000727, 0.014177, -0.031855, -0.067485, -0.067485
|
|
#*# -0.142119, -0.142119, -0.142119, -0.132495, -0.062554, -0.045859, -0.002144, 0.021794, 0.012583, 0.032188, -0.027538, -0.027538, -0.027538
|
|
#*# -0.150265, -0.150265, -0.150265, -0.150265, -0.090845, -0.036079, -0.013544, 0.013161, 0.011777, 0.039157, 0.039157, 0.039157, 0.039157
|
|
#*# 0.005246, 0.005246, 0.005246, 0.005246, 0.005246, 0.005246, 0.005246, 0.005246, 0.005246, 0.005246, 0.005246, 0.005246, 0.005246
|
|
#*# 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
|
|
#*#
|
|
#*# [heater_bed]
|
|
#*# control = pid
|
|
#*# pid_kp = 71.685
|
|
#*# pid_ki = 2.583
|
|
#*# pid_kd = 497.313
|
|
#*#
|
|
#*# [extruder]
|
|
#*# control = pid
|
|
#*# pid_kp = 20.836
|
|
#*# pid_ki = 1.187
|
|
#*# pid_kd = 91.417
|
|
#*#
|
|
#*# [delta_calibrate]
|
|
#*# height0 = 17.828
|
|
#*# height0_pos = 128669.000,128669.000,128669.000
|
|
#*# height1 = 17.828
|
|
#*# height1_pos = 151185.800,151185.800,116034.600
|
|
#*# height2 = 17.828
|
|
#*# height2_pos = 126085.200,163987.400,126085.200
|
|
#*# height3 = 17.828
|
|
#*# height3_pos = 116703.400,147524.800,147524.800
|
|
#*# height4 = 17.828
|
|
#*# height4_pos = 125485.400,125485.400,152772.600
|
|
#*# height5 = 17.828
|
|
#*# height5_pos = 144289.000,117535.400,144289.000
|
|
#*# height6 = 17.828
|
|
#*# height6_pos = 158014.000,125724.800,125724.800
|
|
#*# distance0 = 64.842
|
|
#*# distance0_pos1 = 133621.315,134972.482,134563.893
|
|
#*# distance0_pos2 = 125491.344,143400.833,143020.320
|
|
#*# distance1 = 65.035
|
|
#*# distance1_pos1 = 134001.019,134206.848,134948.991
|
|
#*# distance1_pos2 = 131041.776,131235.496,149780.315
|
|
#*# distance2 = 64.878
|
|
#*# distance2_pos1 = 134766.662,133828.010,134563.893
|
|
#*# distance2_pos2 = 143208.928,125698.066,143020.320
|
|
#*# distance3 = 64.88
|
|
#*# distance3_pos1 = 135152.650,134210.345,133798.242
|
|
#*# distance3_pos2 = 149983.962,131287.939,130851.341
|
|
#*# distance4 = 64.945
|
|
#*# distance4_pos1 = 134768.441,134976.007,133417.655
|
|
#*# distance4_pos2 = 143239.022,143460.477,125287.675
|
|
#*# distance5 = 64.858
|
|
#*# distance5_pos1 = 134002.784,135359.341,133798.242
|
|
#*# distance5_pos2 = 131068.237,150190.619,130851.341
|
|
#*# distance6 = 64.892
|
|
#*# distance6_pos1 = 126122.444,141650.703,142514.843
|
|
#*# distance6_pos2 = 131635.229,130719.895,149144.094
|
|
#*# distance7 = 64.988
|
|
#*# distance7_pos1 = 131709.573,130794.251,147886.148
|
|
#*# distance7_pos2 = 143462.253,125909.898,142015.038
|
|
#*# distance8 = 65.122
|
|
#*# distance8_pos1 = 142705.473,126331.599,141267.714
|
|
#*# distance8_pos2 = 149348.788,131881.624,130333.916
|
|
#*# distance9 = 65.015
|
|
#*# distance9_pos1 = 148090.827,131953.425,130406.602
|
|
#*# distance9_pos2 = 142233.571,143711.016,125497.896
|
|
#*# distance10 = 65.185
|
|
#*# distance10_pos1 = 141485.169,142950.990,125919.593
|
|
#*# distance10_pos2 = 130549.893,149552.325,131444.874
|
|
#*# distance11 = 65.11800000000001
|
|
#*# distance11_pos1 = 130621.733,148294.415,131518.365
|
|
#*# distance11_pos2 = 125700.751,142395.888,143272.712
|