ercf: calibrate

This commit is contained in:
Konstantin Koslowski 2023-03-12 18:56:57 +01:00
parent 3e692cac7b
commit 310b46245e
3 changed files with 11 additions and 9 deletions

View file

@ -58,8 +58,10 @@ stealthchop_threshold: 5000
[servo ercf_servo]
pin: ercf:gpio21
maximum_servo_angle: 180
minimum_pulse_width: 0.00085
maximum_pulse_width: 0.00215
# minimum_pulse_width: 0.00085
# maximum_pulse_width: 0.00215
minimum_pulse_width: 0.001
maximum_pulse_width: 0.002
[duplicate_pin_override]
pins: ercf:gpio15

View file

@ -4,7 +4,7 @@
[ercf]
# Encoder
encoder_pin: ercf:gpio15 # easy brd
encoder_pin: ^ercf:gpio15 # easy brd
# encoder_resolution: 1.365188 # in mm
encoder_resolution: 1.349528 # from `ercf_calibrate_encoder`
# Speeds and accels
@ -55,7 +55,7 @@ variable_servo_up_angle: 20
# Default values:
# MG90S servo : 140
# SAVOX SH0255MG : 30
variable_servo_down_angle: 130 # xk
variable_servo_down_angle: 120 # xk
# Threshold for the final load check (i.e. the move from the toolhead sensor to the nozzle)
# Check the _ERCF_GET_LOAD_THRESHOLD command to get the proper value for your setup
variable_final_load_check_threshold: 10.0

View file

@ -1,15 +1,15 @@
[Variables]
ercf_calib_0 = 1.0
ercf_calib_1 = 0.999635726394
ercf_calib_1 = 1.0017808674381732
ercf_calib_10 = 1.0
ercf_calib_11 = 1.0
ercf_calib_2 = 1.00178086744
ercf_calib_3 = 1.00070714732
ercf_calib_4 = 1.00070714732
ercf_calib_2 = 1.0007071473230196
ercf_calib_3 = 0.9996357263944082
ercf_calib_4 = 1.0050158971500294
ercf_calib_5 = 0.999635726394
ercf_calib_6 = 1.0
ercf_calib_7 = 1.0
ercf_calib_8 = 1.0
ercf_calib_9 = 1.0
ercf_calib_ref = 774.629072
ercf_calib_ref = 782.7262400000001