markniu / Bed_Distance_sensor

Auto bed level with High resolution distance sensor
272 stars 26 forks source link

Sensor triggers in air #172

Closed RealHaltewunsch closed 4 days ago

RealHaltewunsch commented 1 month ago

I have the BDsensor M, I calibrated it and imI'm using these parameters: BDsensorVer:V1.2c,switch_mode=1,collision_homing=1,collision_cal=1

My config includes [force_move] enable_force_move: true

Still, every other time I try to print my probe triggers in air. The nozzle has a distance of about 3-5mm, the probe still has about 4-6mm distance to the bed. Sometimes it triggers the first time correctly, but then on the second try it triggers in air and keeps going up and up and up. I noticed that when the bed is heating I have a 0% chance of homing, so now I turn the heaters off before probing the bed, but still every other time it triggers in air and never finishes homing.

Klipper gives me following error: warning: triggered in air, 743 BDsensorVer:V1.2c,switch_mode=1,collision_homing=1,collision_cal=1

My calibration reading is: 17:10 805 at 3.9mm 17:10 797 at 3.8mm 17:10 783 at 3.7mm 17:10 783 at 3.6mm 17:10 776 at 3.5mm 17:10 767 at 3.4mm 17:10 758 at 3.3mm 17:10 751 at 3.2mm 17:10 742 at 3.1mm 17:10 731 at 3.0mm 17:10 720 at 2.9mm 17:10 710 at 2.8mm 17:10 697 at 2.7mm 17:10 685 at 2.6mm 17:10 673 at 2.5mm 17:10 658 at 2.4mm 17:10 643 at 2.3mm 17:10 631 at 2.2mm 17:10 616 at 2.1mm 17:10 601 at 2.0mm 17:10 581 at 1.9mm 17:10 544 at 1.8mm 17:10 545 at 1.7mm 17:10 526 at 1.6mm 17:10 503 at 1.5mm 17:10 487 at 1.4mm 17:10 462 at 1.3mm 17:10 439 at 1.2mm 17:10 416 at 1.1mm 17:10 395 at 1.0mm 17:10 372 at 0.9mm 17:10 343 at 0.8mm 17:10 319 at 0.7mm 17:10 294 at 0.6mm 17:10 267 at 0.5mm 17:10 246 at 0.4mm 17:10 222 at 0.3mm 17:10 199 at 0.2mm 17:10 174 at 0.1mm 17:10 153 at 0.0mm

What can I do about it?

config-20240813-171339.zip klippy.log

markniu commented 1 month ago

seems need to increase the second homing speed. set the second_homing_speedfrom 3 to 4 or 5

HelmutPirker commented 2 weeks ago

Bei mir ist das jetzt auch der Fehler warning: triggered in air angezeigt,. eine Erhörung der zweiten Homing- Geschwindigkeit behebt den Fehler nicht. Was jetzt?

RealHaltewunsch commented 4 days ago

@markniu thanks for your help, this solved it for me, I have set it to 4 and it homes fine every time.