Browse Source

BLTouch V3.0 support (#13406)

InsanityAutomation 5 years ago
parent
commit
691e5c3bb8
100 changed files with 797 additions and 77 deletions
  1. 7
    0
      Marlin/Configuration.h
  2. 5
    1
      Marlin/src/Marlin.cpp
  3. 93
    0
      Marlin/src/feature/bltouch.cpp
  4. 59
    0
      Marlin/src/feature/bltouch.h
  5. 5
    1
      Marlin/src/gcode/calibrate/G28.cpp
  6. 2
    2
      Marlin/src/gcode/calibrate/G34_M422.cpp
  7. 1
    13
      Marlin/src/inc/Conditionals_LCD.h
  8. 9
    0
      Marlin/src/lcd/language/language_en.h
  9. 2
    2
      Marlin/src/lcd/menu/menu.h
  10. 6
    4
      Marlin/src/lcd/menu/menu_advanced.cpp
  11. 5
    0
      Marlin/src/lcd/menu/menu_configuration.cpp
  12. 1
    1
      Marlin/src/module/configuration_store.cpp
  13. 8
    4
      Marlin/src/module/motion.cpp
  14. 6
    33
      Marlin/src/module/probe.cpp
  15. 0
    10
      Marlin/src/module/probe.h
  16. 11
    2
      Marlin/src/module/servo.h
  17. 3
    4
      buildroot/share/tests/megaatmega2560-tests
  18. 7
    0
      config/default/Configuration.h
  19. 7
    0
      config/examples/3DFabXYZ/Migbot/Configuration.h
  20. 7
    0
      config/examples/AlephObjects/TAZ4/Configuration.h
  21. 7
    0
      config/examples/AliExpress/CL-260/Configuration.h
  22. 7
    0
      config/examples/AliExpress/UM2pExt/Configuration.h
  23. 7
    0
      config/examples/Anet/A2/Configuration.h
  24. 7
    0
      config/examples/Anet/A2plus/Configuration.h
  25. 7
    0
      config/examples/Anet/A6/Configuration.h
  26. 7
    0
      config/examples/Anet/A8/Configuration.h
  27. 7
    0
      config/examples/AnyCubic/i3/Configuration.h
  28. 7
    0
      config/examples/ArmEd/Configuration.h
  29. 7
    0
      config/examples/Azteeg/X5GT/Configuration.h
  30. 7
    0
      config/examples/BIBO/TouchX/cyclops/Configuration.h
  31. 7
    0
      config/examples/BIBO/TouchX/default/Configuration.h
  32. 7
    0
      config/examples/BQ/Hephestos/Configuration.h
  33. 7
    0
      config/examples/BQ/Hephestos_2/Configuration.h
  34. 7
    0
      config/examples/BQ/WITBOX/Configuration.h
  35. 7
    0
      config/examples/Cartesio/Configuration.h
  36. 7
    0
      config/examples/Creality/CR-10/Configuration.h
  37. 7
    0
      config/examples/Creality/CR-10S/Configuration.h
  38. 7
    0
      config/examples/Creality/CR-10_5S/Configuration.h
  39. 7
    0
      config/examples/Creality/CR-10mini/Configuration.h
  40. 7
    0
      config/examples/Creality/CR-8/Configuration.h
  41. 7
    0
      config/examples/Creality/Ender-2/Configuration.h
  42. 7
    0
      config/examples/Creality/Ender-3/Configuration.h
  43. 7
    0
      config/examples/Creality/Ender-4/Configuration.h
  44. 7
    0
      config/examples/Einstart-S/Configuration.h
  45. 7
    0
      config/examples/Felix/Configuration.h
  46. 7
    0
      config/examples/Felix/DUAL/Configuration.h
  47. 7
    0
      config/examples/FlashForge/CreatorPro/Configuration.h
  48. 7
    0
      config/examples/FolgerTech/i3-2020/Configuration.h
  49. 7
    0
      config/examples/Formbot/Raptor/Configuration.h
  50. 7
    0
      config/examples/Formbot/T_Rex_2+/Configuration.h
  51. 7
    0
      config/examples/Formbot/T_Rex_3/Configuration.h
  52. 7
    0
      config/examples/Geeetech/A10M/Configuration.h
  53. 7
    0
      config/examples/Geeetech/A20M/Configuration.h
  54. 7
    0
      config/examples/Geeetech/GT2560/Configuration.h
  55. 7
    0
      config/examples/Geeetech/MeCreator2/Configuration.h
  56. 7
    0
      config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  57. 7
    0
      config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  58. 7
    0
      config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  59. 7
    0
      config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  60. 7
    0
      config/examples/Infitary/i3-M508/Configuration.h
  61. 7
    0
      config/examples/JGAurora/A5/Configuration.h
  62. 7
    0
      config/examples/MakerParts/Configuration.h
  63. 7
    0
      config/examples/Malyan/M150/Configuration.h
  64. 7
    0
      config/examples/Malyan/M200/Configuration.h
  65. 7
    0
      config/examples/Micromake/C1/basic/Configuration.h
  66. 7
    0
      config/examples/Micromake/C1/enhanced/Configuration.h
  67. 7
    0
      config/examples/Mks/Robin/Configuration.h
  68. 7
    0
      config/examples/Mks/Sbase/Configuration.h
  69. 7
    0
      config/examples/Printrbot/PrintrboardG2/Configuration.h
  70. 7
    0
      config/examples/RapideLite/RL200/Configuration.h
  71. 7
    0
      config/examples/RepRapPro/Huxley/Configuration.h
  72. 7
    0
      config/examples/RepRapWorld/Megatronics/Configuration.h
  73. 7
    0
      config/examples/RigidBot/Configuration.h
  74. 7
    0
      config/examples/SCARA/Configuration.h
  75. 7
    0
      config/examples/STM32F10/Configuration.h
  76. 7
    0
      config/examples/STM32F4/Configuration.h
  77. 7
    0
      config/examples/Sanguinololu/Configuration.h
  78. 7
    0
      config/examples/TheBorg/Configuration.h
  79. 7
    0
      config/examples/TinyBoy2/Configuration.h
  80. 7
    0
      config/examples/Tronxy/X1/Configuration.h
  81. 7
    0
      config/examples/Tronxy/X3A/Configuration.h
  82. 7
    0
      config/examples/Tronxy/X5S-2E/Configuration.h
  83. 7
    0
      config/examples/Tronxy/X5S/Configuration.h
  84. 7
    0
      config/examples/Tronxy/XY100/Configuration.h
  85. 7
    0
      config/examples/UltiMachine/Archim1/Configuration.h
  86. 7
    0
      config/examples/UltiMachine/Archim2/Configuration.h
  87. 7
    0
      config/examples/VORONDesign/Configuration.h
  88. 7
    0
      config/examples/Velleman/K8200/Configuration.h
  89. 7
    0
      config/examples/Velleman/K8400/Configuration.h
  90. 7
    0
      config/examples/Velleman/K8400/Dual-head/Configuration.h
  91. 7
    0
      config/examples/WASP/PowerWASP/Configuration.h
  92. 7
    0
      config/examples/Wanhao/Duplicator 6/Configuration.h
  93. 7
    0
      config/examples/adafruit/ST7565/Configuration.h
  94. 7
    0
      config/examples/delta/Anycubic/Kossel/Configuration.h
  95. 7
    0
      config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  96. 7
    0
      config/examples/delta/FLSUN/kossel/Configuration.h
  97. 7
    0
      config/examples/delta/FLSUN/kossel_mini/Configuration.h
  98. 7
    0
      config/examples/delta/Geeetech/Rostock 301/Configuration.h
  99. 7
    0
      config/examples/delta/Hatchbox_Alpha/Configuration.h
  100. 0
    0
      config/examples/delta/MKS/SBASE/Configuration.h

+ 7
- 0
Marlin/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 5
- 1
Marlin/src/Marlin.cpp View File

84
   #include "feature/leds/leds.h"
84
   #include "feature/leds/leds.h"
85
 #endif
85
 #endif
86
 
86
 
87
+#if ENABLED(BLTOUCH)
88
+  #include "feature/bltouch.h"
89
+#endif
90
+
87
 #if HAS_SERVOS
91
 #if HAS_SERVOS
88
   #include "module/servo.h"
92
   #include "module/servo.h"
89
 #endif
93
 #endif
1049
   #endif
1053
   #endif
1050
 
1054
 
1051
   #if ENABLED(BLTOUCH)
1055
   #if ENABLED(BLTOUCH)
1052
-    bltouch_init();
1056
+    bltouch.init();
1053
   #endif
1057
   #endif
1054
 
1058
 
1055
   #if ENABLED(I2C_POSITION_ENCODERS)
1059
   #if ENABLED(I2C_POSITION_ENCODERS)

+ 93
- 0
Marlin/src/feature/bltouch.cpp View File

1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+
23
+#include "../inc/MarlinConfig.h"
24
+
25
+#if ENABLED(BLTOUCH)
26
+
27
+#include "bltouch.h"
28
+
29
+BLTouch bltouch;
30
+
31
+#include "../module/servo.h"
32
+
33
+void stop();
34
+
35
+#define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE)
36
+#include "../core/debug_out.h"
37
+
38
+void BLTouch::command(const BLTCommand cmd) {
39
+  MOVE_SERVO(Z_PROBE_SERVO_NR, cmd);
40
+  safe_delay(BLTOUCH_DELAY);
41
+}
42
+
43
+void BLTouch::init() {
44
+  reset();                            // Clear all BLTouch error conditions
45
+  stow();
46
+}
47
+
48
+bool BLTouch::triggered() {
49
+  return (
50
+    #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
51
+      READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING
52
+    #else
53
+      READ(Z_MIN_PROBE_PIN) != Z_MIN_PROBE_ENDSTOP_INVERTING
54
+    #endif
55
+  );
56
+}
57
+
58
+bool BLTouch::set_deployed(const bool in_deploy) {
59
+  if (in_deploy && triggered()) {     // If BLTouch says it's triggered
60
+    reset();                          //  try to reset it.
61
+    _deploy(); _stow();               // Deploy and stow to clear the "triggered" condition.
62
+    safe_delay(1500);                 // Wait for internal self-test to complete.
63
+                                      //  (Measured completion time was 0.65 seconds
64
+                                      //   after reset, deploy, and stow sequence)
65
+    if (triggered()) {                // If it still claims to be triggered...
66
+      SERIAL_ERROR_MSG(MSG_STOP_BLTOUCH);
67
+      stop();                         // punt!
68
+      return true;
69
+    }
70
+  }
71
+
72
+  #if ENABLED(BLTOUCH_V3)
73
+    #if ENABLED(BLTOUCH_FORCE_5V_MODE)
74
+      set_5V_mode();                  // Assume 5V DC logic level if endstop pullup resistors are enabled
75
+    #else
76
+      set_OD_mode();
77
+    #endif
78
+  #endif
79
+
80
+  if (in_deploy) {
81
+    _deploy();
82
+    #if ENABLED(BLTOUCH_V3)
83
+      set_SW_mode();                  // Ensure Switch mode is activated for BLTouch V3. Ignored on V2.
84
+    #endif
85
+  }
86
+  else _stow();
87
+
88
+  if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("bltouch.set_deployed(", in_deploy, ")");
89
+
90
+  return false;
91
+}
92
+
93
+#endif // BLTOUCH

+ 59
- 0
Marlin/src/feature/bltouch.h View File

1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+#pragma once
23
+
24
+#include "../inc/MarlinConfigPre.h"
25
+
26
+// BLTouch commands are sent as servo angles
27
+typedef unsigned char BLTCommand;
28
+
29
+#define BLTOUCH_DEPLOY    10
30
+#define BLTOUCH_SW_MODE   60
31
+#define BLTOUCH_STOW      90
32
+#define BLTOUCH_SELFTEST 120
33
+#define BLTOUCH_5V_MODE  140
34
+#define BLTOUCH_OD_MODE  150
35
+#define BLTOUCH_RESET    160
36
+
37
+class BLTouch {
38
+public:
39
+  static void init();
40
+  static void command(const BLTCommand cmd);
41
+  static bool triggered();
42
+
43
+  FORCE_INLINE static void reset()       { command(BLTOUCH_RESET); }
44
+  FORCE_INLINE static void set_5V_mode() { command(BLTOUCH_5V_MODE); }
45
+  FORCE_INLINE static void set_OD_mode() { command(BLTOUCH_OD_MODE); }
46
+  FORCE_INLINE static void set_SW_mode() { command(BLTOUCH_SW_MODE); }
47
+
48
+  FORCE_INLINE static bool deploy() { return set_deployed(true); }
49
+  FORCE_INLINE static bool stow()   { return set_deployed(false); }
50
+
51
+private:
52
+  FORCE_INLINE static void _deploy()     { command(BLTOUCH_DEPLOY); }
53
+  FORCE_INLINE static void _stow()       { command(BLTOUCH_STOW); }
54
+  static bool set_deployed(const bool deploy);
55
+};
56
+
57
+#define BLTOUCH_ANGLES { BLTOUCH_DEPLOY, BLTOUCH_STOW }
58
+
59
+extern BLTouch bltouch;

+ 5
- 1
Marlin/src/gcode/calibrate/G28.cpp View File

43
   #include "../../module/probe.h"
43
   #include "../../module/probe.h"
44
 #endif
44
 #endif
45
 
45
 
46
+#if ENABLED(BLTOUCH)
47
+  #include "../../feature/bltouch.h"
48
+#endif
49
+
46
 #include "../../lcd/ultralcd.h"
50
 #include "../../lcd/ultralcd.h"
47
 
51
 
48
 #if HAS_DRIVER(L6470)                         // set L6470 absolute position registers to counts
52
 #if HAS_DRIVER(L6470)                         // set L6470 absolute position registers to counts
235
   #endif
239
   #endif
236
 
240
 
237
   #if ENABLED(BLTOUCH)
241
   #if ENABLED(BLTOUCH)
238
-    bltouch_init();
242
+    bltouch.init();
239
   #endif
243
   #endif
240
 
244
 
241
   // Always home with tool 0 active
245
   // Always home with tool 0 active

+ 2
- 2
Marlin/src/gcode/calibrate/G34_M422.cpp View File

108
     #endif
108
     #endif
109
 
109
 
110
     #if ENABLED(BLTOUCH)
110
     #if ENABLED(BLTOUCH)
111
-      bltouch_command(BLTOUCH_RESET);
112
-      set_bltouch_deployed(false);
111
+      bltouch.reset();
112
+      bltouch.stow();
113
     #endif
113
     #endif
114
 
114
 
115
     // Always home with tool 0 active
115
     // Always home with tool 0 active

+ 1
- 13
Marlin/src/inc/Conditionals_LCD.h View File

460
   #ifndef BLTOUCH_DELAY
460
   #ifndef BLTOUCH_DELAY
461
     #define BLTOUCH_DELAY 375
461
     #define BLTOUCH_DELAY 375
462
   #endif
462
   #endif
463
-  #undef Z_SERVO_ANGLES
464
-  #define Z_SERVO_ANGLES { BLTOUCH_DEPLOY, BLTOUCH_STOW }
465
-
466
-  #define BLTOUCH_DEPLOY    10
467
-  #define BLTOUCH_STOW      90
468
-  #define BLTOUCH_SELFTEST 120
469
-  #define BLTOUCH_RESET    160
470
-  #define _TEST_BLTOUCH(P) (READ(P##_PIN) != P##_ENDSTOP_INVERTING)
471
 
463
 
472
   // Always disable probe pin inverting for BLTouch
464
   // Always disable probe pin inverting for BLTouch
473
   #undef Z_MIN_PROBE_ENDSTOP_INVERTING
465
   #undef Z_MIN_PROBE_ENDSTOP_INVERTING
474
   #define Z_MIN_PROBE_ENDSTOP_INVERTING false
466
   #define Z_MIN_PROBE_ENDSTOP_INVERTING false
475
-
476
   #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
467
   #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
477
     #undef Z_MIN_ENDSTOP_INVERTING
468
     #undef Z_MIN_ENDSTOP_INVERTING
478
-    #define Z_MIN_ENDSTOP_INVERTING Z_MIN_PROBE_ENDSTOP_INVERTING
479
-    #define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN)
480
-  #else
481
-    #define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN_PROBE)
469
+    #define Z_MIN_ENDSTOP_INVERTING false
482
   #endif
470
   #endif
483
 #endif
471
 #endif
484
 
472
 

+ 9
- 0
Marlin/src/lcd/language/language_en.h View File

867
 #ifndef MSG_BLTOUCH_DEPLOY
867
 #ifndef MSG_BLTOUCH_DEPLOY
868
   #define MSG_BLTOUCH_DEPLOY                  _UxGT("Deploy BLTouch")
868
   #define MSG_BLTOUCH_DEPLOY                  _UxGT("Deploy BLTouch")
869
 #endif
869
 #endif
870
+#ifndef MSG_BLTOUCH_SW_MODE
871
+  #define MSG_BLTOUCH_SW_MODE                 _UxGT("SW Deploy BLTouch")
872
+#endif
873
+#ifndef MSG_BLTOUCH_5V_MODE
874
+  #define MSG_BLTOUCH_5V_MODE                 _UxGT("BLTouch 5V Mode")
875
+#endif
876
+#ifndef MSG_BLTOUCH_OD_MODE
877
+  #define MSG_BLTOUCH_OD_MODE                 _UxGT("BLTouch OD Mode")
878
+#endif
870
 #ifndef MSG_BLTOUCH_STOW
879
 #ifndef MSG_BLTOUCH_STOW
871
   #define MSG_BLTOUCH_STOW                    _UxGT("Stow BLTouch")
880
   #define MSG_BLTOUCH_STOW                    _UxGT("Stow BLTouch")
872
 #endif
881
 #endif

+ 2
- 2
Marlin/src/lcd/menu/menu.h View File

296
   ++_thisItemNr; \
296
   ++_thisItemNr; \
297
 } while(0)
