can u help me in how i can connect and test code the tb6600 driver (4.5A) to arduino to control stepper motor (NEMA 23)
Please post a link to the datasheet for your driver.
Some of them have connections marked (for example) step+ and step-. In that case connect all the - connections to Arduino GND and the + connections to suitable Arduino I/O pins.
it's a step and direction device.
Robin2's link to stepper motor basics talks about the A4988.
the programming would be the same.
pulse out to take a step
direction is high or low, goes forward or reverse.