bigtreetech / SKR-2

195 stars 178 forks source link

BIQU B1 w SKR 2 (f407) not homing X, Y, or Z when using ABL/UBL tweaks to configuration.h #88

Closed DougJoseph closed 3 years ago

DougJoseph commented 3 years ago

I have a BLTouch installed on a BIQU B1 w SKR 2 (f407).

Attempts to use this bigtreetech/SKR-2/Marlin-bugfix-2.0.9.2.x firmware fail because the BIQU B1 is not homing X, Y, or Z when using ABL/UBL tweaks to configuration.h

Also, attempts to compile the vanilla "Marlin-bugfix-2.0.x" using "default_envs = BIGTREE_SKR_2" (correct for f407 chip) fail unless I manually overwrite "fast_pwm.cpp" with the BTT version of "fast_pwm.cpp" from this fork. After that, it will succeed in building, but if UBL / ABL tweaks are made to configuration.h, although it builds, the BIQU B1 still won't home X, Y, or Z.

When attempting to home X, the gantry moves up a few millimeters, then the printhead moves to the left a few millimeters, then stops. It stops even though it did not touch the X end stop.

When attempting to home Y, the bed moves back a few millimeters, then stops. It stops even though it did not touch the Y end stop.

When attempting to home Z, the printhead moves hard to the left while the bed moves hard to the back, and there is a sound of attempted continued motion (grinding) that happens for a brief time, presumably pressing in continued efforts even though the X and Y end stops were reached, but then the printhead never moves down to home the Z.

DougJoseph commented 3 years ago

SOLVED:

When using the latest Marlin-bugfix-2.0.x, and also using the latest configuration example files for "BIQU / B1 - SKR 2" from the following link,

https://github.com/MarlinFirmware/Configurations/tree/bugfix-2.0.x/config/examples/BIQU/B1%20-%20SKR%202

...and then ALSO still overwriting "fast_pwm.cpp" with the BTT version of "fast_pwm.cpp" from this fork, and following the instructions given in the README file in the configuration example folder for "BIQU / B1 - SKR 2" (copy and paste below), I get a successful build, and proper homing, and the "ABL" (Auto Bed Leveling) button seems to be working correctly to probe various points on the bed to obtain a mesh. I think I'm good.

PS: To increase the "defaulted" mesh's number of 3 columns and 3 rows (for mesh of 9 probing points), change this line in configuration.h:

#define GRID_MAX_POINTS_X 3

... to show some higher number. If you go as high as 10, you'd have a long, slow process to get a mesh, because it would probe 100 points (10 columns X 10 rows). I went with 8:

#define GRID_MAX_POINTS_X 8

Copy and paste from README in configuration example files for "BIQU / B1 - SKR 2":

BIQU B1 (SKR 2) Firmware

Flash drive support is enabled, but jumpers to enable support may not have been installed correctly from the factory. Follow Biqu's instructions, starting with Step 2 if flash drive support is not working correctly.

BLTouch Probe Support

Enable B1_USE_BLTOUCH for probe customizations.

This configuration retains the use of homing with a Z limit switch. If you want to home with the BLTouch probe, remove your Z limit switch & bracket and enable (uncomment) USE_PROBE_FOR_Z_HOMING and Z_SAFE_HOMING. Change Z_MIN_ENDSTOP_INVERTING from true to false.