Hello,
I bought the Scorpion motor driver (robotshop.com/en/scorpion-xl … river.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 spinned but the speed was not reduced. Can someone help a little bit?
The Arduino code is here:
[code]#include<Servo.h>
Servo pinWheel;
Servo dummy;
const int pinSpeed = 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(45); // write this value to control motor speed via motor driver
dummy.write(45);
delay(2000);
pinWheel.write(0);
dummy.write(0);
delay(2000);
}[/code]
Thanks very much!
[h1][/h1]