Go Down

Topic: problem on Scorpion XL 2.0 Motor Driver (Read 484 times) previous topic - next topic

zznwsuaf

Hello,
I am using the Scorpion motor driver (http://www.robotshop.com/en/scorpion-xl-20-dual-125a-55v-to-28v-single-r-c-dc-motor-driver.html) and intended to use it to control the speed of a motor (want to lower down the motor speed). My idea is to use an Arduino to connect to the motor driver, which is connected to the motor. Also, the power (12VDC) is connected to the motor driver. I think my wiring is no problem. My problem is that the motor driver did not reduce the speed. I mean the motor spiun but the speed was not reduced. Can someone help a little bit?

The Arduino code is here:

const int spinSpeed = 77;

void setup() {

// put your setup code here, to run once:

pinWheel.attach(2);

dummy.attach(3);

}

void loop() {

// put your main code here, to run repeatedly:

pinWheel.write(77); // write this value to control motor speed via motor driver

dummy.write(77);

delay(2000);

pinWheel.write(0);

dummy.write(0);

delay(2000);

}

Thanks very much.

zznwsuaf


Go Up