element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Hi im newbie and need help
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 15 replies
  • Subscribers 418 subscribers
  • Views 1529 views
  • Users 0 members are here
Related

Hi im newbie and need help

e14 Contributor
e14 Contributor over 12 years ago

Does somebody can help me connect this driver to arduino unowww.escapmotor.com/MYCOM/pdf/2_phase_stepper/ims200.pdf.....im trying drive 6 wire stepper motor using it and didnt know it wiring connection....here i attach it datasheet

  • Sign in to reply
  • Cancel

Top Replies

  • e14 Contributor
    e14 Contributor over 12 years ago in reply to gihu +1
    thanks gihu.........now i wonder why the motor wont work. i try this simple arduino code and connected it but its not functioning. so if the library for the arduino is not suppport how can i drive this…
  • franck.deschamps
    0 franck.deschamps over 12 years ago

    Dear Zamir,

     

    what is the link with a post in the legislative part of this blog ?

    I think you are in the wrong place if you want technical answer.

     

    Best regards

     

    Franck Deschamps

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gihu
    0 gihu over 12 years ago

    Hi zamir,

     

    You can connect it has shown in point 5 (connection diagram), CW+ and CCW+ connected t 5V of the arduino, and CW- and CCW- connected to two different digital outputs of the arduino. But take into account that for this driver, the stepper library for arduino will not work.

     

    If you need more help with on how to program the arduino to move your stepper motor with this driver, ask.

     

    By the way, how will you connect the driver with the stepper?

     

    Regards,

    Miguel

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to gihu

    thanks gihu.........now i wonder why the motor wont work. i try this simple arduino code and connected it but its not functioning. so if the library for the arduino is not suppport how can i drive this driver ?gihuimage

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to e14 Contributor

    // define the pins that the motor is attached to. You can use

    // any digital I/O pins.

     

     

    #include <Stepper.h>

     

     

    #define motorSteps 200     // change this depending on the number of steps

                               // per revolution of your motor

    #define motorPin1 8

    #define motorPin2 9

    #define ledPin 13

     

     

    // initialize of the Stepper library:

    Stepper myStepper(motorSteps, motorPin1,motorPin2);

     

     

    void setup() {

      // set the motor speed at 60 RPMS:

      myStepper.setSpeed(60);

     

     

      // Initialize the Serial port:

      Serial.begin(9600);

     

     

      // set up the LED pin:

      pinMode(ledPin, OUTPUT);

      // blink the LED:

      blink(3);

    }

     

     

    void loop() {

      // Step forward 100 steps:

      Serial.println("Forward");

      myStepper.step(100);

      delay(500);

     

     

      // Step backward 100 steps:

      Serial.println("Backward");

      myStepper.step(-100);

      delay(500);

     

     

    }

     

     

    // Blink the reset LED:

    void blink(int howManyTimes) {

      int i;

      for (i=0; i< howManyTimes; i++) {

        digitalWrite(ledPin, HIGH);

        delay(200);

        digitalWrite(ledPin, LOW);

        delay(200);

      }

    }

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gihu
    0 gihu over 12 years ago in reply to e14 Contributor

    You sholud drive pulses directly to the digital outputs

     

    Try this, not using the library.

    Check that the jumpers in your driver are like this:

    JP1: 1-2

    JP2: 1-2

     

    code (I could not check errors):

    // define the pins that the motor is attached to. You can use

    // any digital I/O pins.

    //#include <Stepper.h>

    #define motorSteps 200 // change this depending on the number of steps

    // per revolution of your motor

    #define CW 8

    #define CCW 9

    #define ledPin 13

    // initialize of the Stepper library:

    //Stepper myStepper(motorSteps, motorPin1,motorPin2);

     

    void setup() {

    // set the motor speed at 60 RPMS:

    //myStepper.setSpeed(60);

      

     

    int i =0;

     

    // Initialize the Serial port:

     

    Serial.begin(9600);

     

    // set up the LED pin:

    pinMode(ledPin, OUTPUT);

    pinMode(CW, OUTPUT);

    pinMode(CCW, OUTPUT);

     

    // blink the LED:

     

    blink(3);

    digitalWrite(CW, HIGH);

    digitalWrite(CCW, HIGH);

    }

     

    void loop() {

     

    // Step forward 100 steps:

    Serial.println("Forward");

    //myStepper.step(100);

    for (i=0; i<100; i++){

    digitalWrite(CW, LOW);

    delayMicroseconds(20);

    digitalWrite(CW, HIGH);

    delayMicroseconds(20);

    };

    delay(500);

    // Step backward 100 steps:

    Serial.println("Backward");

    //myStepper.step(-100);

    for (i=0; i<100; i++){

    digitalWrite(CCW, LOW);

    delayMicroseconds(20);

    digitalWrite(CCW, HIGH);

    delayMicroseconds(20);

    };

    delay(500);

    }

     

    // Blink the reset LED:

    void blink(int howManyTimes) {

    int i;

    for (i=0; i< howManyTimes; i++) {

    digitalWrite(ledPin, HIGH);

    delay(200);

    digitalWrite(ledPin, LOW);

    delay(200);

    }

     

    }

     

     

    If it works, we can try to create a new library for your driver from the original Stepper lib.

     

    Regards,

    Miguel

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to gihu

    hurmm i connected and use your instruction correctly but the motor still wont move

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gihu
    0 gihu over 12 years ago in reply to e14 Contributor

    Can you check if you have pulses in the digital outputs 8 and 9?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gihu
    0 gihu over 12 years ago in reply to e14 Contributor

    It seems someone else worked on this.

    Check this library for arduino:

    https://github.com/ronivaldo/Arduino-StepperMSeries

    But it seems to work for pulse/direction mode, not CW/CCW mode, so if you use it don't forget change hardware configuration

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to gihu

    i put an led and it blink....is that mean it got a pulse... i think maybe

    my stepper motor. here i sent it datasheet

    Attachments:
    imageAPPENDIX B.docx
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to gihu

    this is the 24v power supply i used

    Attachments:
    image
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube