JavaScript seems to be disabled in your browser.

You must have JavaScript enabled in your browser to utilize the functionality of this website. Click here for instructions on enabling javascript in your browser.

5V 4-phase DC Gear Stepper Step Motor + Driver Board
Varenummer:129-717
Varekode:ARDU0035
Vægt:63.0g
Henter lager-information...
Henter lager-information fra leverandører...
Internet-pris
Inkl. moms:
Kr. 79,00
ARDU0035 Step-Motor+Driver BoardARDU0035 Step-MotorARDU0035 Driver BoardARDU0035 Data

Details

4 phase DC stepper motor with included driver interface board. Stepper motor has 1:64 ratio gear box. Can be driven in both forward and reverse directions. Works with standard Arduino stepper motor library.


Motor Features:

    Diameter: 28mm
    Voltage: 5V
    Step angle: 5.625 x 1/64
    Reduction ratio: 1/64

 
ULN2003 Driver Board:

    A, B, C, D LED indication for four-phase stepper motor status
    Size: 31x35mm

------------------------

Kodeeksempel til Arduino:

    /*
       28BYJ-48 Stepper motor code
       Forbind :
       IN1 >> D4
       IN2 >> D5
       IN3 >> D6
       IN4 >> D7
       VCC ... 5V (Helst med separat 5 V forsyning)
       Gnd
       Oplæg ved: M.Rawashdeh
       Modificeret hos ELAV
      */

    #define IN1  4
    #define IN2  5
    #define IN3  6
    #define IN4  7
    int Steps = 0;
    boolean Direction = true;
    unsigned long last_time;
    unsigned long currentMillis ;
    int steps_left=4095;
    long time;
    void setup()
    {
    Serial.begin(115200);
    pinMode(IN1, OUTPUT);
    pinMode(IN2, OUTPUT);
    pinMode(IN3, OUTPUT);
    pinMode(IN4, OUTPUT);
    // delay(1000);

    }
    void loop()
    {
      while(steps_left>0){
      currentMillis = micros();
      if(currentMillis-last_time>=1000){
      stepper(1);
      time=time+micros()-last_time;
      last_time=micros();
      steps_left--;
      }
      }
      Serial.println(time);
      Serial.println("Wait...!");
      delay(1000);
      Direction=!Direction;
      steps_left=4095;
    }

    void stepper(int xw){
      for (int x=0;x<xw;x++){
    switch(Steps){
       case 0:
         digitalWrite(IN1, LOW);
         digitalWrite(IN2, LOW);
         digitalWrite(IN3, LOW);
         digitalWrite(IN4, HIGH);
       break;
       case 1:
         digitalWrite(IN1, LOW);
         digitalWrite(IN2, LOW);
         digitalWrite(IN3, HIGH);
         digitalWrite(IN4, HIGH);
       break;
       case 2:
         digitalWrite(IN1, LOW);
         digitalWrite(IN2, LOW);
         digitalWrite(IN3, HIGH);
         digitalWrite(IN4, LOW);
       break;
       case 3:
         digitalWrite(IN1, LOW);
         digitalWrite(IN2, HIGH);
         digitalWrite(IN3, HIGH);
         digitalWrite(IN4, LOW);
       break;
       case 4:
         digitalWrite(IN1, LOW);
         digitalWrite(IN2, HIGH);
         digitalWrite(IN3, LOW);
         digitalWrite(IN4, LOW);
       break;
       case 5:
         digitalWrite(IN1, HIGH);
         digitalWrite(IN2, HIGH);
         digitalWrite(IN3, LOW);
         digitalWrite(IN4, LOW);
       break;
         case 6:
         digitalWrite(IN1, HIGH);
         digitalWrite(IN2, LOW);
         digitalWrite(IN3, LOW);
         digitalWrite(IN4, LOW);
       break;
       case 7:
         digitalWrite(IN1, HIGH);
         digitalWrite(IN2, LOW);
         digitalWrite(IN3, LOW);
         digitalWrite(IN4, HIGH);
       break;
       default:
         digitalWrite(IN1, LOW);
         digitalWrite(IN2, LOW);
         digitalWrite(IN3, LOW);
         digitalWrite(IN4, LOW);
       break;
    }
    SetDirection();
    }
    }
    void SetDirection(){
    if(Direction==1){ Steps++;}
    if(Direction==0){ Steps--; }
    if(Steps>7){Steps=0;}
    if(Steps<0){Steps=7; }
    }

Produktfiler
Del produkt
Del via E-Mail
Del på Facebook Del på Twitter

Kunder der har købt dette produkt har også købt
H25PR160

Board with Dots 160x100mm

Varenummer: 87-429

Varekode: H25PR160


Inkl. moms:
Kr. 29,54
v/10Kr. 27,11
v/25Kr. 24,69