Everything but scan working

This commit is contained in:
Martyn 2025-06-20 13:19:38 +01:00
parent 170f44cd83
commit 79bff0e08c
2 changed files with 62 additions and 28 deletions

26
carto.cfg Normal file
View file

@ -0,0 +1,26 @@
[mcu scanner]
canbus_uuid: ef8cd9ee57d8
[scanner]
mcu: scanner
x_offset: 0
y_offset: 15
backlash_comp: 0.00478
sensor: cartographer
sensor_alt: carto
mesh_runs: 2
[bed_mesh]
zero_reference_position: 175,175
speed: 200
horizontal_move_z: 5
mesh_min: 30,30
mesh_max: 310,310
probe_count: 30,30
algorithm: bicubic
[temperature_sensor Cartographer_MCU]
sensor_type: temperature_mcu
sensor_mcu: scanner
min_temp: 0
max_temp: 105

View file

@ -36,6 +36,7 @@ canbus_uuid: 970febd72165
[include stealthburner_leds.cfg]
[include bedfans.cfg]
[include martyn_macros.cfg]
[include carto.cfg]
[printer]
kinematics: corexy
@ -115,13 +116,13 @@ enable_pin: !PG5
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32
#endstop_pin: probe:z_virtual_endstop
endstop_pin: !ebb36:PB7
endstop_pin: probe:z_virtual_endstop
#endstop_pin: !ebb36:PB7
## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)
## (+) value = endstop above Z0, (-) value = endstop below
## Increasing position_endstop brings nozzle closer to the bed
## After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your config
position_endstop: 0
#position_endstop: 0
position_max: 310
position_min: -5
homing_speed: 15
@ -422,22 +423,6 @@ sensor_type: temperature_mcu
# SET_TMC_CURRENT STEPPER=stepper_z2 CURRENT={run_current}
# SET_TMC_CURRENT STEPPER=stepper_z3 CURRENT={run_current}
[bed_mesh]
speed: 800
horizontal_move_z: 2
mesh_min: 30, 30
mesh_max: 310, 310
zero_reference_position: 175, 175
mesh_pps: 9, 9
algorithm: bicubic
bicubic_tension: 0.2
probe_count: 9,9
[gcode_macro BED_MESH_CALIBRATE]
rename_existing: BTT_BED_MESH_CALIBRATE
gcode:
BTT_BED_MESH_CALIBRATE METHOD=rapid_scan
[input_shaper]
shaper_freq_x: 91.4
shaper_freq_y: 70.0
@ -452,15 +437,15 @@ enable_force_move: True
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.025126, 0.014223, 0.018317, 0.053334, 0.047339, 0.039272, 0.047339, 0.056692, 0.027783
#*# 0.027113, 0.048656, 0.032502, 0.043309, 0.021724, 0.040593, 0.066647, 0.070654, 0.031177
#*# 0.012886, 0.037950, 0.025126, 0.034566, 0.041913, 0.029851, 0.060685, 0.037950, 0.045287
#*# 0.008814, 0.000616, 0.002713, 0.019650, 0.006722, 0.012234, 0.034566, 0.039272, 0.032502
#*# -0.010299, 0.002983, 0.000616, 0.016984, -0.000727, 0.001959, 0.020393, 0.029104, 0.019650
#*# 0.004043, -0.013759, 0.014906, 0.029851, 0.014906, 0.020393, 0.045287, 0.049972, 0.025126
#*# 0.022390, 0.005389, 0.023055, 0.039208, 0.046605, 0.042649, 0.065350, 0.040593, 0.052020
#*# 0.029104, 0.028816, 0.013570, 0.045287, 0.047339, 0.062664, 0.084536, 0.061355, 0.049972
#*# 0.048656, 0.030141, 0.016984, 0.029851, 0.034566, 0.042649, 0.048656, 0.075290, 0.045287
#*# 0.025126, 0.014223, 0.018317, 0.053334, 0.047339, 0.039272, 0.047339, 0.056692, 0.027783
#*# 0.027113, 0.048656, 0.032502, 0.043309, 0.021724, 0.040593, 0.066647, 0.070654, 0.031177
#*# 0.012886, 0.037950, 0.025126, 0.034566, 0.041913, 0.029851, 0.060685, 0.037950, 0.045287
#*# 0.008814, 0.000616, 0.002713, 0.019650, 0.006722, 0.012234, 0.034566, 0.039272, 0.032502
#*# -0.010299, 0.002983, 0.000616, 0.016984, -0.000727, 0.001959, 0.020393, 0.029104, 0.019650
#*# 0.004043, -0.013759, 0.014906, 0.029851, 0.014906, 0.020393, 0.045287, 0.049972, 0.025126
#*# 0.022390, 0.005389, 0.023055, 0.039208, 0.046605, 0.042649, 0.065350, 0.040593, 0.052020
#*# 0.029104, 0.028816, 0.013570, 0.045287, 0.047339, 0.062664, 0.084536, 0.061355, 0.049972
#*# 0.048656, 0.030141, 0.016984, 0.029851, 0.034566, 0.042649, 0.048656, 0.075290, 0.045287
#*# x_count = 9
#*# y_count = 9
#*# mesh_x_pps = 9
@ -476,3 +461,26 @@ enable_force_move: True
#*# xy_skew = 0.002269819397871509
#*# xz_skew = 0.0
#*# yz_skew = 0.0
#*#
#*# [scanner]
#*# mode = touch
#*# scanner_touch_threshold = 3000
#*# scanner_touch_speed = 3
#*#
#*# [scanner model default]
#*# model_coef = 1.4660235274886952,
#*# 1.8088603709207522,
#*# 0.7349055898946472,
#*# 0.2687409591730736,
#*# 0.47813534708329936,
#*# 0.669955108628895,
#*# -0.3235976797345473,
#*# -0.6702739199959514,
#*# 0.2940760023005045,
#*# 0.3745733001336773
#*# model_domain = 3.2050348407481734e-07,3.335190657416707e-07
#*# model_range = 0.200000,5.100000
#*# model_temp = 30.248095
#*# model_offset = 0.00000
#*# model_mode = touch
#*# model_fw_version = CARTOGRAPHER 5.0.0