Comments (3)
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.
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.
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)
- Destructor not beeing called
- change code to comply with Style Guide for Python Code
- Standstill current reduction not working (iHOLD) HOT 2
- TMC2209: after 10 tries not valid write access HOT 2
- Adding a function for continous turning HOT 3
- stallguard / finding values HOT 3
- Do something else while running a stepper HOT 4
- positions being skipped (due to performance issues) HOT 3
- Stallguard fires right away HOT 4
- Connecting two tmc2209 to serial HOT 6
- about wiring diagram and wiring table HOT 3
- Compatible with Watterott TMC2209? HOT 7
- First vactual after TMC power-on is different than the rest HOT 1
- When will version 0.4.3 be released HOT 2
- TWOTREES TMC2209 v2.0 passes tests but fails to energize stepper HOT 3
- Request: Replace logger print-statement with python logging library HOT 3
- RuntimeError when redoing homing after failed attempt HOT 5
- Add support for Raspberry Pi 5 HOT 17
- Support for Luckfox Pico maybe thru python-periphery support HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmc2209_raspberry_pi.