MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.3k stars 19.25k forks source link

[FR] different driver current for sensorless_homing #15686

Closed danym21 closed 4 years ago

danym21 commented 5 years ago

Description

I use TMC5160 stepper drivers, since I use 0.9deg/step instead 1.8deg/step motors stallguard is not triggered correctly with the the current that I use for printing.

as example for printing I use a current from 1100 mA and "STALL_SENSITIVITY 2" the machine is crashing, when I use "STALL_SENSITIVITY 1" Stallguard is trigger often in the middle of the way to the edge. When I use a current from 462 for homing with "STALL_SENSITIVITY 2" all is working fine but on printing it is losing steps.

when this is useful for all, then I will share my code changes that I testing at the moment. I add additional settings in the configuration_adv.h and changed the G28 source code. at the moment it is working fine for me.

thinkyhead commented 5 years ago

When you have a PR submitted, we can close this issue and discuss the PR.

danym21 commented 5 years ago

I have tried to submitt, can you check please?

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label / comment or this will be closed in 5 days.

github-actions[bot] commented 4 years ago

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.