Trybotics Logo

Controlling Bipolar Stepper Motors With Arduino [without Library]

DESCRIPTION

Tools:

- Arduino UNO

- Breadboard

- L293D

- Stepper motor

- 12v adapter [or any power source that is suitable for your motor according to the datasheet]

- Jumper wires

Description:

Please watch the first 14 minutes of the following video to understand the three excitation modes of the bipolar stepper motor:

Description:

Description:

Most of stepper motors draws very large amount of current that the arduino can't handle, so I'm using L293D dc motor driver [controlled by the Arduino] to provide the motor with the sufficient current. If you choose another DC motor driver, you should refer to its datasheet to know its proper wiring and whether you should wire flyback diodes or not.

Note that the L293D has its internal flyback diodes, so there is no need to put them.

Description:

The most common excitation modes are:

# Two phase mode

# One phase mode, which draws the least current, and provides less torque than the two phase mode.

# Half stepping mode, which gives you more steps per revolution, but provides less torque.

Note that there is also the microstepping mode which I'll demonstrate in another instructable soon.

Using those tables, you'll be able to write a simple Arduino code to run your stepper (or jump to the next step).


YOU MIGHT ALSO LIKE