Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for BIQU B1-SE-Plus strain gauge probe #23101

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions Marlin/Configuration.h
Expand Up @@ -1220,6 +1220,15 @@
#endif
#endif

/**
* Probe Enable / Disable
* The probe only provides a triggered signal when enabled.
*/
//#define PROBE_ENABLE_DISABLE
#if ENABLED(PROBE_ENABLE_DISABLE)
//#define PROBE_ENABLE_PIN -1 // Override the default pin here
#endif

/**
* Multiple Probing
*
Expand Down
3 changes: 3 additions & 0 deletions Marlin/src/module/endstops.cpp
Expand Up @@ -392,6 +392,9 @@ void Endstops::not_homing() {
#if HAS_BED_PROBE
void Endstops::enable_z_probe(const bool onoff) {
z_probe_enabled = onoff;
#if PIN_EXISTS(PROBE_ENABLE)
WRITE(PROBE_ENABLE_PIN, onoff);
#endif
resync();
}
#endif
Expand Down
9 changes: 9 additions & 0 deletions Marlin/src/pins/pinsDebug_list.h
Expand Up @@ -1439,6 +1439,15 @@
#if PIN_EXISTS(Z_MIN_PROBE)
REPORT_NAME_DIGITAL(__LINE__, Z_MIN_PROBE_PIN)
#endif
#if PIN_EXISTS(PROBE_ACTIVATION_SWITCH)
REPORT_NAME_DIGITAL(__LINE__, PROBE_ACTIVATION_SWITCH_PIN)
#endif
#if PIN_EXISTS(PROBE_ENABLE)
REPORT_NAME_DIGITAL(__LINE__, PROBE_ENABLE_PIN)
#endif
#if PIN_EXISTS(PROBE_TARE)
REPORT_NAME_DIGITAL(__LINE__, PROBE_TARE_PIN)
#endif
#if PIN_EXISTS(I_ATT)
REPORT_NAME_DIGITAL(__LINE__, I_ATT_PIN)
#endif
Expand Down
4 changes: 3 additions & 1 deletion Marlin/src/pins/stm32f1/pins_BTT_SKR_CR6.h
Expand Up @@ -71,7 +71,9 @@
// Probe
//
#define PROBE_TARE_PIN PA1
#define PROBE_ACTIVATION_SWITCH_PIN PC2 // Optoswitch to Enable Z Probe
#if ENABLED(PROBE_ACTIVATION_SWITCH)
#define PROBE_ACTIVATION_SWITCH_PIN PC2 // Optoswitch to Enable Z Probe
#endif

//
// Steppers
Expand Down
5 changes: 4 additions & 1 deletion Marlin/src/pins/stm32f1/pins_CREALITY_V452.h
Expand Up @@ -34,6 +34,9 @@
#define HEATER_0_PIN PA1 // HEATER1
#define HEATER_BED_PIN PA2 // HOT BED
#define FAN_PIN PA0 // FAN
#define PROBE_ACTIVATION_SWITCH_PIN PC6 // Optoswitch to Enable Z Probe

#if ENABLED(PROBE_ACTIVATION_SWITCH)
#define PROBE_ACTIVATION_SWITCH_PIN PC6 // Optoswitch to Enable Z Probe
#endif

#include "pins_CREALITY_V45x.h"
5 changes: 4 additions & 1 deletion Marlin/src/pins/stm32f1/pins_CREALITY_V453.h
Expand Up @@ -34,6 +34,9 @@
#define HEATER_0_PIN PB14 // HEATER1
#define HEATER_BED_PIN PB13 // HOT BED
#define FAN_PIN PB15 // FAN
#define PROBE_ACTIVATION_SWITCH_PIN PB2 // Optoswitch to Enable Z Probe

#if ENABLED(PROBE_ACTIVATION_SWITCH)
#define PROBE_ACTIVATION_SWITCH_PIN PB2 // Optoswitch to Enable Z Probe
#endif

#include "pins_CREALITY_V45x.h"
7 changes: 7 additions & 0 deletions Marlin/src/pins/stm32f4/pins_BTT_SKR_V2_0_common.h
Expand Up @@ -132,6 +132,13 @@
#define Z_MIN_PROBE_PIN PE4
#endif

//
// Probe enable
//
#if ENABLED(PROBE_ENABLE_DISABLE)
#define PROBE_ENABLE_PIN SERVO0_PIN
#endif

//
// Filament Runout Sensor
//
Expand Down