Tags: Stepper, Motor, ULN2003, H-Bridge, Motor, Controller, Arduino, Microcontroller

Stepper Motor 5V With ULN2003 H Bridge Motor Controller For Arduino And Microcontroller

  • 19.00 AED
    • Ex Tax:19.00 AED
    • Product Code: 5V Stepper
    • Availability: In Stock
    The Driver:The ULN2003 stepper motor driver board allows you to easily control the 28BYJ-48 stepper motor from a microcontroller, like the Arduino Uno. One side of the board side has a 5 wire socket where the cable from the stepper motor hooks up and 4 LEDs to indicate which coil is currently powere..

    The Driver:

    The ULN2003 stepper motor driver board allows you to easily control the 28BYJ-48 stepper motor from a microcontroller, like the Arduino Uno. One side of the board side has a 5 wire socket where the cable from the stepper motor hooks up and 4 LEDs to indicate which coil is currently powered. The motor cable only goes in one way, which always helps. On the side, you have a motor on/off jumper (keep it on to enable power to the stepper).


    Features:

    onboard ULN2003A motor drive chip

    5- 12V power supply

    onboard 4-way signal lights

    the onboard XH-5P socket can be directly connected  with 28BYJ-48 stepper motor

    Control Stepper motor 28BYJ-48 with ULN2003 for Arduino

    The Motor:

    28BYJ-48This is a 5V high torque stepper motor with more than 2000 steps per revolution. It has enough torque to move small robots. The motor can be connected with a gear shaft and propeller.

     

    Specifications

     

    • High quality stepper motor
    • Voltage: DC 5V
    • Diameter: 25mm
    • Step Angle: 5.625 x 1/64
    • Reduction Ratio: 1/64
    • Additional Motor Parameters :
    • Rated voltage : 5VDC
    • Number of Phase : 4
    • Speed Variation Ratio : 1/64
    • Stride Angle : 5.625° /64
    • Frequency : 100Hz
    • DC resistance : 50Ω±7%(25℃)
    • Idle In-traction Frequency : > 600Hz
    • Idle Out-traction Frequency : > 1000Hz
    • In-traction Torque  >34.3mN.m(120Hz)
    • Self-positioning Torque >34.3mN.m
    • Friction torque : 600-1200 gf.cm
    • Pull in torque : 300 gf.cm
    • Insulated resistance >10MΩ(500V)
    • Insulated electricity power :600VAC/1mA/1s
    • Insulation grade :A
    • Rise in Temperature  <40K(120Hz
    • Noise  <35dB(120Hz,No load,10cm)
    • Model : 28BYJ-48

     


    Control Stepper motor 28BYJ-48 with ULN2003 for Arduino



      The source code for stepper motor 28BYJ-48 with ULN2003 for Arduino

      #define STEPPER_PIN_1 9
      #define STEPPER_PIN_2 10
      #define STEPPER_PIN_3 11
      #define STEPPER_PIN_4 12
      int step_number = 0;
      void setup() {
      pinMode(STEPPER_PIN_1, OUTPUT);
      pinMode(STEPPER_PIN_2, OUTPUT);
      pinMode(STEPPER_PIN_3, OUTPUT);
      pinMode(STEPPER_PIN_4, OUTPUT);
      
      }
      
      void loop() {
       
        OneStep(false);
        delay(2);
      }
      
      
      void OneStep(bool dir){
          if(dir){
      switch(step_number){
        case 0:
        digitalWrite(STEPPER_PIN_1, HIGH);
        digitalWrite(STEPPER_PIN_2, LOW);
        digitalWrite(STEPPER_PIN_3, LOW);
        digitalWrite(STEPPER_PIN_4, LOW);
        break;
        case 1:
        digitalWrite(STEPPER_PIN_1, LOW);
        digitalWrite(STEPPER_PIN_2, HIGH);
        digitalWrite(STEPPER_PIN_3, LOW);
        digitalWrite(STEPPER_PIN_4, LOW);
        break;
        case 2:
        digitalWrite(STEPPER_PIN_1, LOW);
        digitalWrite(STEPPER_PIN_2, LOW);
        digitalWrite(STEPPER_PIN_3, HIGH);
        digitalWrite(STEPPER_PIN_4, LOW);
        break;
        case 3:
        digitalWrite(STEPPER_PIN_1, LOW);
        digitalWrite(STEPPER_PIN_2, LOW);
        digitalWrite(STEPPER_PIN_3, LOW);
        digitalWrite(STEPPER_PIN_4, HIGH);
        break;
      } 
        }else{
          switch(step_number){
        case 0:
        digitalWrite(STEPPER_PIN_1, LOW);
        digitalWrite(STEPPER_PIN_2, LOW);
        digitalWrite(STEPPER_PIN_3, LOW);
        digitalWrite(STEPPER_PIN_4, HIGH);
        break;
        case 1:
        digitalWrite(STEPPER_PIN_1, LOW);
        digitalWrite(STEPPER_PIN_2, LOW);
        digitalWrite(STEPPER_PIN_3, HIGH);
        digitalWrite(STEPPER_PIN_4, LOW);
        break;
        case 2:
        digitalWrite(STEPPER_PIN_1, LOW);
        digitalWrite(STEPPER_PIN_2, HIGH);
        digitalWrite(STEPPER_PIN_3, LOW);
        digitalWrite(STEPPER_PIN_4, LOW);
        break;
        case 3:
        digitalWrite(STEPPER_PIN_1, HIGH);
        digitalWrite(STEPPER_PIN_2, LOW);
        digitalWrite(STEPPER_PIN_3, LOW);
        digitalWrite(STEPPER_PIN_4, LOW);
       
      } 
        }
      step_number++;
        if(step_number > 3){
          step_number = 0;
        }
      }
      
      



      There are no reviews for this product.

      Write a review

      Please login or register to review