

So if you tell it to go to 10,000 – It knows it is at 9,00 already, so it moves an additional 1000 steps. The library even keeps track of the position of the motor. Meaning, you can be moving your motor as you are reading from a sensor, or turning on lights etc.
#Tema okun drivers
It is even does acceleration and deceleration, supports multiple drivers at once, and most importantly it is non blocking. This is an amazing library that I use for all my stepper needs now.
#Tema okun code
Codeįor the arduino code for the driver, im going to be using AccelStepper Library.

If this does not work for you, see the section below on finding your motors coil pairs.

#Tema okun driver
(The Big Easy Driver can supply up to 2 amps)Ĭonnect the 3 control wires from the “gnd”, “dir”, and “step” of the Big Easy Driver to the Arduino as shown.Ĭonnect the stepper motor to the driver – For me the red/green were one pair, and the blue/yellow was another. A higher current/amperage rating is better, and just means it wont burn out. Power the driver with 8-35v – If using a wall adapter, make sure the adapter has at least enough current for the motor. In fact, a good deal of the pins are actually just duplicates that are spaced out differently. If you are running a higher power motor, you will probably want to put a heat sink on the driver as well.Įven though there are some 30 pins on the Big Easy Driver, we only need a few to get this up and running. Keep this in mind when adjusting the current limits. Note: The arrow indicators on the current adjustment potentiometer are backwards. Too high, and you could burn the motor up, too low, you wont get all the power out of your motor. You want to set it to whatever your motor is rated to. On the bigEasy driver is a mini potentiometer to control the current to the motor.

Exactly why this is is pretty complex, but if you want to know more about it, you should really read this: Gecko Drive – Step Motor Basics This will allow the motor to spin faster than if powered at a lower voltage. It is best to power the driver with the highest voltage you can ( up to 35V max for this driver ). The driver will take over powering the motor for you. Well, when using a stepper driver, you are powering the driver, not the motor. It is able to take a lot more abuse and power, so it isn’t as easy to destroy as the easy driver, can power much larger motors, and it also gives you a little more control by letting you change the microstepping setting.Ī lot of people ask about what voltage they should use to power their motor. The big easyDriver is the big brother of the easy driver we wrote about last year. Controlling them can get tricky at first, so today we are doing an article on using the Big EasyDriver Stepper Motor Driver. The most common steppers have 200 steps per revolution, so all movement is in 1.8º increments (360º / 200). You can feel these steps if you slowly turn your stepper by hand. Steppers have a minimum amount they can move known as a step.
#Tema okun full
And, unlike typical motors, steppers are able to do all of this, and hold their position when they are not moving – The trade off is that they cant move as fast, and you have to power them at full power all the time, but you get total control in return. 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.
