laurb9 / StepperDriver

Arduino library for A4988, DRV8825, DRV8834, DRV8880 and generic two-pin (DIR/STEP) stepper motor drivers
MIT License
547 stars 229 forks source link

adding TMC 2100 driver to the list #47

Open pedros89 opened 6 years ago

pedros89 commented 6 years ago

Any chance this library could be used with TMC 2100 in the future? I like TMC 2100 as they are more silent drivers. Pedro

laurb9 commented 6 years ago

Looks like it should be possible, the docs are at https://www.trinamic.com/products/integrated-circuits/details/tmc2100/

pedros89 commented 6 years ago

So basically if I just substitute the A4988 that I am currently using with the TMC 2100 it should already be working without any library modification?

laurb9 commented 6 years ago

Most likely not, the control wires are different even if the carrier might be the same. A4988 has three microstep pins (MS1, MS2, MS3), the TMC2100 has two (CFG1, CFG2) which means one of the carrier pins does something else (I don't have a TMC2100 carrier to see what).

It will need a library modification and possibly some rewiring depending on whether the carrier was made compatible with A4988 or not.

TedyLupu commented 6 years ago

Hmmm... i'm using @ the moment the TMC 2100 and it works ok with tge a4998 lyb. there are some problems when running the motor intermittently due to the fact that the tmc has that "interpolator" for microsteping and the pulse delays are messed up. But it works in continuous mode