Bed_Distance_sensor icon indicating copy to clipboard operation
Bed_Distance_sensor copied to clipboard

Auto Leveling (G29) with Marlin

Open adsaxton opened this issue 2 years ago • 6 comments

I designed my own mount for the BDSensor, locating it 35.5mm behind and about 1.2mm left of the nozzle. My printers been adjusted to home Y to -30. The BDS calibrated and homes fine, but I haven't figured out how to tram the bed yet. When I try to auto-level with G29, it scans the 1st and 2nd lines and then freezes Marlin. I have to cycle the power to get the printer back. I'm at a loss since no error is reported.

adsaxton avatar Nov 25 '23 16:11 adsaxton

did you try to comment out the BD_SENSOR_PROBE_NO_STOP ? or please send me your configure files to me [email protected]

markniu avatar Nov 28 '23 09:11 markniu

No. I did not (yet). I'll try that today. Here are my config files: Configs.zip

I've also got the issue where, if I try to print using the "Real Time Leveling" feature, my printer insists on starting the first layer at 0.0mm (against the bed) rather that the intended 0.2mm. I have not figured out how to overcome this issue.

adsaxton avatar Nov 28 '23 15:11 adsaxton

I found the problem! It appears there is a bug in the current version of Marlin-bugfix-2.1.x (02010300) where it uses Z_STOP_PIN, rather than Z_MIN_PROBE_PIN in some parts of the leveling code, including "Real Time Leveling". Changing Z_STOP_PIN to the same as Z_MIN_PROBE_PIN resolved the issues.

adsaxton avatar Nov 29 '23 18:11 adsaxton

I found the problem! It appears there is a bug in the current version of Marlin-bugfix-2.1.x (02010300) where it uses Z_STOP_PIN, rather than Z_MIN_PROBE_PIN in some parts of the leveling code, including "Real Time Leveling". Changing Z_STOP_PIN to the same as Z_MIN_PROBE_PIN resolved the issues.

I am experiencing the same problem and was wondering where exactly do I make this change

Ahuffins avatar Dec 15 '23 17:12 Ahuffins

I am experiencing the same problem and was wondering where exactly do I make this change

It's in the PIN file. For my BTT SKR Mini E3:

#define Z_STOP_PIN PC14 // PC2 // Z-STOP

adsaxton avatar Dec 15 '23 19:12 adsaxton

im experiencing the same issue. it goes all the way to the edge and freezes. my printer ender 3 s1 pro and in the pin files there is nothing related even 'Z'.

ibrahimhakkicandan avatar Jan 02 '24 12:01 ibrahimhakkicandan