Tower Crane; the next phase

That's a more fancy stepper driver that the ones I'm used to - it appears that you can opt to control it (or perhaps configure it) over a serial port.

However, it looks as though it will act as a simple driver too.

A1 and A2 go to one set of stepper coils, B1 and B2 go to the other. You need a power supply for the stepper, I assume that's VM and the ground next to it.

Then you need to connect step and direction to Arduino pins. The other ground pin goes to Arduino ground. VIO to Arduino 5V.

Enable can usually be ignored - it's really disable and defaults to enabled. If necessary you can pull it to 5V or ground whichever the manual asks for. Microstep pins you can probably ignore too for an initial test.

For code you just need the blink code from the IDE and attach the step pin to the one that's flashing the LED.

Remember that I haven't used one of these - the above is deduced from what I know about Pololu drivers and assumptions based on the pin names. I suggest you pull the manufacturer's manual and check before applying any power!