printer: use voron-tap instead of magprobe

This commit is contained in:
Konstantin Koslowski 2022-12-29 20:42:02 +01:00
parent 1a502753ea
commit 0dd6d6b370
8 changed files with 57 additions and 938 deletions

View file

@ -63,7 +63,6 @@ path: /home/pi/gcode_files
[include fans.cfg]
[include input_shaper.cfg]
# [include resonance_test.cfg]
[include z_calibration.cfg]
[include ercf/hardware.cfg]
[include ercf/software.cfg]
@ -108,8 +107,8 @@ microsteps: 32
full_steps_per_rotation: 400 # 200: 1.8 deg stepper, 400: 0.9 deg stepper
endstop_pin: PG9
position_min: 0
position_endstop: 306
position_max: 308
position_endstop: 303
position_max: 305
homing_speed: 30 # Max 100
homing_retract_dist: 5
homing_positive_dir: true
@ -137,15 +136,13 @@ enable_pin: !PG5
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32
endstop_pin: PG10
## actual_position = measured_position_endstop - position_endstop
position_endstop: 0
endstop_pin: probe:z_virtual_endstop
position_max: 290
position_min: -1
homing_speed: 8.0 # speed: mm/sec, feedrate: mm/min
position_min: -2
homing_speed: 5.0 # speed: mm/sec, feedrate: mm/min
homing_retract_speed: 10
second_homing_speed: 2
homing_retract_dist: 3
homing_retract_dist: 5
[tmc2209 stepper_z]
uart_pin: PC6
@ -312,13 +309,9 @@ max_temp: 100
[idle_timeout]
timeout: 1800
## replaced with homing_override in klicky-probe.cfg
# [safe_z_home]
# ## XY Location of the Z Endstop Switch
# home_xy_position: 94, 306
# speed: 100
# z_hop: 10
# z_hop_speed: 25
[safe_z_home]
home_xy_position: 150, 150
z_hop: 10
#####################################################################
@ -326,19 +319,36 @@ timeout: 1800
#####################################################################
[probe]
## Microswitch probe
## Voron-Tap
pin: ^PG11
x_offset: 0
y_offset: 30
z_offset: 12
y_offset: 0
#z_offset: 0
speed: 5.0
lift_speed: 20
lift_speed: 10
samples: 3
samples_result: median
sample_retract_dist: 2
sample_retract_dist: 3
samples_tolerance: 0.01
samples_tolerance_retries: 5
activate_gcode:
{% set PROBE_TEMP = 150 %}
{% set MAX_TEMP = PROBE_TEMP + 5 %}
{% set ACTUAL_TEMP = printer.extruder.temperature %}
{% set TARGET_TEMP = printer.extruder.target %}
{% if TARGET_TEMP > PROBE_TEMP %}
{ action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) }
M109 S{ PROBE_TEMP }
{% else %}
# Temperature target is already low enough, but nozzle may still be too hot.
{% if ACTUAL_TEMP > MAX_TEMP %}
{ action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) }
TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP }
{% endif %}
{% endif %}
[bed_mesh]
speed: 500
@ -395,15 +405,15 @@ max_adjust: 10
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.063750, 0.050000, 0.041250, 0.030000, 0.022500, 0.021250, 0.011250, 0.011250, -0.003750
#*# 0.060000, 0.036250, 0.038750, 0.022500, -0.002500, 0.005000, -0.012500, -0.006250, -0.026250
#*# 0.052500, 0.027500, 0.028750, 0.023750, -0.001250, -0.010000, -0.022500, -0.028750, -0.045000
#*# 0.031250, 0.007500, 0.001250, -0.006250, -0.003750, -0.002500, -0.028750, -0.041250, -0.061250
#*# 0.033750, 0.015000, 0.001250, 0.023750, 0.000000, -0.005000, -0.038750, -0.041250, -0.071250
#*# 0.030000, 0.020000, -0.000000, -0.011250, -0.020000, -0.016250, -0.028750, -0.040000, -0.071250
#*# 0.012500, 0.003750, -0.011250, -0.017500, -0.023750, -0.032500, -0.045000, -0.052500, -0.086250
#*# 0.030000, 0.022500, 0.001250, -0.006250, -0.012500, -0.015000, -0.023750, -0.035000, -0.056250
#*# 0.053750, 0.038750, 0.057500, 0.008750, 0.002500, -0.002500, -0.007500, -0.012500, -0.033750
#*# -0.010000, -0.012500, -0.016250, -0.006250, -0.013750, 0.018750, -0.003750, 0.008750, 0.005000
#*# -0.010000, -0.016250, -0.012500, -0.010000, -0.028750, -0.013750, -0.017500, 0.000000, -0.007500
#*# -0.026250, -0.031250, -0.018750, -0.013750, -0.001250, -0.005000, -0.008750, 0.008750, 0.005000
#*# -0.007500, -0.025000, -0.013750, -0.008750, -0.002500, 0.000000, -0.010000, -0.002500, -0.006250
#*# -0.010000, 0.000000, -0.005000, 0.002500, 0.000000, 0.028750, -0.001250, 0.010000, 0.020000
#*# -0.027500, -0.026250, -0.032500, -0.022500, -0.028750, -0.016250, -0.015000, -0.018750, -0.028750
#*# -0.021250, -0.011250, -0.011250, -0.015000, -0.016250, -0.006250, -0.012500, -0.008750, -0.002500
#*# -0.005000, -0.002500, -0.007500, -0.007500, 0.006250, 0.007500, -0.003750, 0.010000, -0.008750
#*# -0.002500, 0.027500, 0.053750, 0.021250, 0.016250, 0.038750, 0.021250, 0.012500, -0.011250
#*# tension = 0.2
#*# min_x = 40.0
#*# algo = bicubic
@ -414,3 +424,6 @@ max_adjust: 10
#*# max_y = 290.0
#*# mesh_x_pps = 2
#*# max_x = 260.0
#*#
#*# [probe]
#*# z_offset = -0.710