<p>I have built a big gantry (1 m x 1 m) and currently use TMC2208 drivers and Marlin on a RAMPS 1.4 board. When working at high speeds, this could get dangerous if someone gets their hand in the way or something. According to the Marlin documentation</p>
<blockquote>
<p>Some TMC stepper drivers (e.g. TMC2209s) can detect when they bump into something that causes them to stop moving. This feature is so sensitive that it can actually take the place of traditional endstops.</p>
</blockquote>
<p>How can I use this feature of TMC2209s to stop the print if it bumps into something as a kind of safety feature?</p>

CC BY-SA 4.0
2023-05-02T07:10:13.273Z
It depends on the TMC2209's you have bought, if stand-alone you cannot use senserless homing. Please let us know what stepper drivers you bought.
0scar
CC BY-SA 4.0
2023-05-02T11:40:21.897Z
I haven't bought any yet. I was simply researching into the possibility of stopping the print if the machine bumps into something at any time. Sensor-less homing would simply be a bonus thrown in.
JakesMD
CC BY-SA 4.0
2023-05-03T07:14:25.153Z
Sensor-less homing is the functionality you are after. Current Prusa i3's will reset (and thus home) when movement is restricted by the print head (your definition of a bump can be handling or a print defect for instance) and resume printing. So sensorless homing is not the bonus, it is part of the functionality you are requesting.
0scar
CC BY-SA 4.0
2023-05-31T11:28:44.353Z
I'm having the same question, but I think its not just about (sensorless) homing. I also would like to stop the movement if we bump into an object. Is there a way to achieve this?  
Preferably, the solution should work both in StealthChop and SpreadCycle mode.

I read about M914: https://marlinfw.org/docs/gcode/M914.html
Would that work?
WowtaH
<marlin><stepper-driver><safety><tmc2209>
How to use TMC2209 driver to stop print when an obstruction is hit in Marlin
JakesMD
# How to use TMC2209 driver to stop print when an obstruction is hit in Marlin

(Asked by: username_0 on 2023-05-01)

I have built a big gantry (1 m x 1 m) and currently use TMC2208 drivers and Marlin on a RAMPS 1.4 board. When working at high speeds, this could get dangerous if someone gets their hand in the way or something. According to the Marlin documentation

> Some TMC stepper drivers (e.g. TMC2209s) can detect when they bump into something that causes them to stop moving. This feature is so sensitive that it can actually take the place of traditional endstops.

How can I use this feature of TMC2209s to stop the print if it bumps into something as a kind of safety feature?

**Tags:** marlin, stepper-driver, safety, tmc2209
> **Comments:**
> **username_1**: It depends on the TMC2209's you have bought, if stand-alone you cannot use senserless homing. Please let us know what stepper drivers you bought.  
> **username_0**: I haven't bought any yet. I was simply researching into the possibility of stopping the print if the machine bumps into something at any time. Sensor-less homing would simply be a bonus thrown in.  
> **username_1**: Sensor-less homing is the functionality you are after. Current Prusa i3's will reset (and thus home) when movement is restricted by the print head (your definition of a bump can be handling or a print defect for instance) and resume printing. So sensorless homing is not the bonus, it is part of the functionality you are requesting.  
> **username_2**: I'm having the same question, but I think its not just about (sensorless) homing. I also would like to stop the movement if we bump into an object. Is there a way to achieve this?   Preferably, the solution should work both in StealthChop and SpreadCycle mode.  I read about M914: https://marlinfw.org/docs/gcode/M914.html Would that work?  

---

## 0 answers

