Easy Driver Stepper Motor Driver
Easy Driver Stepper Motor Driver
It is a chopper microstepping driver based on the Allegro A3967 driver chip.
It has a variable max current from about 150mA/phase to 750mA/phase.
It can take a maximum motor drive voltage of around 30V, and includes on-board 5V regulation, so only one supply is necessary.
Each EasyDriver can drive up to about 750mA per phase of a bi-polar stepper motor. It defaults to 8 step microstepping mode.
So if your motor is 200 full steps per revolution, you would get 1600 steps/rev using EasyDriver. This setting can be easily overridden by tying the MS1 and/or MS2 pin to ground
to set the driver to use 1/8, 1/4 or 1/2 microstep mode (See the datasheet for the table of values)
Quick Pin Description:
Please see the Allego A3967 data sheet linked below for complete technical details.
GND : There are three GND (Ground) pins on the Easy Driver. They are all connected together inside the board.
Connect the negative side of your power supply, as well as from any other boards you are using to drive the Easy Driver to one or more of the GND pins.
M+ : This is the power input to the Easy Driver. Connect this to the positive power supply lead. This should be a 6V to 30V, 2A (or more) power supply that is clean (low ripple).
A and B : (four pins) These are the motor connections. See below diagrams for how to hook these up. A and B are the two coils of the motor, and can swap the two wires for a given coil (it will just reverse the direction of the motor). Make CERTAIN that this connection to the motor is solid, and NOT through a connector that has any chance of intermittent contact (which will fry the motor driver chip).
STEP : This needs to be a 0V to 5V (or 0V to 3.3V if you've set your Easy Driver that way) digital signal. Each rising edge of this signal will cause one step (or microstep) to be taken.
DIR (Direction) : This needs to be a 0V to 5V (or 0V to 3.3V if you've set your Easy Driver up that way) digital signal. The level if this signal (high/low) is sampled on each rising edge of STEP to determine which direction to take the step (or microstep).
That's it - those are the only signals that you absolutely need to connect to anything. All the rest below are optional - in other words, the Easy Driver sets them to reasonable default values.
MS1/MS2 : These digital inputs control the microstepping mode. Possible settings are (MS1/MS2) : full step (0,0), half step (1,0), 1/4 step (0,1), and 1/8 step (1,1 : default).
RST (reset) : This normally high input signal will reset the internal translator and disable all output drivers when pulled low.
SLP (sleep) : This normally high input signal will minimize power consumption by disabling internal circuitry and the output drivers when pulled low.
ENABLE : This normally low input signal will disable all outputs when pulled high.
PFD : This one is complicated - please see the datasheet for more information. We default it to slow decay mode, but you can over-ride with your own voltage on this pin. (or by populating R17)
5V : This is an OUTPUT pin that will provide either 5V (default) or 3.3V from the voltage regulator, at a small amount of current (say 50mA - depends on input voltage) to power a circuit that you may need powered. If you cut jumper APWR (SJ1) then you can use the 5V pin as a VCC input to the Easy Driver, powering it with your own VCC supply.
Here's a drawing on how to hook up a six wire stepper motor to the EasyDriver.
Arduino sample code
BildR Tutorials link