297
 } while(0)
298
 
298
 
299
-#define MENU_ITEM_ADDON_START(X) \
299
+#define MENU_ITEM_ADDON_START(X) do{ \
300
   if (ui.should_draw() && _menuLineNr == _thisItemNr - 1) { \
300
   if (ui.should_draw() && _menuLineNr == _thisItemNr - 1) { \
301
     SETCURSOR(X, _lcdLineNr)
301
     SETCURSOR(X, _lcdLineNr)
302
 
302
 
303
-#define MENU_ITEM_ADDON_END() } (0)
303
+#define MENU_ITEM_ADDON_END() } }while(0)
304
 
304
 
305
 #define STATIC_ITEM(LABEL, ...) STATIC_ITEM_P(PSTR(LABEL), ## __VA_ARGS__)
305
 #define STATIC_ITEM(LABEL, ...) STATIC_ITEM_P(PSTR(LABEL), ## __VA_ARGS__)
306
 
306
 

+ 6
- 4
Marlin/src/lcd/menu/menu_advanced.cpp View File

37
 
37
 
38
 #if HAS_BED_PROBE
38
 #if HAS_BED_PROBE
39
   #include "../../module/probe.h"
39
   #include "../../module/probe.h"
40
-  #if ENABLED(BLTOUCH)
41
-    #include "../../module/endstops.h"
42
-  #endif
40
+#endif
41
+
42
+#if ENABLED(BLTOUCH)
43
+  #include "../../module/endstops.h"
44
+  #include "../../feature/bltouch.h"
43
 #endif
45
 #endif
44
 
46
 
45
 #if ENABLED(PIDTEMP)
47
 #if ENABLED(PIDTEMP)
694
   //
696
   //
695
   #if ENABLED(BLTOUCH)
697
   #if ENABLED(BLTOUCH)
696
     MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
698
     MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
697
-    if (!endstops.z_probe_enabled && TEST_BLTOUCH())
699
+    if (!endstops.z_probe_enabled && bltouch.triggered())
698
       MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_RESET)));
700
       MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_RESET)));
699
   #endif
701
   #endif
700
 
702
 

+ 5
- 0
Marlin/src/lcd/menu/menu_configuration.cpp View File

161
     MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
161
     MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
162
     MENU_ITEM(gcode, MSG_BLTOUCH_DEPLOY, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_DEPLOY)));
162
     MENU_ITEM(gcode, MSG_BLTOUCH_DEPLOY, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_DEPLOY)));
163
     MENU_ITEM(gcode, MSG_BLTOUCH_STOW, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_STOW)));
163
     MENU_ITEM(gcode, MSG_BLTOUCH_STOW, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_STOW)));
164
+    #if ENABLED(BLTOUCH_V3)
165
+      MENU_ITEM(gcode, MSG_BLTOUCH_SW_MODE, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_SW_MODE)));
166
+      MENU_ITEM(gcode, MSG_BLTOUCH_5V_MODE, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_5V_MODE)));
167
+      MENU_ITEM(gcode, MSG_BLTOUCH_OD_MODE, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_OD_MODE)));
168
+    #endif
164
     END_MENU();
169
     END_MENU();
165
   }
170
   }
166
 
171
 

+ 1
- 1
Marlin/src/module/configuration_store.cpp View File

2578
             #endif
2578
             #endif
2579
           #elif ENABLED(SWITCHING_NOZZLE)
2579
           #elif ENABLED(SWITCHING_NOZZLE)
2580
             case SWITCHING_NOZZLE_SERVO_NR:
2580
             case SWITCHING_NOZZLE_SERVO_NR:
2581
-          #elif defined(Z_SERVO_ANGLES) && defined(Z_PROBE_SERVO_NR)
2581
+          #elif (ENABLED(BLTOUCH) && defined(BLTOUCH_ANGLES)) || (defined(Z_SERVO_ANGLES) && defined(Z_PROBE_SERVO_NR))
2582
             case Z_PROBE_SERVO_NR:
2582
             case Z_PROBE_SERVO_NR:
2583
           #endif
2583
           #endif
2584
             CONFIG_ECHO_START();
2584
             CONFIG_ECHO_START();

+ 8
- 4
Marlin/src/module/motion.cpp View File

47
   #include "../feature/bedlevel/bedlevel.h"
47
   #include "../feature/bedlevel/bedlevel.h"
48
 #endif
48
 #endif
49
 
49
 
50
+#if ENABLED(BLTOUCH)
51
+  #include "../feature/bltouch.h"
52
+#endif
53
+
50
 #if EITHER(ULTRA_LCD, EXTENSIBLE_UI)
54
 #if EITHER(ULTRA_LCD, EXTENSIBLE_UI)
51
   #include "../lcd/ultralcd.h"
55
   #include "../lcd/ultralcd.h"
52
 #endif
56
 #endif
1400
 
1404
 
1401
   #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
1405
   #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
1402
     // BLTOUCH needs to be deployed every time
1406
     // BLTOUCH needs to be deployed every time
1403
-    if (axis == Z_AXIS && set_bltouch_deployed(true)) return;
1407
+    if (axis == Z_AXIS && bltouch.deploy()) return;
1404
   #endif
1408
   #endif
1405
 
1409
 
1406
   do_homing_move(axis, 1.5f * max_length(
1410
   do_homing_move(axis, 1.5f * max_length(
1414
 
1418
 
1415
   #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
1419
   #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
1416
     // BLTOUCH needs to be stowed after trigger to rearm itself
1420
     // BLTOUCH needs to be stowed after trigger to rearm itself
1417
-    if (axis == Z_AXIS) set_bltouch_deployed(false);
1421
+    if (axis == Z_AXIS) bltouch.stow();
1418
   #endif
1422
   #endif
1419
 
1423
 
1420
   // When homing Z with probe respect probe clearance
1424
   // When homing Z with probe respect probe clearance
1440
 
1444
 
1441
     #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
1445
     #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
1442
       // BLTOUCH needs to be deployed every time
1446
       // BLTOUCH needs to be deployed every time
1443
-      if (axis == Z_AXIS && set_bltouch_deployed(true)) return;
1447
+      if (axis == Z_AXIS && bltouch.deploy()) return;
1444
     #endif
1448
     #endif
1445
 
1449
 
1446
     do_homing_move(axis, 2 * bump, get_homing_bump_feedrate(axis));
1450
     do_homing_move(axis, 2 * bump, get_homing_bump_feedrate(axis));
1447
 
1451
 
1448
     #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
1452
     #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
1449
       // BLTOUCH needs to be stowed after trigger to rearm itself
1453
       // BLTOUCH needs to be stowed after trigger to rearm itself
1450
-      if (axis == Z_AXIS) set_bltouch_deployed(false);
1454
+      if (axis == Z_AXIS) bltouch.stow();
1451
     #endif
1455
     #endif
1452
   }
1456
   }
1453
 
1457
 

+ 6
- 33
Marlin/src/module/probe.cpp View File

56
 
56
 
57
 float zprobe_zoffset; // Initialized by settings.load()
57
 float zprobe_zoffset; // Initialized by settings.load()
58
 
58
 
59
+#if ENABLED(BLTOUCH)
60
+  #include "../feature/bltouch.h"
61
+#endif
62
+
59
 #if HAS_Z_SERVO_PROBE
63
 #if HAS_Z_SERVO_PROBE
60
   #include "servo.h"
64
   #include "servo.h"
61
 #endif
65
 #endif
289
   }
293
   }
290
 #endif // QUIET_PROBING
294
 #endif // QUIET_PROBING
291
 
295
 
292
-#if ENABLED(BLTOUCH)
293
-
294
-  void bltouch_command(const int angle) {
295
-    MOVE_SERVO(Z_PROBE_SERVO_NR, angle);  // Give the BL-Touch the command and wait
296
-    safe_delay(BLTOUCH_DELAY);
297
-  }
298
-
299
-  bool set_bltouch_deployed(const bool deploy) {
300
-    if (deploy && TEST_BLTOUCH()) {      // If BL-Touch says it's triggered
301
-      bltouch_command(BLTOUCH_RESET);    //  try to reset it.
302
-      bltouch_command(BLTOUCH_DEPLOY);   // Also needs to deploy and stow to
303
-      bltouch_command(BLTOUCH_STOW);     //  clear the triggered condition.
304
-      safe_delay(1500);                  // Wait for internal self-test to complete.
305
-                                         //  (Measured completion time was 0.65 seconds
306
-                                         //   after reset, deploy, and stow sequence)
307
-      if (TEST_BLTOUCH()) {              // If it still claims to be triggered...
308
-        SERIAL_ERROR_MSG(MSG_STOP_BLTOUCH);
309
-        stop();                          // punt!
310
-        return true;
311
-      }
312
-    }
313
-
314
-    bltouch_command(deploy ? BLTOUCH_DEPLOY : BLTOUCH_STOW);
315
-
316
-    if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("set_bltouch_deployed(", deploy, ")");
317
-
318
-    return false;
319
-  }
320
-
321
-#endif // BLTOUCH
322
-
323
 /**
296
 /**
324
  * Raise Z to a minimum height to make room for a probe to move
297
  * Raise Z to a minimum height to make room for a probe to move
325
  */
298
  */
530
 
503
 
531
   // Deploy BLTouch at the start of any probe
504
   // Deploy BLTouch at the start of any probe
532
   #if ENABLED(BLTOUCH)
505
   #if ENABLED(BLTOUCH)
533
-    if (set_bltouch_deployed(true)) return true;
506
+    if (bltouch.deploy()) return true;
534
   #endif
507
   #endif
535
 
508
 
536
   // Disable stealthChop if used. Enable diag1 pin on driver.
509
   // Disable stealthChop if used. Enable diag1 pin on driver.
582
 
555
 
583
   // Retract BLTouch immediately after a probe if it was triggered
556
   // Retract BLTouch immediately after a probe if it was triggered
584
   #if ENABLED(BLTOUCH)
557
   #if ENABLED(BLTOUCH)
585
-    if (probe_triggered && set_bltouch_deployed(false)) return true;
558
+    if (probe_triggered && bltouch.stow()) return true;
586
   #endif
559
   #endif
587
 
560
 
588
   // Clear endstop flags
561
   // Clear endstop flags

+ 0
- 10
Marlin/src/module/probe.h View File

57
 #if QUIET_PROBING
57
 #if QUIET_PROBING
58
   void probing_pause(const bool p);
58
   void probing_pause(const bool p);
59
 #endif
59
 #endif
60
-
61
-#if ENABLED(BLTOUCH)
62
-  void bltouch_command(int angle);
63
-  bool set_bltouch_deployed(const bool deploy);
64
-  FORCE_INLINE void bltouch_init() {
65
-    // Make sure any BLTouch error condition is cleared
66
-    bltouch_command(BLTOUCH_RESET);
67
-    set_bltouch_deployed(false);
68
-  }
69
-#endif

+ 11
- 2
Marlin/src/module/servo.h View File

44
   #elif ENABLED(SWITCHING_NOZZLE)
44
   #elif ENABLED(SWITCHING_NOZZLE)
45
     #define SADATA    SWITCHING_NOZZLE_SERVO_ANGLES
45
     #define SADATA    SWITCHING_NOZZLE_SERVO_ANGLES
46
     #define ASRC(N,E) (SWITCHING_NOZZLE_SERVO_NR == N ? asrc[E] : 0)
46
     #define ASRC(N,E) (SWITCHING_NOZZLE_SERVO_NR == N ? asrc[E] : 0)
47
-  #elif defined(Z_SERVO_ANGLES) && defined(Z_PROBE_SERVO_NR)
48
-    #define SADATA    Z_SERVO_ANGLES
47
+  #elif defined(Z_PROBE_SERVO_NR)
49
     #define ASRC(N,E) (Z_PROBE_SERVO_NR == N ? asrc[E] : 0)
48
     #define ASRC(N,E) (Z_PROBE_SERVO_NR == N ? asrc[E] : 0)
49
+    #if ENABLED(BLTOUCH)
50
+      #include "../feature/bltouch.h"
51
+    #endif
52
+    #ifdef BLTOUCH_ANGLES
53
+      #define SADATA  BLTOUCH_ANGLES
54
+    #elif defined(Z_SERVO_ANGLES)
55
+      #define SADATA  Z_SERVO_ANGLES
56
+    #else
57
+      #error "Servo angles are needed!"
58
+    #endif
50
   #endif
59
   #endif
51
 
60
 
52
   #if ENABLED(EDITABLE_SERVO_ANGLES)
61
   #if ENABLED(EDITABLE_SERVO_ANGLES)

+ 3
- 4
buildroot/share/tests/megaatmega2560-tests View File

264
 # Test a full-featured CR-10S config
264
 # Test a full-featured CR-10S config
265
 #
265
 #
266
 use_example_configs Creality/CR-10S
266
 use_example_configs Creality/CR-10S
267
-opt_enable SHOW_CUSTOM_BOOTSCREEN
268
 exec_test $1 $2 "Full-featured CR-10S config"
267
 exec_test $1 $2 "Full-featured CR-10S config"
269
 #
268
 #
270
 # BQ Hephestos 2
269
 # BQ Hephestos 2
272
 #use_example_configs Hephestos_2
271
 #use_example_configs Hephestos_2
273
 #exec_test $1 $2 "Stuff"
272
 #exec_test $1 $2 "Stuff"
274
 #
273
 #
275
-# Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
274
+# Delta Config (generic) + ABL bilinear + BLTOUCH
276
 use_example_configs delta/generic
275
 use_example_configs delta/generic
277
-opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
278
-exec_test $1 $2 "Delta Config (generic) + ABL bilinear + PROBE_MANUALLY"
276
+opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR BLTOUCH BLTOUCH_V3
277
+exec_test $1 $2 "Delta Config (generic) + ABL bilinear + BLTOUCH"
279
 #
278
 #
280
 # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
279
 # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
281
 #
280
 #

+ 7
- 0
config/default/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/3DFabXYZ/Migbot/Configuration.h View File

823
 //#define BLTOUCH
823
 //#define BLTOUCH
824
 #if ENABLED(BLTOUCH)
824
 #if ENABLED(BLTOUCH)
825
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
825
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
826
+
827
+  // BLTouch V3.0 and newer smart series
828
+  //#define BLTOUCH_V3
829
+  #if ENABLED(BLTOUCH_V3)
830
+    //#define BLTOUCH_FORCE_5V_MODE
831
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
832
+  #endif
826
 #endif
833
 #endif
827
 
834
 
828
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
835
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/AlephObjects/TAZ4/Configuration.h View File

837
 //#define BLTOUCH
837
 //#define BLTOUCH
838
 #if ENABLED(BLTOUCH)
838
 #if ENABLED(BLTOUCH)
839
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
839
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
840
+
841
+  // BLTouch V3.0 and newer smart series
842
+  //#define BLTOUCH_V3
843
+  #if ENABLED(BLTOUCH_V3)
844
+    //#define BLTOUCH_FORCE_5V_MODE
845
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
846
+  #endif
840
 #endif
847
 #endif
841
 
848
 
842
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
849
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/AliExpress/CL-260/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/AliExpress/UM2pExt/Configuration.h View File

828
 //#define BLTOUCH
828
 //#define BLTOUCH
829
 #if ENABLED(BLTOUCH)
829
 #if ENABLED(BLTOUCH)
830
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
830
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
831
+
832
+  // BLTouch V3.0 and newer smart series
833
+  //#define BLTOUCH_V3
834
+  #if ENABLED(BLTOUCH_V3)
835
+    //#define BLTOUCH_FORCE_5V_MODE
836
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
837
+  #endif
831
 #endif
838
 #endif
832
 
839
 
833
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
840
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Anet/A2/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Anet/A2plus/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Anet/A6/Configuration.h View File

864
 //#define BLTOUCH
864
 //#define BLTOUCH
865
 #if ENABLED(BLTOUCH)
865
 #if ENABLED(BLTOUCH)
866
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
866
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
867
+
868
+  // BLTouch V3.0 and newer smart series
869
+  //#define BLTOUCH_V3
870
+  #if ENABLED(BLTOUCH_V3)
871
+    //#define BLTOUCH_FORCE_5V_MODE
872
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
873
+  #endif
867
 #endif
874
 #endif
868
 
875
 
869
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
876
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Anet/A8/Configuration.h View File

830
 //#define BLTOUCH
830
 //#define BLTOUCH
831
 #if ENABLED(BLTOUCH)
831
 #if ENABLED(BLTOUCH)
832
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
832
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
833
+
834
+  // BLTouch V3.0 and newer smart series
835
+  //#define BLTOUCH_V3
836
+  #if ENABLED(BLTOUCH_V3)
837
+    //#define BLTOUCH_FORCE_5V_MODE
838
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
839
+  #endif
833
 #endif
840
 #endif
834
 
841
 
835
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
842
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/AnyCubic/i3/Configuration.h View File

827
 #define BLTOUCH
827
 #define BLTOUCH
828
 #if ENABLED(BLTOUCH)
828
 #if ENABLED(BLTOUCH)
829
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
829
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
830
+
831
+  // BLTouch V3.0 and newer smart series
832
+  //#define BLTOUCH_V3
833
+  #if ENABLED(BLTOUCH_V3)
834
+    //#define BLTOUCH_FORCE_5V_MODE
835
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
836
+  #endif
830
 #endif
837
 #endif
831
 
838
 
832
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
839
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/ArmEd/Configuration.h View File

818
 //#define BLTOUCH
818
 //#define BLTOUCH
819
 #if ENABLED(BLTOUCH)
819
 #if ENABLED(BLTOUCH)
820
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
821
+
822
+  // BLTouch V3.0 and newer smart series
823
+  //#define BLTOUCH_V3
824
+  #if ENABLED(BLTOUCH_V3)
825
+    //#define BLTOUCH_FORCE_5V_MODE
826
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
827
+  #endif
821
 #endif
828
 #endif
822
 
829
 
823
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
830
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Azteeg/X5GT/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/BIBO/TouchX/cyclops/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/BIBO/TouchX/default/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/BQ/Hephestos/Configuration.h View File

805
 //#define BLTOUCH
805
 //#define BLTOUCH
806
 #if ENABLED(BLTOUCH)
806
 #if ENABLED(BLTOUCH)
807
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
807
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
808
+
809
+  // BLTouch V3.0 and newer smart series
810
+  //#define BLTOUCH_V3
811
+  #if ENABLED(BLTOUCH_V3)
812
+    //#define BLTOUCH_FORCE_5V_MODE
813
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
814
+  #endif
808
 #endif
815
 #endif
809
 
816
 
810
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
817
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/BQ/Hephestos_2/Configuration.h View File

818
 //#define BLTOUCH
818
 //#define BLTOUCH
819
 #if ENABLED(BLTOUCH)
819
 #if ENABLED(BLTOUCH)
820
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
821
+
822
+  // BLTouch V3.0 and newer smart series
823
+  //#define BLTOUCH_V3
824
+  #if ENABLED(BLTOUCH_V3)
825
+    //#define BLTOUCH_FORCE_5V_MODE
826
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
827
+  #endif
821
 #endif
828
 #endif
822
 
829
 
823
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
830
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/BQ/WITBOX/Configuration.h View File

805
 //#define BLTOUCH
805
 //#define BLTOUCH
806
 #if ENABLED(BLTOUCH)
806
 #if ENABLED(BLTOUCH)
807
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
807
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
808
+
809
+  // BLTouch V3.0 and newer smart series
810
+  //#define BLTOUCH_V3
811
+  #if ENABLED(BLTOUCH_V3)
812
+    //#define BLTOUCH_FORCE_5V_MODE
813
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
814
+  #endif
808
 #endif
815
 #endif
809
 
816
 
810
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
817
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Cartesio/Configuration.h View File

816
 //#define BLTOUCH
816
 //#define BLTOUCH
817
 #if ENABLED(BLTOUCH)
817
 #if ENABLED(BLTOUCH)
818
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
818
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
+
820
+  // BLTouch V3.0 and newer smart series
821
+  //#define BLTOUCH_V3
822
+  #if ENABLED(BLTOUCH_V3)
823
+    //#define BLTOUCH_FORCE_5V_MODE
824
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
825
+  #endif
819
 #endif
826
 #endif
820
 
827
 
821
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
828
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Creality/CR-10/Configuration.h View File

827
 //#define BLTOUCH
827
 //#define BLTOUCH
828
 #if ENABLED(BLTOUCH)
828
 #if ENABLED(BLTOUCH)
829
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
829
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
830
+
831
+  // BLTouch V3.0 and newer smart series
832
+  //#define BLTOUCH_V3
833
+  #if ENABLED(BLTOUCH_V3)
834
+    //#define BLTOUCH_FORCE_5V_MODE
835
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
836
+  #endif
830
 #endif
837
 #endif
831
 
838
 
832
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
839
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Creality/CR-10S/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Creality/CR-10_5S/Configuration.h View File

818
 //#define BLTOUCH
818
 //#define BLTOUCH
819
 #if ENABLED(BLTOUCH)
819
 #if ENABLED(BLTOUCH)
820
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
821
+
822
+  // BLTouch V3.0 and newer smart series
823
+  //#define BLTOUCH_V3
824
+  #if ENABLED(BLTOUCH_V3)
825
+    //#define BLTOUCH_FORCE_5V_MODE
826
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
827
+  #endif
821
 #endif
828
 #endif
822
 
829
 
823
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
830
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Creality/CR-10mini/Configuration.h View File

836
 //#define BLTOUCH
836
 //#define BLTOUCH
837
 #if ENABLED(BLTOUCH)
837
 #if ENABLED(BLTOUCH)
838
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
838
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
839
+
840
+  // BLTouch V3.0 and newer smart series
841
+  //#define BLTOUCH_V3
842
+  #if ENABLED(BLTOUCH_V3)
843
+    //#define BLTOUCH_FORCE_5V_MODE
844
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
845
+  #endif
839
 #endif
846
 #endif
840
 
847
 
841
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
848
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Creality/CR-8/Configuration.h View File

827
 //#define BLTOUCH
827
 //#define BLTOUCH
828
 #if ENABLED(BLTOUCH)
828
 #if ENABLED(BLTOUCH)
829
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
829
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
830
+
831
+  // BLTouch V3.0 and newer smart series
832
+  //#define BLTOUCH_V3
833
+  #if ENABLED(BLTOUCH_V3)
834
+    //#define BLTOUCH_FORCE_5V_MODE
835
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
836
+  #endif
830
 #endif
837
 #endif
831
 
838
 
832
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
839
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Creality/Ender-2/Configuration.h View File

821
 //#define BLTOUCH
821
 //#define BLTOUCH
822
 #if ENABLED(BLTOUCH)
822
 #if ENABLED(BLTOUCH)
823
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
823
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
824
+
825
+  // BLTouch V3.0 and newer smart series
826
+  //#define BLTOUCH_V3
827
+  #if ENABLED(BLTOUCH_V3)
828
+    //#define BLTOUCH_FORCE_5V_MODE
829
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
830
+  #endif
824
 #endif
831
 #endif
825
 
832
 
826
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
833
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Creality/Ender-3/Configuration.h View File

821
 //#define BLTOUCH
821
 //#define BLTOUCH
822
 #if ENABLED(BLTOUCH)
822
 #if ENABLED(BLTOUCH)
823
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
823
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
824
+
825
+  // BLTouch V3.0 and newer smart series
826
+  //#define BLTOUCH_V3
827
+  #if ENABLED(BLTOUCH_V3)
828
+    //#define BLTOUCH_FORCE_5V_MODE
829
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
830
+  #endif
824
 #endif
831
 #endif
825
 
832
 
826
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
833
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Creality/Ender-4/Configuration.h View File

827
 //#define BLTOUCH
827
 //#define BLTOUCH
828
 #if ENABLED(BLTOUCH)
828
 #if ENABLED(BLTOUCH)
