Use The EasyDriver Stepper Motor Driver + Arduino

Stepper (or step) motors are really cool. They are perfect for automation or any time you need a motor to turn to a specific point, at a specific speed, in a specific direction. For this article I wont get into why, or how, but unlike typical motors, steppers are able to do all of this, and hold their position when they are not moving – You pay for this by essentially powering them at full power all the time, but you get total control in return.Use The EasyDriver Stepper Motor Driver + Arduino

Steppers are defined in the amount of steps, or degrees that is the minimum turn the motor can make, with 200 steps, or 1.8º motors being the most common. And you can control them relatively easily with your arduino and some Transistors – But today I wanted to do a quick article on hooking up the EasyDriver Stepper Motor Driver sold from sparkfun, the sparkfun sold stepper motor, and your Arduino. I noticed there was a very nice Portuguese article already on the topic, but it did really describe how you connect the motor or mention speed control.

So… The EasyDriver does something called micro stepping, it breaks down that minimum step into smaller micro steps, in this case 8 micro steps per step. Microstepping allows for smoother more accurate control, but that means that your 200 step stepper, connected to the EasyDriver needs 1600 ( 200 * 8 ) steps to make a full rotation – Just take note when you wonder why telling it to step 200 steps barely rotates the motor.

READ  0-24v 3A Variable Power Supply using LM338

Because steppers hold their position until you tell them to “step” you can easily control their speed with some great advantages. Unlike a typical motor, steppers actually are stronger when moving slower. And… You don’t change the amount of power to the motor to control its speed – In fact, you almost never need to change the amount of power to the motor – So just give it what it needs, and keep it that way.

Hooking it up

Only a few things need to connected to use the EasyDriver to use it with your Arduino. You need some 12V source to the EasyDriver (the motor in this article is 12V) – This will be powering the stepper – Im using a 12V adapter – similar to the one in the illustration. Just make sure it is rated at least 750ma – A higher rating is better, and just means it wont burn out. Connect the stepper motor as shown to the EasyDriver – The red/green are one pair, and the blue/yellow are another. If your stepper is different, you can ask us in the forum/discussion area how to find the 2 pairs. Lastly connect the 3 wires from the “gnd”, “dir”, and “step” of the EasyDriver to the Arduino as shown.Schematic Use The EasyDriver Stepper Motor Driver + Arduino

Using the EasyDriver’s current regulator

If you use use a higher voltage adapter than your stepper motor is rated at (this one is 12V) you could be supplying too much current, and could damage the motor. You can dial down the current on the easyDriver using the small dial on the board if needed – it can limit the current from 150ma – 750ma. This particular motor is rated at 300ma maximum. This basically gives you a way to only supply the motor what it needs if you could be supplying too much.

READ  Wireless Motor Speed Control System with Arduino

For more detail: Use The EasyDriver Stepper Motor Driver + Arduino

This Post / Project can also be found using search terms:

  • projects with motors
  • projekt with motar
Clip to Evernote

Leave a Comment

(Spamcheck Enabled)

Read previous post:
Experiments with 2.4″ TFT
Experiments with 2.4″ TFT

Ultimamente tenho andado a testar um display TFT de 2.4" PBC ILI9341 com touch adquirido na ebay por menos de...

Scroll to top