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

Add support for Trinamic drivers #54

Open
sedorr opened this issue May 7, 2023 · 3 comments
Open

Add support for Trinamic drivers #54

sedorr opened this issue May 7, 2023 · 3 comments
Labels
electronics PCB and electronic components of the device enhancement New feature or request firmware Arduino code flashed into the device
Milestone

Comments

@sedorr
Copy link
Contributor

sedorr commented May 7, 2023

Maybe add support for StallGuard4 and StealthChop2 via the TMC2209. It should be relatively easy since you already use the standard driver modules used in 3d printers.
If you don’t need stall detection the TMC2208 should even be a drop in replacement for the A4988 (in legacy mode at least as far as I know).

@andreisperid andreisperid added enhancement New feature or request electronics PCB and electronic components of the device firmware Arduino code flashed into the device labels May 8, 2023
@andreisperid
Copy link
Owner

Pretty cool, nice idea. I've been interested on experimenting with the TMC2209 for sometime.

By quickly looking in the datasheet, it seems that an UART port is needed to fully configure it, so maybe we can implement it with the next version.

Didn't know, but there is a way to use a sensorless homing, but unfortunately it is not compatible with the E-TKT. It needs a physical stop to detect home.

@andreisperid andreisperid added this to the v3.0.0 milestone May 8, 2023
@sedorr
Copy link
Contributor Author

sedorr commented May 8, 2023

Maybe even consider doing away with the stepstick boards and solder a TMC2209-LA (or two) to the board.

If you don’t need stall detection the TMC2208 should be a drop in replacement for the A4988 (in legacy mode at least as far as I know). On the 2208 the UART is used for advanced stuff like full 256 microstep control and hybrid switching betwean stealthchop and spreadcycle mode. But you don't need it if you only need stealthchop and max. 16 microsteps you can get away without the UART.

@sabeechen
Copy link
Contributor

I tried swapping in a TMC2208, it is indeed a drop-in replacement for the A4988. It seems to work the same, except I had to reverse the stepper direction in the firmware. For anyone else doing it id recommend getting one preconfigured to disable UART mode, since its really difficult to move the config SMD resistor without a microscope, especially if the pin headers are already soldered.

The biggest difference is that the motor is nearly silent when moving (except for plastic rubbing on plastic) and the motor whine when holding position is gone. I rather like it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electronics PCB and electronic components of the device enhancement New feature or request firmware Arduino code flashed into the device
Projects
None yet
Development

No branches or pull requests

3 participants