How to run this closed-loop stepper hybrid w integrated driver?

I've got myself one of these for a project but I'm lost when it comes to get it running.
https://www.dhgate.com/product/new-nema23-closed-loop-stepper-motor-1-2nm/982700585.html?skuId=1256545912544575514

https://www.aliexpress.com/item/1005005598264428.html

It's pulse controlled so I figure it shouldnt be an issue to run it with an arduino or esp32.
I've read around like crazy trying to find someone in a similiar situation but I'm still clueless on how I should code this.
I've ran Nema 17 steppers before but then I've been able to use existing libraries.

It's not stated anywhere what model the driver is.
Could someone please point me in the right direction?

Is there an operating manual for those motors?

They are designed to be a drop-in replacement for regular open loop motors, so you should be able to use any stepper library that supports the typical STEP/DIR interface.

Some of the closed loop motor/drivers also handle an acceleration profile, it's not clear if these do or not. I would guess not.

Are you saying that existing libraries don't work with this motor?
Which libraries have you tried?

1 Like

Hi, @dubbeltrubbel
It looks like you need the driver.

Tom.... :smiley: :+1: :coffee: :australia:

Hi, @dubbeltrubbel
This may help.
HBS57H.pdf (161.1 KB)

From the manual;

What is the actual part number written on the stepper?
Nema 17, only tells us the physical size, not the electrical parameters.

Tom.... :smiley: :+1: :coffee: :australia:

It's not very clear, but I think the diagram is trying to say that the closed loop stepper on the left is equivalent to a motor + driver + encoder cable. IOW the closed loop stepper incorporates all the things on the right.

2 Likes

Yes, that's it exactly. The driver is integrated and what they mean is that it replaces the external driver+cable.

Regarding the driver itself I do not know the model and if it is equivalent to the HBS57H or if they just used a picture of one because they felt like it :slight_smile:

I finally got my hands on a PDF with some documentation.
JD57 SERIERS DOCUMENT (1).pdf (760.4 KB)

Only mention of the driver is that it's a 32 bit DSP chip.
I'm looking into MobaTools now, if I'm not missing something crucial I should be able to get it running with that I think.
I need to be able to change both the speed and distance(# of steps) on the fly, while it is running. Don't know if moba is the best with that in mind, If there's some better way I'd be happy to learn about it

What I meant was that I was uncertain whether I could use any generic library (that's not driver specific) or if I would have to use a particular library that's specific for this kind of driver/closed loop.

It just step and dir, I think any lib would work.

See post #3

1 Like

Yes, it has the driver built-in and needs only the PULSE/DIR/ENABLE signals that any other driver would use.

The stepper.h library doen't work easily with STEP/DIR driver, but most of the others do. You don't need anything special.

See post #3

Hi, @dubbeltrubbel

Have you written some simple bit banging code, no library, to check you have control of the motor and controller.
Basic code/hardware development.

Tom.... :smiley: :+1: :coffee: :australia:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.