tri-zero/tri_zero.cfg
2024-11-05 10:06:43 -08:00

95 lines
1.8 KiB
INI

[mcu skrPico]
serial: /dev/serial/by-id/usb-Klipper_rp2040_455035712893EF38-if00
[temperature_sensor Skr_Pico]
sensor_type: temperature_mcu
sensor_mcu: skrPico
min_temp: 10
max_temp: 100
#####################################################################
# Z Stepper Settings
#####################################################################
[stepper_z]
step_pin: skrPico:gpio14
dir_pin: !skrPico:gpio13
enable_pin: !skrPico:gpio15
microsteps: 64
rotation_distance: 80
endstop_pin: probe:z_virtual_endstop
position_max: 110
position_min: -3
homing_speed: 20
second_homing_speed: 3
homing_retract_dist: 8
homing_positive_dir: False
[tmc2209 stepper_z]
uart_pin: skrPico:gpio9
tx_pin: skrPico:gpio8
uart_address: 1
interpolate: False
run_current: 0.1
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_z1]
step_pin: skrPico:gpio6
dir_pin: skrPico:gpio5
enable_pin: !skrPico:gpio7
microsteps: 64
rotation_distance: 40
[tmc2209 stepper_z1]
uart_pin: skrPico:gpio9
tx_pin: skrPico:gpio8
uart_address: 2
interpolate: False
run_current: 0.7
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_z2]
step_pin: skrPico:gpio11
dir_pin: skrPico:gpio10
enable_pin: !skrPico:gpio12
microsteps: 64
rotation_distance: 40
[tmc2209 stepper_z2]
uart_pin: skrPico:gpio9
tx_pin: skrPico:gpio8
uart_address: 0
interpolate: False
run_current: 0.5
sense_resistor: 0.110
stealthchop_threshold: 0
[z_tilt]
z_positions:
-47.5, 15
60, 115
167.5, 15
points:
0, 28
50, 108
95, 28
speed: 500
horizontal_move_z: 18
retries: 15
retry_tolerance: 0.0200
[gcode_macro FAST_TILT]
gcode:
# Home first if needed
{% if printer.toolhead.homed_axes != "xyz" %}
G28
{% endif %}
SET_DOCKABLE_PROBE AUTO_ATTACH_DETACH=0
ATTACH_PROBE
Z_TILT_ADJUST horizontal_move_z=18 retry_tolerance=1.00
Z_TILT_ADJUST horizontal_move_z=16
G28 Z
DETACH_PROBE