Go Down

Topic: help with wantai DQ542MA stepper driver for arduino (Read 7164 times) previous topic - next topic


Aug 05, 2011, 06:47 pm Last Edit: Aug 05, 2011, 07:57 pm by chsk Reason: 1
Hello to forum.
I'm new to this forum, so please forgive the stupid questions.
A couple of days ago, I brought this driver on ebay, mostly for use in a small CNC project - buy quickly I was looking into how to adapt it to the arduino processor board.

But the DIR+, PUL+ is giving me a hard time to port it to the library already in arduino for stepper/driver projects. Properly because I´m new to this. Will this driver work with some of the driver-library already in the arduino environment?

Also - do I need to connect the GROUND on the Arduino to the GROUND on the driver? There seams to be different opinions on the net, on the best way to do this.

Could someone please guide me in a starting direction.

I don't have information on the size of the stepper motor, other then it is a Bipolar motor (8 connections) - I found a guide for the connections.

What about current?

Feel free to guide me / correct me, in the right direction..



The driver you have is a "step and direction" type where the direction pin is pulled low or high to determine the direction of rotation and the step pin (on yours it's called "pulse") is pulsed to rotate the motor. In addition you have an enable pin that is pulled high to basically turn the driver on.
You also have dip switches to set microstepping options. Looking at the data sheet you have 15 microstep options which is much more than usual.
A good tutorial can be found here: http://danthompsonsblog.blogspot.com/2008/09/easydriver-v31-tutorial.html. It is for the Easydriver board but most of the tutorial and code is applicable to yours. The only confusing part may be that the Easydriver has a ground for both step and direction. In your case you would tie the separate grounds together. And yes, the driver grounds and the Arduino grounds should also be tied together.
The data sheet states the driver will deliver up to 4.5 A so unless you have a very large motor you should be OK.
It looks like the Wantai driver has a lot of good features. Let us know how it works out for you.
Good luck.

Go Up