4상 5선 스텝모터 및 ULN2003 드라이버

(Stepper Motor With ULN2003 Driver

-5V, 4 Phase 5 Wire )

개요

  • 본 제품은 4상 5선 5VDC 스텝모터와 ULN2003 드라이버 보드가 포함된 제품입니다.
  • ULN2003 드라이버 보드를 이용하여 포함된 스텝 모터를 제어할 수 있습니다.
  • 스텝모터의 5선 커넥터를 ULN2003 드라이버 보드의 소켓이 꼽고 +/-로 표시된 부분에 각각 5VDC와 그라운드를 연결한 후 드라이버 보드의 IN1, IN2, IN3, IN4를 아두이노의 디지털 핀 포트에 연결하여 제어가 가능합니다.
  • 아두이노 IDE에 포함된 Stepper.h 함수를 이용하여 제어가 가능합니다.

특징

  • Motor:
    • 4‐phase
    • One bipolar winding is on motor pins 1&3 and the other is on motor pins 2&4.
    • Roughly 2040 steps per revolution
    • Max speed is 14 rpm
    • Diameter: 28mm
    • Voltage: 5V
    • Step angle: 5.625 x 1/64
    • Reduction ratio: 1/64
  • ULN2003 driver board:
    • A, B, C, D LED indication Four-phase stepper motor work status
    • Size: 31x35mm
    • 4 PIN description
      • IN1: Phase 1 (connect any arduino digital port)
      • IN2: Phase 2 (connect any arduino digital port)
      • IN3: Phase 3 (connect any arduino digital port)
      • IN4: Phase 4 (connect any arduino digital port)
    • 2 PIN description
      • - : GND (connect arduino GND pin)
      • + : 5V (connect arduino 5V)

문서

  • 28YBJ-48 step motor datasheet
  • //The following sketch rotates the stepper 1 turn CW (clockwise) 
    //and then 1 turn CCW (counter clockwise) and repeats this 
    //Connect VCC to 5V
    //Connect GND to GND
    //Connect IN1 to D8 
    //Connect IN2 to D9
    //Connect IN3 to D10
    //Connect IN4 to D11
    #include <Stepper.h>
    const int stepsPerRevolution = 2040;
    Stepper myStepper(stepsPerRevolution, 8, 10, 9,11);
    void setup()
    {
         myStepper.setSpeed(14);
    }
    void loop()
    {
       myStepper.step(stepsPerRevolution);
       delay(500);
       myStepper.step(-stepsPerRevolution);
       delay(500);
    }
    

연관제품