When starting the printer, the bed leveling sensor does its little startup thing and then lights up static red. When pressing "Level Bed" or "Auto Home" it homes X and Y and after that sends the Z-axis crashing into the bed.
Is there anything I can change in the firmware to debug or fix this? I have checked the wiring and it's correct.
The BLTouch is not a genuine Creality since at the time it for some reason was not available in my country. The BLTouch is connected like any other BLTouch; 2 wires to the Z endstop connector, and 3 of them to "+5V", "GNF" and "IN". The firmware I got of Marlins GitHub and modified the Ender 3 Pro firmware I got of Marlins configuration GitHub (Marlin BugFix 2.0).
The stuff I modified I put here:
Configuration.h
#define USE_PROBE_FOR_Z_HOMING
#define BLTOUCH
#define NOZZLE_TO_PROBE_OFFSET { -42, -5, 0 }
#define AUTO_BED_LEVELING_BILINEAR
#define PREHEAT_BEFORE_LEVELING
#define LEVELING_BED_TEMP 65
#define GRID_MAX_POINTS_X 5
#define LCD_BED_LEVELING
#define Z_SAFE_HOMING
Configuration_adv.h
#define BABYSTEP_ZPROBE_OFFSET
I compiled this firmware with PlatformIO in VSCode with env: STM32F103RET6_creality
.
The board I used is version 4.2.2 32-bit.
The video I used can be seen here: