Giter Club home page Giter Club logo

Comments (3)

Chr157i4n avatar Chr157i4n commented on June 2, 2024

Hey,

if you use the parameter skip_uart_init = True on the constructor (otherwise the tmc registers get accessed in the constructor and the script will fail for you instantly) and not use the functions that access the tmc registers, the library should also works with drivers that don't have UART.

Example:

tmc = TMC_2209(21, 16, 20, skip_uart_init = True)

tmc.set_acceleration_fullstep(1000)
tmc.set_max_speed_fullstep(250)


tmc.set_motor_enabled(True)

tmc.run_to_position_steps(400)
tmc.run_to_position_steps(0)

tmc.set_motor_enabled(False)

del tmc

from tmc2209_raspberry_pi.

iosifnicolae2 avatar iosifnicolae2 commented on June 2, 2024

Hi,

Thank you for your quick response.

In the meantime, I've created a fork specific for CL5T:
https://github.com/iosifnicolae2/cl57t_raspberry_pi_stepper_driver

Hope that it's helpful for other people trying to work with this controller.

from tmc2209_raspberry_pi.

Chr157i4n avatar Chr157i4n commented on June 2, 2024

I will close this issue now. If you still have questions feel free to reopen this issue or open a new one.

from tmc2209_raspberry_pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.