Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for TMC2209 / TMC 5160 spi / uart mode drivers #104

Open
jrsphoto opened this issue Apr 25, 2023 · 0 comments
Open

Support for TMC2209 / TMC 5160 spi / uart mode drivers #104

jrsphoto opened this issue Apr 25, 2023 · 0 comments

Comments

@jrsphoto
Copy link

Hey Ron,

Any chance you could look into the TMC22xx and TMC5160 stepper driver support? These new TMC drivers are so much more flexible than the old DRV8825 or A4988 drivers. There are a lot of really great TMC stepper motor drivers available with the added benefit of being able to support higher current motors and SPI control. Probably the two most popular are the TMC2209, and its brother, the TMC5160. These two drivers are similar, but the TMC5160 can support more powerful (in terms of current) stepper motors. And there is a single Arduino library to support the main ones

Minimally, for SPI / UART support, you only need one UART TX port from Arduino. This allows you to send commands to one or more TMC motor drivers at different addresses. If you want to read the status and other data, you would also need an RX pin from the Arduino but in this post , the post author mentions that you only really need the RX pin for Stallguard, which I don't think has any application in the rotator.

For libraries, I'd look at this one: https://github.com/teemuatlut/TMCStepper - this library supports all the most recent TMC stepper drivers. It's the same driver used in the link I posted above.

-John

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant