Powerful driver

Shop Forum Everything Else Powerful driver

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6131
    Anonymous
    Inactive

    Good evening!
    I need to use a powerful driver.
    Help me please. How can I use this driver.
    I need to get signals from the Arduino Step and Dir.

    #7144
    Anonymous
    Inactive

    This driver is not a product we support. However,

    Connect your Arduino pin 6 to a resistor and then to PUL+.
    Connect your Arduino pin 7 to a resistor and then to DIR+.
    Connect your Arduino pin 8 to a resistor and then to ENA+.

    Connect PUL-, DIR-, and ENA- to Arduino GND.
    Connect your motor power supply to +V and GND to your power supply GND
    Connect Arduino GND to power supply GND.

    Connect A+,A-,B+, and B- to your stepper motor.

    void setup() {
    pinMode(6,OUTPUT);
    pinMode(7,OUTPUT);
    pinMode(8,OUTPUT);
    }

    void loop() {
    digitalWrite(8,HIGH);
    digitalWrite(7,HIGH);
    spin();
    digitalWrite(7,LOW);
    spin();
    }

    void spin() {
    int i;
    for(i=500;i>=2;--i) {
    digitalWrite(6,HIGH);
    digitalWrite(6,LOW);
    delay(i);
    }
    for(i=2;i<500;++i) {
    digitalWrite(6,HIGH);
    digitalWrite(6,LOW);
    delay(i);
    }
    }

    If that works, tweet me a picture.

    #7145
    Anonymous
    Inactive

    @i-make-robots wrote:

    weet me a picture.

    This is a big project – a plan to finish by spring.
    Photos necessarily come!

    I have no problem with the connection.
    I need to modify firmware_ams.ino to control motors.
    I thought that there is a ready sketch … I will change myself and I’ll be grateful for the help.

    You threw a piece of code – I’ll try to do in the evening. Thank you!

    #7146
    Anonymous
    Inactive

    Thread moved for relevance

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.