5 Amp Stepper Motor Driver – 22kg Driver Module with Arduino

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

Subscribe to our channel

 

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:
  myStepper.setSpeed(60);
  // initialize the serial port:
  Serial.begin(9600);
}

void loop() {
  // step one revolution  in one direction:
  Serial.println("clockwise");
  myStepper.step(stepsPerRevolution);
  delay(500);

  // step one revolution in the other direction:
  Serial.println("counterclockwise");
  myStepper.step(-stepsPerRevolution);
  delay(500);
}

Related Post

0 Comments

Leave a reply

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

*

or

Log in with your credentials

or    

Forgot your details?

or

Create Account