Duet 2 / Fly TMC5160
-
Any chance of being able to control this with a Duet 2?
https://m.aliexpress.com/item/1005004229433552.html
Theres not much in the way of documentation but it appears SPI is mandatory -
@3dpmicro no. 5160 support isn't built into the duet 2 firmware.
-
@jay_s_uk so "not without building your own version of RRF"? But I guess it's more straightforward to get an STM board where this will work out of the box (with board.txt magic).
-
@oliof yep. i thought after posting that there would also need to be a way to adjust the sense resistor value as fly drivers use a different value (0.033) compared to the duet boards (0.075). that functionality has been added to the STM32 port but as theres no need for it on the duet version, it hasn't been added.
-
@jay_s_uk yeah, it'll be unwieldy quickly to adjust for that and not make a mistake which could at best cause the driver to underperform and at worst burn up a driver or damage a stepper.
-
-
So it sounds like someone with infantile coding and electronic configuring abilities like myself would be better off getting one of their boards to try it? This is really only a test to see if I can make this stepper think it's a servo, rpm wise. 2600rpm in the video
-
Can it be configured to work with the D3?
-
@3dpmicro you'd have to have a custom build to map the pins as the D3 is configured for 6 drivers only, including finding a way to hop onto the same SPI as used by the onboard drivers, map the pins required to connect to the driver and then add the code to modify the sense resistor value for that individual driver
-
Damn.... .
-
@3DPMicro @jay_s_uk
Maybe a Sammy C21 would be helpful as interface?
One would still have to hack it, but the SPI pins are easier to find I guess...If what's you try to achieve is of general interest, you might find help here.
Sounds like you want to build a continuous rotating motor with quadrature encoder closed loop? -
@o_lampe yes, that would possibly work. but might as well just get a 1HCL as that has a 5160 on it, or a 3HC
-
@jay_s_uk
I wonder if the 1HCL is able to use the encoder feature of the 5160? Seems, I'm not uptodate with the new Duet bords. -
@o_lampe it does, well it has inputs for positional feedback. Its basically Duet's closed loop driver https://duet3d.com/duet-3-expansion-1hcl
-
@jay_s_uk This is for my y axis on new, ground up machine. I need the voltage of this particular 5160 to get me over the goal of at least 500mm/s rapids with 2.1a nema 17. 1 HCL is 32v. I probably need 48v. 36v on a 2130 was 430mm/s
-
@3dpmicro the 1HCL is 48v capable
-
The latest version of the EXP3HC expansion board is also 48V capable.
-
its a good thing I just bought my wife a new car because the first thing she's going to ask is why I need another Duet