829
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
829
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
830
+
831
+  // BLTouch V3.0 and newer smart series
832
+  //#define BLTOUCH_V3
833
+  #if ENABLED(BLTOUCH_V3)
834
+    //#define BLTOUCH_FORCE_5V_MODE
835
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
836
+  #endif
830
 #endif
837
 #endif
831
 
838
 
832
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
839
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Einstart-S/Configuration.h View File

828
 //#define BLTOUCH
828
 //#define BLTOUCH
829
 #if ENABLED(BLTOUCH)
829
 #if ENABLED(BLTOUCH)
830
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
830
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
831
+
832
+  // BLTouch V3.0 and newer smart series
833
+  //#define BLTOUCH_V3
834
+  #if ENABLED(BLTOUCH_V3)
835
+    //#define BLTOUCH_FORCE_5V_MODE
836
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
837
+  #endif
831
 #endif
838
 #endif
832
 
839
 
833
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
840
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Felix/Configuration.h View File

799
 //#define BLTOUCH
799
 //#define BLTOUCH
800
 #if ENABLED(BLTOUCH)
800
 #if ENABLED(BLTOUCH)
801
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
801
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
802
+
803
+  // BLTouch V3.0 and newer smart series
804
+  //#define BLTOUCH_V3
805
+  #if ENABLED(BLTOUCH_V3)
806
+    //#define BLTOUCH_FORCE_5V_MODE
807
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
808
+  #endif
802
 #endif
809
 #endif
803
 
810
 
804
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
811
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Felix/DUAL/Configuration.h View File

799
 //#define BLTOUCH
799
 //#define BLTOUCH
800
 #if ENABLED(BLTOUCH)
800
 #if ENABLED(BLTOUCH)
801
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
801
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
802
+
803
+  // BLTouch V3.0 and newer smart series
804
+  //#define BLTOUCH_V3
805
+  #if ENABLED(BLTOUCH_V3)
806
+    //#define BLTOUCH_FORCE_5V_MODE
807
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
808
+  #endif
802
 #endif
809
 #endif
803
 
810
 
804
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
811
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/FlashForge/CreatorPro/Configuration.h View File

809
 //#define BLTOUCH
809
 //#define BLTOUCH
810
 #if ENABLED(BLTOUCH)
810
 #if ENABLED(BLTOUCH)
811
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
811
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
812
+
813
+  // BLTouch V3.0 and newer smart series
814
+  //#define BLTOUCH_V3
815
+  #if ENABLED(BLTOUCH_V3)
816
+    //#define BLTOUCH_FORCE_5V_MODE
817
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
818
+  #endif
812
 #endif
819
 #endif
813
 
820
 
814
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
821
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/FolgerTech/i3-2020/Configuration.h View File

823
 //#define BLTOUCH
823
 //#define BLTOUCH
824
 #if ENABLED(BLTOUCH)
824
 #if ENABLED(BLTOUCH)
825
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
825
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
826
+
827
+  // BLTouch V3.0 and newer smart series
828
+  //#define BLTOUCH_V3
829
+  #if ENABLED(BLTOUCH_V3)
830
+    //#define BLTOUCH_FORCE_5V_MODE
831
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
832
+  #endif
826
 #endif
833
 #endif
827
 
834
 
828
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
835
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Formbot/Raptor/Configuration.h View File

900
 #define BLTOUCH
900
 #define BLTOUCH
901
 #if ENABLED(BLTOUCH)
901
 #if ENABLED(BLTOUCH)
902
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
902
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
903
+
904
+  // BLTouch V3.0 and newer smart series
905
+  //#define BLTOUCH_V3
906
+  #if ENABLED(BLTOUCH_V3)
907
+    //#define BLTOUCH_FORCE_5V_MODE
908
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
909
+  #endif
903
 #endif
910
 #endif
904
 
911
 
905
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
912
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Formbot/T_Rex_2+/Configuration.h View File

846
 #define BLTOUCH
846
 #define BLTOUCH
847
 #if ENABLED(BLTOUCH)
847
 #if ENABLED(BLTOUCH)
848
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
848
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
849
+
850
+  // BLTouch V3.0 and newer smart series
851
+  //#define BLTOUCH_V3
852
+  #if ENABLED(BLTOUCH_V3)
853
+    //#define BLTOUCH_FORCE_5V_MODE
854
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
855
+  #endif
849
 #endif
856
 #endif
850
 
857
 
851
 
858
 

+ 7
- 0
config/examples/Formbot/T_Rex_3/Configuration.h View File

833
 #define BLTOUCH
833
 #define BLTOUCH
834
 #if ENABLED(BLTOUCH)
834
 #if ENABLED(BLTOUCH)
835
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
835
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
836
+
837
+  // BLTouch V3.0 and newer smart series
838
+  //#define BLTOUCH_V3
839
+  #if ENABLED(BLTOUCH_V3)
840
+    //#define BLTOUCH_FORCE_5V_MODE
841
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
842
+  #endif
836
 #endif
843
 #endif
837
 
844
 
838
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
845
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Geeetech/A10M/Configuration.h View File

800
 //#define BLTOUCH
800
 //#define BLTOUCH
801
 #if ENABLED(BLTOUCH)
801
 #if ENABLED(BLTOUCH)
802
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
802
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
803
+
804
+  // BLTouch V3.0 and newer smart series
805
+  //#define BLTOUCH_V3
806
+  #if ENABLED(BLTOUCH_V3)
807
+    //#define BLTOUCH_FORCE_5V_MODE
808
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
809
+  #endif
803
 #endif
810
 #endif
804
 
811
 
805
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
812
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Geeetech/A20M/Configuration.h View File

800
 //#define BLTOUCH
800
 //#define BLTOUCH
801
 #if ENABLED(BLTOUCH)
801
 #if ENABLED(BLTOUCH)
802
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
802
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
803
+
804
+  // BLTouch V3.0 and newer smart series
805
+  //#define BLTOUCH_V3
806
+  #if ENABLED(BLTOUCH_V3)
807
+    //#define BLTOUCH_FORCE_5V_MODE
808
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
809
+  #endif
803
 #endif
810
 #endif
804
 
811
 
805
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
812
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Geeetech/GT2560/Configuration.h View File

832
 //#define BLTOUCH
832
 //#define BLTOUCH
833
 #if ENABLED(BLTOUCH)
833
 #if ENABLED(BLTOUCH)
834
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
834
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
835
+
836
+  // BLTouch V3.0 and newer smart series
837
+  //#define BLTOUCH_V3
838
+  #if ENABLED(BLTOUCH_V3)
839
+    //#define BLTOUCH_FORCE_5V_MODE
840
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
841
+  #endif
835
 #endif
842
 #endif
836
 
843
 
837
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
844
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Geeetech/MeCreator2/Configuration.h View File

824
 //#define BLTOUCH
824
 //#define BLTOUCH
825
 #if ENABLED(BLTOUCH)
825
 #if ENABLED(BLTOUCH)
826
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
826
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
827
+
828
+  // BLTouch V3.0 and newer smart series
829
+  //#define BLTOUCH_V3
830
+  #if ENABLED(BLTOUCH_V3)
831
+    //#define BLTOUCH_FORCE_5V_MODE
832
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
833
+  #endif
827
 #endif
834
 #endif
828
 
835
 
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
836
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h View File

833
 #define BLTOUCH
833
 #define BLTOUCH
834
 #if ENABLED(BLTOUCH)
834
 #if ENABLED(BLTOUCH)
835
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
835
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
836
+
837
+  // BLTouch V3.0 and newer smart series
838
+  //#define BLTOUCH_V3
839
+  #if ENABLED(BLTOUCH_V3)
840
+    //#define BLTOUCH_FORCE_5V_MODE
841
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
842
+  #endif
836
 #endif
843
 #endif
837
 
844
 
838
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
845
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h View File

832
 //#define BLTOUCH
832
 //#define BLTOUCH
833
 #if ENABLED(BLTOUCH)
833
 #if ENABLED(BLTOUCH)
834
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
834
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
835
+
836
+  // BLTouch V3.0 and newer smart series
837
+  //#define BLTOUCH_V3
838
+  #if ENABLED(BLTOUCH_V3)
839
+    //#define BLTOUCH_FORCE_5V_MODE
840
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
841
+  #endif
835
 #endif
842
 #endif
836
 
843
 
837
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
844
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Geeetech/Prusa i3 Pro C/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Geeetech/Prusa i3 Pro W/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Infitary/i3-M508/Configuration.h View File

821
 //#define BLTOUCH
821
 //#define BLTOUCH
822
 #if ENABLED(BLTOUCH)
