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

Motion control class #93

Open
Chr157i4n opened this issue Mar 1, 2025 · 1 comment · Fixed by #94
Open

Motion control class #93

Chr157i4n opened this issue Mar 1, 2025 · 1 comment · Fixed by #94
Labels
enhancement New feature or request

Comments

@Chr157i4n
Copy link
Owner

Chr157i4n commented Mar 1, 2025

Describe the feature
Move the Motion control code into own class, so its easier to support different types of Motion control

Proposal:

tmc = Tmc2209(MotionControlStepDir(21, 16, 20), TmcUart("/dev/serial0"))

Additional context
Possible Motion control types:

  • STEP/DIR
  • Vactual
  • external Microcontroller for controling STEP/DIR
  • Motion Controller inside the TMC5130 controlled via SPI/UART
@Chr157i4n Chr157i4n added the enhancement New feature or request label Mar 1, 2025
Chr157i4n added a commit that referenced this issue Mar 2, 2025
- added inherited class TmcMotionControlStepDir
- added inherited class TmcMotionControlVActual
@Chr157i4n
Copy link
Owner Author

Chr157i4n commented Mar 3, 2025

i also added the Classes TmcEnableControl:

tmc = Tmc2209(TmcEnableControlPin(21), TmcMotionControlStepDir(16, 20), TmcComUart("/dev/serial0"))

@Chr157i4n Chr157i4n linked a pull request Mar 3, 2025 that will close this issue
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 a pull request may close this issue.

1 participant