Arduino Circuits

Step Motor and Driver Board

Use a driver board and step signals from an Arduino to rotate a step motor precisely and in increments.

22 November 20265 min read
Step motor and driver board circuit with an Arduino on a breadboard
Breadboard layout, components and jumper connections of the Step Motor and Driver Board circuit.

Bu projeyi gerçekten kurmak istersen parçaları hobidevre.com'dan temin edebilirsin →

Build it for real

To build this project for real, get the parts from hobidevre.com → hobidevre.com →

More build guides: hobidevre.com/blog

Create a free account — save your progress and get more circuits →

Save your progress

What is it for?

A step motor turns its shaft by a fixed angle on every step signal it receives, which makes it better than a DC motor for position control. Because Arduino pins cannot drive the motor coils directly, a driver board sits in between. The driver inputs connect to Arduino digital outputs and its outputs to the coil terminals. The motor common wire and the driver supply come from a separate 5V line; the driver ground, supply negative and Arduino GND meet at a common ground. On the breadboard, place the driver and power rails first, then connect the four step lines in order. If the step sequence is wrong the motor vibrates and does not turn, so note the wire colours and pin order. This circuit is a basic building block of 3D printer and CNC axes.

Parts list

The following components are used to build this project:

  • Arduino Uno × 1 — Generates the step and direction signals.
  • Step motor driver board × 1 — Converts low-current signals into coil currents.
  • Step motor × 1 — Advances its shaft one increment per step.
  • 5V supply × 1 — Separate power source for the motor and driver.
  • 220 Ω resistor × 1 — Limits the LED current.
  • Green LED × 1 — Shows the step signal.
  • Ground connection × 1 — A common point for all ground terminals.

Build it step by step

  1. Place the Arduino, driver board and step motor; connect GND to the ground rail.Tip: establish the common ground in the first step.
  2. Connect the supply positive to the motor common wire and to the driver supply pin.Tip: do not take motor power from the Arduino.
  3. Connect the driver ground and the supply negative to the common ground.Tip: if grounds are separate the steps become irregular.
  4. Connect the four step pins from Arduino digital outputs to the driver inputs in order.Tip: changing the pin order changes the motor direction.
  5. Connect the driver outputs to the four motor coil terminals.Tip: match the coil wires by colour.
  6. Add the 220 Ω resistor and LED on the step branch, upload the code and watch the incremental rotation.Tip: if the motor only vibrates, check the step sequence.

How it works

The stator of a step motor contains coils that are energised in sequence. The driver board turns each step pulse from the Arduino into the appropriate coil combination, and the rotor follows the magnetic field by turning one step. In full-step mode each signal advances the shaft by a fixed angle, so position can be tracked digitally. The driver is powered separately from the motor because coil current exceeds Arduino pin capacity. Commoning the driver ground with the Arduino GND is needed for step signals to be sensed correctly. The LED and series resistor show that the step line is working.

Layout tip: the Arduino is on the left, the driver in the middle and the step motor on the right. The four step pins go to the driver inputs, the driver outputs to the four coil terminals, and the supply positive to the common wire and supply pin. All grounds share one row; the LED and 220 ohm resistor sit in series on the step branch.

What you learn

  • Explains the relationship between a step signal and angular position.
  • Justifies why a driver board is necessary.
  • Knows the importance of the correct step sequence.
  • Reinforces separate supply and common ground practice.

Tips

  • Compare the coil order with the wiring diagram.
  • If the motor vibrates the supply current may be too low.
  • At high speed steps can be missed; increase speed gradually.
  • The LED should never be lit without its series resistor.

Try it yourself

  • Make a full turn: Rotate the motor one full turn with a set number of steps. The shaft returns to its start position after the given number of steps.
  • Reverse direction: Reverse the step sequence to turn the motor backwards. Changing the step order changes the rotation direction.

Getting the parts

If you want to build this project in real life, you can get the parts from hobidevre.com.

Frequently asked questions

What is this circuit for?

It rotates a step motor precisely and in increments using step signals sent from an Arduino through a driver board.

How does the circuit work?

The driver converts each step pulse into a coil combination; the rotor follows the field one step at a time. A separate supply provides coil current and a shared ground keeps the step signals referenced.

What is the expected result?

The motor turns precisely in steps, the LED lights during stepping, and the driver power and common ground connections are complete.

You may also like

Try the circuit in the simulator

Open the schematic in the browser, inspect the connections and follow the steps.