Welcome! Log In Create A New Profile

Advanced

Use StallGuard for Z_MAX endstop

Posted by DrumClock 
Use StallGuard for Z_MAX endstop
February 16, 2021 12:17PM
Hi,
is it possible to define a StallGuard function in Marlin for Z_MAX position detection instead of Endstop sensor?

HW: I connected the ZDIAG pin of the TMC 2209 driver with the Z-MAX pin, but it doesn't do anything.

Thanks
Re: Use StallGuard for Z_MAX endstop
February 16, 2021 05:12PM
@DrumClock, why yes you can. I've just gone through this myself. Only, for which board are you using? I've done it with a MEGA2560 and SMART RAMPS (very similar to RAMPS 1.4).

Here is a config for it for reference .. [github.com]

BTW: It took me a while to figure out that you must connect the DIAG pin to one of the Z-MAX/MIN pins.

Also check out Gcode command M43 .. you want watch the pin to confirm what is what.
Re: Use StallGuard for Z_MAX endstop
February 19, 2021 01:27PM
Hi @NovaHuta
in the link provided, the standard configuration files are not modified for the StallGuard Z-MAX configuration.
Re: Use StallGuard for Z_MAX endstop
February 22, 2021 07:52AM
A pardon me, I should specify in that repo that I'm talking about the itopie400+ branch.
Sorry, only registered users may post in this forum.

Click here to login