5Amp stepper motor driver DIY circuit diagram

Hi Folks, In this post, I am sharing with you the whole details of my 5 Amp stepper motor driver project which I build and test last week. This driver module I build to run my 22kg high torque stepper motor and I used Arduino to give the commands.

In this article, you will learn…

  1. How to build 5 Amp stepper motor driver.
  2. How to run stepper motor with Arduino using driver module.

To make this driver I designed h-bridge circuit and I used TIP-122 and TIP-127 Mosfet. You can find the complete list of components below.

List of components for h-bridge stepper driver module

  1. Mosfet Tip-122 (4 pcs)
  2. Mosfet Tip-127 (4 pcs)
  3. Transistor 2222A (4 pcs)
  4. Diode 4007 (8 pcs)
  5. Resistor 10K (4 pcs)
  6. Resistor 1k (4 pcs)

Video demo to run stepper motor with driver and Arduino

PCB design to make 5amp driver module


Breadboard driver circuit diagram

Arduino code to test stepper motor driver

#include <Stepper.h>

const int stepsPerRevolution = 200;  // change this to fit the number of steps per revolution
// for your motor

// initialize the stepper library on pins 8 through 11:
Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11);

void setup() {
  // set the speed at 60 rpm:
  // initialize the serial port:

void loop() {
  // step one revolution  in one direction:

  // step one revolution in the other direction:
  1. Trevor 5 years ago

    It looks like you’re using the power rails of the breadboard for VCC and GND but your breadboard circuit isn’t connected to VCC on the breadboard. Only the ground rail. I figured out from the PCB design that you are connecting to ground through the resistor on the base pin of the 2222, and in1-in4 connect to the base of the 2222. From the video, it looks like jumper 6 on the PCB design is supposed to be connected to the middle pin of the mosfet, but your PCB design doesn’t show the jumpers from the GND and VCC rails. I’m trying to use your breadboard circuit in a class project but I’m missing something. Where do I connect the breadboard circuit to VCC?

  2. Jayanta Das 5 years ago

    Thanks for total things

  3. Mark Wallis 5 years ago

    I want to build a discrete mosfet driver, do you have a circuit available for yours?

  4. jack 4 years ago

    hi can you send 8 amps 120vac drive circuit diagram

Leave a reply

Your email address will not be published. Required fields are marked *



Log in with your credentials


Forgot your details?


Create Account