d-weber / prusa-chain-production

Add chain production capability to your Prusa i3
Other
115 stars 20 forks source link

Update the arduino code for TMC2130 support #2

Closed d-weber closed 3 years ago

d-weber commented 4 years ago

The arduino code is actually made for A4988 drivers & 4 microswitch endstops

It should use TMC2130 stallguard function to detect endstops & detect ejection fails to retry

Faceless3D commented 3 years ago

Hi,

thank you for this great project! I just finished the PCB and want to test the system. Do you know when the code for the TMC2130 Stepper is available? Unfortunetly i can´t code :(

Thank you

Faceless3D commented 3 years ago

WhatsApp Image 2020-11-07 at 13 44 07

d-weber commented 3 years ago

Great ! i'll update the code tonight

d-weber commented 3 years ago

Done, you mayd need to tune STALL_VALUE @Faceless3D

Faceless3D commented 3 years ago

Thank you!

STALL_VALUE 9 works good for me. I also increased the acceleration a bit.

d-weber commented 3 years ago

Implemented in #9

bnykolass commented 2 years ago

Please, where should I put the script in octoprint? It doesn't work for me as a plugin. Well thank you