822
 #if ENABLED(BLTOUCH)
823
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
823
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
824
+
825
+  // BLTouch V3.0 and newer smart series
826
+  //#define BLTOUCH_V3
827
+  #if ENABLED(BLTOUCH_V3)
828
+    //#define BLTOUCH_FORCE_5V_MODE
829
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
830
+  #endif
824
 #endif
831
 #endif
825
 
832
 
826
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
833
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/JGAurora/A5/Configuration.h View File

829
 //#define BLTOUCH
829
 //#define BLTOUCH
830
 #if ENABLED(BLTOUCH)
830
 #if ENABLED(BLTOUCH)
831
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
831
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
832
+
833
+  // BLTouch V3.0 and newer smart series
834
+  //#define BLTOUCH_V3
835
+  #if ENABLED(BLTOUCH_V3)
836
+    //#define BLTOUCH_FORCE_5V_MODE
837
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
838
+  #endif
832
 #endif
839
 #endif
833
 
840
 
834
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
841
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/MakerParts/Configuration.h View File

837
 //#define BLTOUCH
837
 //#define BLTOUCH
838
 #if ENABLED(BLTOUCH)
838
 #if ENABLED(BLTOUCH)
839
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
839
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
840
+
841
+  // BLTouch V3.0 and newer smart series
842
+  //#define BLTOUCH_V3
843
+  #if ENABLED(BLTOUCH_V3)
844
+    //#define BLTOUCH_FORCE_5V_MODE
845
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
846
+  #endif
840
 #endif
847
 #endif
841
 
848
 
842
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
849
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Malyan/M150/Configuration.h View File

837
 //#define BLTOUCH
837
 //#define BLTOUCH
838
 #if ENABLED(BLTOUCH)
838
 #if ENABLED(BLTOUCH)
839
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
839
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
840
+
841
+  // BLTouch V3.0 and newer smart series
842
+  //#define BLTOUCH_V3
843
+  #if ENABLED(BLTOUCH_V3)
844
+    //#define BLTOUCH_FORCE_5V_MODE
845
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
846
+  #endif
840
 #endif
847
 #endif
841
 
848
 
842
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
849
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Malyan/M200/Configuration.h View File

816
 //#define BLTOUCH
816
 //#define BLTOUCH
817
 #if ENABLED(BLTOUCH)
817
 #if ENABLED(BLTOUCH)
818
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
818
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
+
820
+  // BLTouch V3.0 and newer smart series
821
+  //#define BLTOUCH_V3
822
+  #if ENABLED(BLTOUCH_V3)
823
+    //#define BLTOUCH_FORCE_5V_MODE
824
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
825
+  #endif
819
 #endif
826
 #endif
820
 
827
 
821
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
828
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Micromake/C1/basic/Configuration.h View File

821
 //#define BLTOUCH
821
 //#define BLTOUCH
822
 #if ENABLED(BLTOUCH)
822
 #if ENABLED(BLTOUCH)
823
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
823
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
824
+
825
+  // BLTouch V3.0 and newer smart series
826
+  //#define BLTOUCH_V3
827
+  #if ENABLED(BLTOUCH_V3)
828
+    //#define BLTOUCH_FORCE_5V_MODE
829
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
830
+  #endif
824
 #endif
831
 #endif
825
 
832
 
826
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
833
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Micromake/C1/enhanced/Configuration.h View File

821
 //#define BLTOUCH
821
 //#define BLTOUCH
822
 #if ENABLED(BLTOUCH)
822
 #if ENABLED(BLTOUCH)
823
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
823
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
824
+
825
+  // BLTouch V3.0 and newer smart series
826
+  //#define BLTOUCH_V3
827
+  #if ENABLED(BLTOUCH_V3)
828
+    //#define BLTOUCH_FORCE_5V_MODE
829
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
830
+  #endif
824
 #endif
831
 #endif
825
 
832
 
826
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
833
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Mks/Robin/Configuration.h View File

818
 //#define BLTOUCH
818
 //#define BLTOUCH
819
 #if ENABLED(BLTOUCH)
819
 #if ENABLED(BLTOUCH)
820
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
821
+
822
+  // BLTouch V3.0 and newer smart series
823
+  //#define BLTOUCH_V3
824
+  #if ENABLED(BLTOUCH_V3)
825
+    //#define BLTOUCH_FORCE_5V_MODE
826
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
827
+  #endif
821
 #endif
828
 #endif
822
 
829
 
823
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
830
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Mks/Sbase/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Printrbot/PrintrboardG2/Configuration.h View File

825
 //#define BLTOUCH
825
 //#define BLTOUCH
826
 #if ENABLED(BLTOUCH)
826
 #if ENABLED(BLTOUCH)
827
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
827
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
828
+
829
+  // BLTouch V3.0 and newer smart series
830
+  //#define BLTOUCH_V3
831
+  #if ENABLED(BLTOUCH_V3)
832
+    //#define BLTOUCH_FORCE_5V_MODE
833
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
834
+  #endif
828
 #endif
835
 #endif
829
 
836
 
830
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
837
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/RapideLite/RL200/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/RepRapPro/Huxley/Configuration.h View File

857
 //#define BLTOUCH
857
 //#define BLTOUCH
858
 #if ENABLED(BLTOUCH)
858
 #if ENABLED(BLTOUCH)
859
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
859
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
860
+
861
+  // BLTouch V3.0 and newer smart series
862
+  //#define BLTOUCH_V3
863
+  #if ENABLED(BLTOUCH_V3)
864
+    //#define BLTOUCH_FORCE_5V_MODE
865
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
866
+  #endif
860
 #endif
867
 #endif
861
 
868
 
862
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
869
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/RepRapWorld/Megatronics/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/RigidBot/Configuration.h View File

815
 //#define BLTOUCH
815
 //#define BLTOUCH
816
 #if ENABLED(BLTOUCH)
816
 #if ENABLED(BLTOUCH)
817
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
817
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
818
+
819
+  // BLTouch V3.0 and newer smart series
820
+  //#define BLTOUCH_V3
821
+  #if ENABLED(BLTOUCH_V3)
822
+    //#define BLTOUCH_FORCE_5V_MODE
823
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
824
+  #endif
818
 #endif
825
 #endif
819
 
826
 
820
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
827
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/SCARA/Configuration.h View File

830
 //#define BLTOUCH
830
 //#define BLTOUCH
831
 #if ENABLED(BLTOUCH)
831
 #if ENABLED(BLTOUCH)
832
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
832
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
833
+
834
+  // BLTouch V3.0 and newer smart series
835
+  //#define BLTOUCH_V3
836
+  #if ENABLED(BLTOUCH_V3)
837
+    //#define BLTOUCH_FORCE_5V_MODE
838
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
839
+  #endif
833
 #endif
840
 #endif
834
 
841
 
835
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
842
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/STM32F10/Configuration.h View File

819
 //#define BLTOUCH
819
 //#define BLTOUCH
820
 #if ENABLED(BLTOUCH)
820
 #if ENABLED(BLTOUCH)
821
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
821
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
822
+
823
+  // BLTouch V3.0 and newer smart series
824
+  //#define BLTOUCH_V3
825
+  #if ENABLED(BLTOUCH_V3)
826
+    //#define BLTOUCH_FORCE_5V_MODE
827
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
828
+  #endif
822
 #endif
829
 #endif
823
 
830
 
824
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
831
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/STM32F4/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Sanguinololu/Configuration.h View File

848
 //#define BLTOUCH
848
 //#define BLTOUCH
849
 #if ENABLED(BLTOUCH)
849
 #if ENABLED(BLTOUCH)
850
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
850
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
851
+
852
+  // BLTouch V3.0 and newer smart series
853
+  //#define BLTOUCH_V3
854
+  #if ENABLED(BLTOUCH_V3)
855
+    //#define BLTOUCH_FORCE_5V_MODE
856
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
857
+  #endif
851
 #endif
858
 #endif
852
 
859
 
853
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
860
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/TheBorg/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/TinyBoy2/Configuration.h View File

868
 //#define BLTOUCH
868
 //#define BLTOUCH
869
 #if ENABLED(BLTOUCH)
869
 #if ENABLED(BLTOUCH)
870
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
870
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
871
+
872
+  // BLTouch V3.0 and newer smart series
873
+  //#define BLTOUCH_V3
874
+  #if ENABLED(BLTOUCH_V3)
875
+    //#define BLTOUCH_FORCE_5V_MODE
876
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
877
+  #endif
871
 #endif
878
 #endif
872
 
879
 
873
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
880
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Tronxy/X1/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Tronxy/X3A/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Tronxy/X5S-2E/Configuration.h View File

838
 //#define BLTOUCH
838
 //#define BLTOUCH
839
 #if ENABLED(BLTOUCH)
839
 #if ENABLED(BLTOUCH)
840
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
840
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
841
+
842
+  // BLTouch V3.0 and newer smart series
843
+  //#define BLTOUCH_V3
844
+  #if ENABLED(BLTOUCH_V3)
845
+    //#define BLTOUCH_FORCE_5V_MODE
846
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
847
+  #endif
841
 #endif
848
 #endif
842
 
849
 
843
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
850
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Tronxy/X5S/Configuration.h View File

816
 //#define BLTOUCH
816
 //#define BLTOUCH
817
 #if ENABLED(BLTOUCH)
817
 #if ENABLED(BLTOUCH)
818
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
818
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
+
820
+  // BLTouch V3.0 and newer smart series
821
+  //#define BLTOUCH_V3
822
+  #if ENABLED(BLTOUCH_V3)
823
+    //#define BLTOUCH_FORCE_5V_MODE
824
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
825
+  #endif
819
 #endif
826
 #endif
820
 
827
 
821
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
828
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Tronxy/XY100/Configuration.h View File

828
 //#define BLTOUCH
828
 //#define BLTOUCH
829
 #if ENABLED(BLTOUCH)
829
 #if ENABLED(BLTOUCH)
830
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
830
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
831
+
832
+  // BLTouch V3.0 and newer smart series
833
+  //#define BLTOUCH_V3
834
+  #if ENABLED(BLTOUCH_V3)
835
+    //#define BLTOUCH_FORCE_5V_MODE
836
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
837
+  #endif
831
 #endif
838
 #endif
832
 
839
 
833
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
840
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/UltiMachine/Archim1/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/UltiMachine/Archim2/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/VORONDesign/Configuration.h View File

826
 //#define BLTOUCH
826
 //#define BLTOUCH
827
 #if ENABLED(BLTOUCH)
827
 #if ENABLED(BLTOUCH)
828
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
828
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
829
+
830
+  // BLTouch V3.0 and newer smart series
831
+  //#define BLTOUCH_V3
832
+  #if ENABLED(BLTOUCH_V3)
833
+    //#define BLTOUCH_FORCE_5V_MODE
834
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
835
+  #endif
829
 #endif
836
 #endif
830
 
837
 
831
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
838
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Velleman/K8200/Configuration.h View File

846
 //#define BLTOUCH
846
 //#define BLTOUCH
847
 #if ENABLED(BLTOUCH)
847
 #if ENABLED(BLTOUCH)
848
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
848
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
849
+
850
+  // BLTouch V3.0 and newer smart series
851
+  //#define BLTOUCH_V3
852
+  #if ENABLED(BLTOUCH_V3)
853
+    //#define BLTOUCH_FORCE_5V_MODE
854
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
855
+  #endif
849
 #endif
856
 #endif
850
 
857
 
851
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
858
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Velleman/K8400/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Velleman/K8400/Dual-head/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/WASP/PowerWASP/Configuration.h View File

836
 //#define BLTOUCH
836
 //#define BLTOUCH
837
 #if ENABLED(BLTOUCH)
837
 #if ENABLED(BLTOUCH)
838
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
838
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
839
+
840
+  // BLTouch V3.0 and newer smart series
841
+  //#define BLTOUCH_V3
842
+  #if ENABLED(BLTOUCH_V3)
843
+    //#define BLTOUCH_FORCE_5V_MODE
844
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
845
+  #endif
839
 #endif
846
 #endif
840
 
847
 
841
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
848
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/Wanhao/Duplicator 6/Configuration.h View File

827
 //#define BLTOUCH
827
 //#define BLTOUCH
828
 #if ENABLED(BLTOUCH)
828
 #if ENABLED(BLTOUCH)
829
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
829
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
830
+
831
+  // BLTouch V3.0 and newer smart series
832
+  //#define BLTOUCH_V3
833
+  #if ENABLED(BLTOUCH_V3)
834
+    //#define BLTOUCH_FORCE_5V_MODE
835
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
836
+  #endif
830
 #endif
837
 #endif
831
 
838
 
832
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
839
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/adafruit/ST7565/Configuration.h View File

817
 //#define BLTOUCH
817
 //#define BLTOUCH
818
 #if ENABLED(BLTOUCH)
818
 #if ENABLED(BLTOUCH)
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
819
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
820
+
821
+  // BLTouch V3.0 and newer smart series
822
+  //#define BLTOUCH_V3
823
+  #if ENABLED(BLTOUCH_V3)
824
+    //#define BLTOUCH_FORCE_5V_MODE
825
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
826
+  #endif
820
 #endif
827
 #endif
821
 
828
 
822
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
829
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/delta/Anycubic/Kossel/Configuration.h View File

953
 //#define BLTOUCH
953
 //#define BLTOUCH
954
 #if ENABLED(BLTOUCH)
954
 #if ENABLED(BLTOUCH)
955
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
955
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
956
+
957
+  // BLTouch V3.0 and newer smart series
958
+  //#define BLTOUCH_V3
959
+  #if ENABLED(BLTOUCH_V3)
960
+    //#define BLTOUCH_FORCE_5V_MODE
961
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
962
+  #endif
956
 #endif
963
 #endif
957
 
964
 
958
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
965
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/delta/FLSUN/auto_calibrate/Configuration.h View File

899
 //#define BLTOUCH
899
 //#define BLTOUCH
900
 #if ENABLED(BLTOUCH)
900
 #if ENABLED(BLTOUCH)
901
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
901
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
902
+
903
+  // BLTouch V3.0 and newer smart series
904
+  //#define BLTOUCH_V3
905
+  #if ENABLED(BLTOUCH_V3)
906
+    //#define BLTOUCH_FORCE_5V_MODE
907
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
908
+  #endif
902
 #endif
909
 #endif
903
 
910
 
904
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
911
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/delta/FLSUN/kossel/Configuration.h View File

899
 //#define BLTOUCH
899
 //#define BLTOUCH
900
 #if ENABLED(BLTOUCH)
900
 #if ENABLED(BLTOUCH)
901
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
901
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
902
+
903
+  // BLTouch V3.0 and newer smart series
904
+  //#define BLTOUCH_V3
905
+  #if ENABLED(BLTOUCH_V3)
906
+    //#define BLTOUCH_FORCE_5V_MODE
907
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
908
+  #endif
902
 #endif
909
 #endif
903
 
910
 
904
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
911
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/delta/FLSUN/kossel_mini/Configuration.h View File

899
 //#define BLTOUCH
899
 //#define BLTOUCH
900
 #if ENABLED(BLTOUCH)
900
 #if ENABLED(BLTOUCH)
901
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
901
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
902
+
903
+  // BLTouch V3.0 and newer smart series
904
+  //#define BLTOUCH_V3
905
+  #if ENABLED(BLTOUCH_V3)
906
+    //#define BLTOUCH_FORCE_5V_MODE
907
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
908
+  #endif
902
 #endif
909
 #endif
903
 
910
 
904
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
911
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/delta/Geeetech/Rostock 301/Configuration.h View File

889
 //#define BLTOUCH
889
 //#define BLTOUCH
890
 #if ENABLED(BLTOUCH)
890
 #if ENABLED(BLTOUCH)
891
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
891
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
892
+
893
+  // BLTouch V3.0 and newer smart series
894
+  //#define BLTOUCH_V3
895
+  #if ENABLED(BLTOUCH_V3)
896
+    //#define BLTOUCH_FORCE_5V_MODE
897
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
898
+  #endif
892
 #endif
899
 #endif
893
 
900
 
894
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
901
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 7
- 0
config/examples/delta/Hatchbox_Alpha/Configuration.h View File

904
 //#define BLTOUCH
904
 //#define BLTOUCH
905
 #if ENABLED(BLTOUCH)
905
 #if ENABLED(BLTOUCH)
906
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
906
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
907
+
908
+  // BLTouch V3.0 and newer smart series
909
+  //#define BLTOUCH_V3
910
+  #if ENABLED(BLTOUCH_V3)
911
+    //#define BLTOUCH_FORCE_5V_MODE
912
+    //#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
913
+  #endif
907
 #endif
914
 #endif
908
 
915
 
909
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
916
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)

+ 0
- 0
config/examples/delta/MKS/SBASE/Configuration.h View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save