tripipy icon indicating copy to clipboard operation
tripipy copied to clipboard

Simple python driver for Trinamic tmc5130 connected to Raspberry Pi

Results 8 tripipy issues
Sort by recently updated
recently updated
newest added

I'm using this code with a Raspberry PI 4 (SD image with 2022-04-04-Raspios bullseye) + PI 4 Click Shield + Silent Step click, and I'm not able to get Channel...

Hi, thank you for the code Unfortunately, I have some issues. 1) I guess, the correct wiring (with your sample code in trinamicDriver.py) to a TMC5130A-TA_BOB is: ``` def __init__(self,...

Hi, I have working "Pi HAT" now - both drivers are working perfectly on RPi4 . As I'm not very strong in python .... yet ;-) I'm not sure what...

help wanted

If you try to write to a `triMixed` field, a `ValueError` is thrown. For example: ```python self.writeInt('GCONF', 0) ``` causes: ```python Traceback (most recent call last): File "", line 1,...

Here's the goto function: def goto(self, targetpos, wait=True): self.md.enableOutput(True) self.md.writeInt('XTARGET',int(self.ustepsPerRev*targetpos)) if wait: self.wait_reached() self.md.enableOutput(False) If wait is False the output is immediately disabled and hence the motor does not move...

My original code looked like this: ``` mot = chipdrive.tmc5130(settings=nema17,loglvl=logging.ERROR) for i in range(2): mot.goto(0.3) mot.goto(0) ``` This was to check that the index marker came back to the same...

Consider: print("Set speed to 40") mot.updateSettings({'maxrpm':40}) time.sleep(1) # in case it takes time to make a difference print("Goto 10") mot.async_goto(10) while mot.are_we_there_yet() != 0: time.sleep(0.05) print("STOPPED - SPEED CHANGE ON...

Hi there --- I've now got the right board with R1 deleted and this code is working for me. I've found that updateSettings throws this error: mot.updateSettings([{'maxrpm':10}]) Traceback (most recent...