Klipper configs files
This commit is contained in:
57
Klipeer/biqu-microprobe.cfg
Normal file
57
Klipeer/biqu-microprobe.cfg
Normal file
@@ -0,0 +1,57 @@
|
||||
[output_pin probe_enable]
|
||||
pin: gpio29 # The control IO on the SKR 3 is PE5
|
||||
value: 0 # Probe default retracted
|
||||
|
||||
[gcode_macro Probe_Deploy]
|
||||
gcode:
|
||||
SET_PIN PIN=probe_enable VALUE=1
|
||||
|
||||
[gcode_macro Probe_Stow]
|
||||
gcode:
|
||||
SET_PIN PIN=probe_enable VALUE=0
|
||||
|
||||
[probe]
|
||||
pin: ^!gpio22 # The detection IO on the SKR 3 is PC13, V1 should be ^PC13
|
||||
deactivate_on_each_sample: False
|
||||
x_offset: -26.0 # Actual installed offset of MicroProbe
|
||||
y_offset: -26.5 # Actual installed offset of MicroProbe
|
||||
z_offset: -1.250 # Actual installed offset of MicroProbe
|
||||
speed: 5.0
|
||||
activate_gcode:
|
||||
Probe_Deploy
|
||||
G4 P500
|
||||
deactivate_gcode:
|
||||
Probe_Stow
|
||||
|
||||
[bed_mesh]
|
||||
speed: 300
|
||||
horizontal_move_z: 10
|
||||
|
||||
mesh_min: 27,27
|
||||
mesh_max: 198,198
|
||||
|
||||
|
||||
fade_start: 0.6
|
||||
fade_end: 10.0
|
||||
probe_count: 5,5
|
||||
algorithm: bicubic
|
||||
|
||||
[screws_tilt_adjust]
|
||||
screw1: 138.00,138.5
|
||||
screw1_name: Central screw
|
||||
screw2: 53.00,53.50
|
||||
screw3_name: Front left screw
|
||||
screw3: 53.00,224.50
|
||||
screw3_name: Rear left screw
|
||||
screw4: 224.00,53.50
|
||||
screw4_name: Front right screw
|
||||
screw5: 224.00,224.50
|
||||
screw5_name: Rear right screw
|
||||
speed: 150
|
||||
screw_thread: CW-M3
|
||||
|
||||
[axis_twist_compensation]
|
||||
speed: 50
|
||||
calibrate_start_x: 20
|
||||
calibrate_end_x: 200
|
||||
calibrate_y: 112.5
|
||||
164
Klipeer/printer.cfg
Normal file
164
Klipeer/printer.cfg
Normal file
@@ -0,0 +1,164 @@
|
||||
[include mainsail.cfg]
|
||||
[include biqu-microprobe.cfg]
|
||||
[include sensorless.cfg]
|
||||
[respond]
|
||||
# This file contains common pin mappings for the BIGTREETECH SKR Pico V1.0
|
||||
# To use this config, the firmware should be compiled for the RP2040 with
|
||||
# USB communication.
|
||||
|
||||
# The "make flash" command does not work on the SKR Pico V1.0. Instead,
|
||||
# after running "make", copy the generated "out/klipper.uf2" file
|
||||
# to the mass storage device in RP2040 boot mode
|
||||
|
||||
# See docs/Config_Reference.md for a description of parameters.
|
||||
|
||||
[stepper_x]
|
||||
step_pin: gpio11
|
||||
dir_pin: !gpio10
|
||||
enable_pin: !gpio12
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
position_min:-17
|
||||
position_endstop: -17
|
||||
position_max: 235
|
||||
homing_speed: 50
|
||||
homing_retract_dist: 0
|
||||
endstop_pin: tmc2209_stepper_x:virtual_endstop
|
||||
homing_speed: 20 ## TMC SENSORLESS
|
||||
|
||||
[tmc2209 stepper_x]
|
||||
uart_pin: gpio9
|
||||
tx_pin: gpio8
|
||||
uart_address: 0
|
||||
run_current: 0.580
|
||||
stealthchop_threshold: 999999
|
||||
diag_pin: ^gpio4
|
||||
driver_SGTHRS: 45 ## Ajustaremos la sensibilidad
|
||||
|
||||
[stepper_y]
|
||||
step_pin: gpio6
|
||||
dir_pin: !gpio5
|
||||
enable_pin: !gpio7
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
position_min:-5
|
||||
position_endstop: -5
|
||||
position_max: 230
|
||||
homing_speed: 50
|
||||
homing_retract_dist: 0
|
||||
endstop_pin: tmc2209_stepper_y:virtual_endstop
|
||||
homing_speed: 20 ## TMC SENSORLESS
|
||||
|
||||
[tmc2209 stepper_y]
|
||||
uart_pin: gpio9
|
||||
tx_pin: gpio8
|
||||
uart_address: 2
|
||||
run_current: 0.580
|
||||
stealthchop_threshold: 999999
|
||||
diag_pin: ^gpio3
|
||||
driver_SGTHRS: 45 ## Ajustaremos la sensibilidad
|
||||
|
||||
[stepper_z]
|
||||
step_pin: gpio19
|
||||
dir_pin: gpio28
|
||||
enable_pin: !gpio2
|
||||
microsteps: 16
|
||||
rotation_distance: 8
|
||||
endstop_pin: probe:z_virtual_endstop
|
||||
#position_endstop: 0.0
|
||||
position_max: 225
|
||||
position_min: -5
|
||||
|
||||
[tmc2209 stepper_z]
|
||||
uart_pin: gpio9
|
||||
tx_pin: gpio8
|
||||
uart_address: 1
|
||||
run_current: 0.580
|
||||
stealthchop_threshold: 999999
|
||||
|
||||
[extruder]
|
||||
step_pin: gpio14
|
||||
dir_pin: !gpio13
|
||||
enable_pin: !gpio15
|
||||
microsteps: 16
|
||||
rotation_distance: 26.359
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.750
|
||||
heater_pin: gpio23
|
||||
sensor_type: ATC Semitec 104NT-4-R025H42G
|
||||
sensor_pin: gpio27
|
||||
control: pid
|
||||
pid_Kp: 34.178
|
||||
pid_Ki: 2.589
|
||||
pid_Kd: 112.787
|
||||
min_temp: -50
|
||||
max_temp: 300
|
||||
|
||||
[tmc2209 extruder]
|
||||
uart_pin: gpio9
|
||||
tx_pin: gpio8
|
||||
uart_address: 3
|
||||
run_current: 0.650
|
||||
stealthchop_threshold: 999999
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: gpio21
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: gpio26
|
||||
control: pid
|
||||
pid_Kp: 54.027
|
||||
pid_Ki: 0.770
|
||||
pid_Kd: 948.182
|
||||
min_temp: 0
|
||||
max_temp: 130
|
||||
|
||||
[fan]
|
||||
pin: gpio17
|
||||
|
||||
[heater_fan heatbreak_cooling_fan]
|
||||
pin: gpio18
|
||||
|
||||
[heater_fan controller_fan]
|
||||
pin: gpio20
|
||||
|
||||
[temperature_sensor pico]
|
||||
sensor_type: temperature_mcu
|
||||
|
||||
[mcu]
|
||||
serial: /dev/ttyS0
|
||||
baud: 250000
|
||||
restart_method: command
|
||||
|
||||
[printer]
|
||||
kinematics: cartesian
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_z_velocity: 5
|
||||
max_z_accel: 100
|
||||
|
||||
#*# <---------------------- SAVE_CONFIG ---------------------->
|
||||
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||||
#*#
|
||||
#*# [axis_twist_compensation]
|
||||
#*# z_compensations = -0.057500, 0.015000, 0.042500
|
||||
#*# compensation_start_x = 20.0
|
||||
#*# compensation_end_x = 200.0
|
||||
#*#
|
||||
#*# [bed_mesh default]
|
||||
#*# version = 1
|
||||
#*# points =
|
||||
#*# -0.010917, -0.041479, -0.023792, -0.040729, -0.052667
|
||||
#*# 0.004083, -0.036479, -0.013792, -0.035729, -0.040167
|
||||
#*# 0.006583, -0.031479, -0.013792, -0.035729, -0.050167
|
||||
#*# 0.004083, -0.021479, -0.001292, -0.015729, -0.022667
|
||||
#*# 0.036583, -0.001479, 0.003708, -0.013229, -0.020167
|
||||
#*# x_count = 5
|
||||
#*# y_count = 5
|
||||
#*# mesh_x_pps = 2
|
||||
#*# mesh_y_pps = 2
|
||||
#*# algo = bicubic
|
||||
#*# tension = 0.2
|
||||
#*# min_x = 27.0
|
||||
#*# max_x = 198.0
|
||||
#*# min_y = 37.0
|
||||
#*# max_y = 198.0
|
||||
80
Klipeer/sensorless.cfg
Normal file
80
Klipeer/sensorless.cfg
Normal file
@@ -0,0 +1,80 @@
|
||||
[force_move]
|
||||
enable_force_move: true
|
||||
|
||||
[gcode_macro HOME_X]
|
||||
gcode:
|
||||
SET_TMC_CURRENT STEPPER=stepper_x CURRENT=0.5
|
||||
G28 X
|
||||
G0 X{225/ 2} F9000
|
||||
SET_TMC_CURRENT STEPPER=stepper_x CURRENT={printer.configfile.config["tmc2209 stepper_x"].run_current}
|
||||
|
||||
[gcode_macro HOME_Y]
|
||||
gcode:
|
||||
SET_TMC_CURRENT STEPPER=stepper_y CURRENT=0.5
|
||||
G28 Y
|
||||
G0 Y{225 / 2} F9000
|
||||
SET_TMC_CURRENT STEPPER=stepper_y CURRENT={printer.configfile.config["tmc2209 stepper_x"].run_current}
|
||||
|
||||
[gcode_macro HOME_Z]
|
||||
gcode:
|
||||
{% set PROBE_X_OFFSET = 26.00 %}
|
||||
{% set PROBE_Y_OFFSET = 26.50 %}
|
||||
G0 X{( 225 / 2 ) + PROBE_X_OFFSET } F9000
|
||||
G0 Y{( 225 / 2 ) + PROBE_Y_OFFSET } F9000
|
||||
G28 Z
|
||||
G0 Z10 F600
|
||||
G0 Y{225 / 2} F9000
|
||||
G0 X{225 / 2} F9000
|
||||
M204 S{printer.configfile.config.printer.max_accel}
|
||||
|
||||
[gcode_macro HOME_Z_homed]
|
||||
gcode:
|
||||
HOME_X
|
||||
HOME_Y
|
||||
HOME_Z
|
||||
|
||||
[homing_override]
|
||||
axes: xyz
|
||||
gcode:
|
||||
|
||||
{% set x_homed = 'x' in printer.toolhead.homed_axes %}
|
||||
{% set y_homed = 'y' in printer.toolhead.homed_axes %}
|
||||
{% set z_homed = 'z' in printer.toolhead.homed_axes %}
|
||||
{% set home_all = 'X' not in params and 'Y' not in params and 'Z' not in params %}
|
||||
{% set current_z = printer.toolhead.position.z %}
|
||||
|
||||
{% if not z_homed or home_all %}
|
||||
SET_KINEMATIC_POSITION Z=0
|
||||
G91
|
||||
G1 Z10 F300
|
||||
{% endif %}
|
||||
|
||||
|
||||
M400
|
||||
G90
|
||||
M204 S1000
|
||||
|
||||
{% if current_z < 10 %}
|
||||
G0 Z10 F600
|
||||
{% endif %}
|
||||
|
||||
{% if home_all or not z_homed %}
|
||||
HOME_Z_homed
|
||||
{% endif %}
|
||||
|
||||
{% if 'Y' in params and 'X' in params %}
|
||||
HOME_X
|
||||
HOME_Y
|
||||
{% endif %}
|
||||
|
||||
{% if 'Y' in params %}
|
||||
HOME_Y
|
||||
{% endif %}
|
||||
|
||||
{% if 'X' in params %}
|
||||
HOME_X
|
||||
{% endif %}
|
||||
|
||||
{% if 'Z' in params %}
|
||||
HOME_Z
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user