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

added toff setting #70

Merged
merged 1 commit into from
Jul 2, 2024
Merged

added toff setting #70

merged 1 commit into from
Jul 2, 2024

Conversation

travisjayday
Copy link

Simply added setting to control toff field which allows to set the current completely to OFF but still have the TMC set to enabled (with enable pin). For me it reduces the need to have EN wired to a GPIO

@Chr157i4n Chr157i4n added the enhancement New feature or request label Jul 2, 2024
@Chr157i4n
Copy link
Owner

Thanks for your contribution.
This is a great enhancement. You can also omit the DIR connection and control the direction via UART. Then you only need the STEP connection.

@Chr157i4n Chr157i4n merged commit 468acb1 into Chr157i4n:main Jul 2, 2024
7 checks passed
@travisjayday
Copy link
Author

yep exactly, that's how I'm running it right now from RPI4b and it works great! Thanks for the library :)

@Chr157i4n
Copy link
Owner

i have tested using the driver only with STEP pin myself and changed some functions in order to get the run_to_position function to work properly without DIR pin.

I have added a demo script on the dev branch:

https://github.com/Chr157i4n/TMC2209_Raspberry_Pi/blob/dev/demo/demo_script_10_only_step_pin.py

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

Successfully merging this pull request may close these issues.

2 participants