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

Missing Z-Probe option/type? #5498

Closed
yonkiman opened this issue Dec 13, 2016 · 4 comments
Closed

Missing Z-Probe option/type? #5498

yonkiman opened this issue Dec 13, 2016 · 4 comments
Labels
F: Calibration T: Question Questions, generally redirected to other groups.

Comments

@yonkiman
Copy link

My DeltaMaker was designed with a solenoid that is extended to set up a NO switch that closes on contact with the build plate. So I just need one GPIO output pin to go high to extend the solenoid (and low to release it), and one one GPIO input pin to read the switch state. But none of the current probe options seem to support that:

  • Fix-Mounted Probe doesn't engage a solenoid
  • BLTouch uses a servo, not a solenoid
  • Z-Servo Probe uses a servo, not a solenoid
  • Z-Sled doesn't work for delta printers
  • Allen Key Probes - all mechanical extend/retract (clever!)

My best bet seems to be to modify one of the servo routines so it outputs a static high or low instead of a PWM signal, but I suspect I may be missing a simpler solution...

@Blue-Marlin
Copy link
Contributor

Blue-Marlin commented Dec 13, 2016

Take the Z-Sled probe and throw out the moves.

@@ -1800,11 +1800,11 @@ static void clean_up_after_endstop_or_probe_move() {
         SERIAL_EOL;
       }
     #endif
 
     // Dock sled a bit closer to ensure proper capturing
-    do_blocking_move_to_x(X_MAX_POS + SLED_DOCKING_OFFSET - ((stow) ? 1 : 0));
+    //do_blocking_move_to_x(X_MAX_POS + SLED_DOCKING_OFFSET - ((stow) ? 1 : 0));
 
     #if PIN_EXISTS(SLED)
       digitalWrite(SLED_PIN, !stow); // switch solenoid
     #endif
   }

Maybe you have to kill some sanity checks.

@yonkiman
Copy link
Author

That did it - just removing that line and the sanity check line not allowing deltas to use sleds.

Thanks!

@thinkyhead thinkyhead added F: Calibration T: Question Questions, generally redirected to other groups. Status: Workaround labels Dec 14, 2016
@nathan-rightscale
Copy link

I have a similar z-probe on a Prusa style printer. In addition to commenting out the moves I had to add a delay or I ran into a race condition where the endstop would trigger before the solenoid could fully deploy. Drove me nuts trying to figure that one out.

  static void dock_sled(bool stow) {
    #if ENABLED(DEBUG_LEVELING_FEATURE)
      if (DEBUGGING(LEVELING)) {
        SERIAL_ECHOPAIR("dock_sled(", stow);
        SERIAL_CHAR(')');
        SERIAL_EOL;
      }
    #endif

    // Dock sled a bit closer to ensure proper capturing                                                                                                                
    //do_blocking_move_to_x(X_MAX_POS + SLED_DOCKING_OFFSET - ((stow) ? 1 : 0));                                                                                        

    #if PIN_EXISTS(SLED)
      digitalWrite(SLED_PIN, !stow); // switch solenoid                                                                                                                 
      delay(SERVO_DELAY);
    #endif
  }

I don't use any servos on my machine so decided to use SERVO_DELAY so it's more configurable.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F: Calibration T: Question Questions, generally redirected to other groups.
Projects
None yet
Development

No branches or pull requests

4 participants