Misfittech / nano_stepper

Stepper feedback controller
423 stars 179 forks source link

Convert to TMC2208? #57

Open Shaische opened 4 years ago

Shaische commented 4 years ago

Looking to convert this to a TMC2208. I was wondering if any firmware modifications would be necessary? Any help appreciated!

kb- commented 4 years ago

The same answer would apply here. https://github.com/Misfittech/nano_stepper/issues/55 Major modifications. The firmware controls a H-bridge with 4 logical inputs. It doesn't generate STEP/DIR for a TMC2208 or alike.

xhejtman commented 3 years ago

So no plans to add better driver currently?

Shaische commented 3 years ago

The TMC5160 has encoder support. Page 10 https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC5160A_Datasheet_Rev1.14.pdf The breakoutboard is open source. https://www.digikey.ca/reference-designs/en/motor-control/motor-control/2592 Download link https://www.trinamic.com/fileadmin/assets/Products/Eval_Drawings/TMC5160-BOB_CAD_Files_V1.2.zip

Maybe it's possible to incorporate TMC5160? I'm not sure if the same setup would work with the other ones like TMC2208? Sadly above my skill level to incorporate this.