Add support for the V3 of the BlTouch (#13596)
V3 of the BLTouch has an [Alarm Release & Touch mode](https://docs.wixstatic.com/ugd/f5a1c8_77037f55e5d542309d9fc178165c9f3f.pdf) to activate after the probe is deployed. If this mode isn't activated, the BLTouch keeps deploying, ends up detecting a collision and gets itself in error mode. Tested on a Creality Ender-3.
This commit is contained in:
committed by
Scott Lahteine
parent
5f783b4fe9
commit
f73829318f
@@ -479,6 +479,7 @@
|
||||
#define Z_SERVO_ANGLES { BLTOUCH_DEPLOY, BLTOUCH_STOW }
|
||||
|
||||
#define BLTOUCH_DEPLOY 10
|
||||
#define BLTOUCH_ALARM 60
|
||||
#define BLTOUCH_STOW 90
|
||||
#define BLTOUCH_SELFTEST 120
|
||||
#define BLTOUCH_RESET 160
|
||||
|
@@ -730,6 +730,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -2093,6 +2093,11 @@ void clean_up_after_endstop_or_probe_move() {
|
||||
}
|
||||
|
||||
bltouch_command(deploy ? BLTOUCH_DEPLOY : BLTOUCH_STOW);
|
||||
#if ENABLED(BLTOUCH_V3)
|
||||
// The version 3 of BlTouch needs to switch to Alarm & Test mode after deploy
|
||||
// or it keeps on pushing the probes out and ends up in error mode (collision).
|
||||
if (deploy) bltouch_command(BLTOUCH_ALARM);
|
||||
#endif
|
||||
|
||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||
if (DEBUGGING(LEVELING)) {
|
||||
|
@@ -743,6 +743,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -762,6 +762,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -771,6 +771,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -736,6 +736,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -711,6 +711,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -724,6 +724,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -711,6 +711,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -722,6 +722,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -733,6 +733,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -727,6 +727,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -742,6 +742,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -733,6 +733,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -727,6 +727,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -727,6 +727,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -733,6 +733,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -705,6 +705,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -705,6 +705,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -729,6 +729,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -738,6 +738,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -739,6 +739,7 @@
|
||||
#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -738,6 +738,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -727,6 +727,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -735,6 +735,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -743,6 +743,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -727,6 +727,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -727,6 +727,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -763,6 +763,7 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -721,6 +721,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -736,6 +736,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -754,6 +754,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -774,6 +774,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -734,6 +734,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -752,6 +752,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -733,6 +733,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -723,6 +723,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -862,6 +862,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -808,6 +808,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -808,6 +808,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -808,6 +808,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -813,6 +813,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -798,6 +798,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -798,6 +798,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -791,6 +791,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -801,6 +801,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -736,6 +736,7 @@
|
||||
#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
#define BLTOUCH_DELAY 500 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -861,6 +861,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -726,6 +726,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -718,6 +718,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@@ -728,6 +728,7 @@
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BLTOUCH)
|
||||
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
|
||||
//#define BLTOUCH_V3
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user