Hi all, I am currently doing a project using High-Power Motor Driver 24V12, I connect 24V to V+, Ground to GND, two motor wires to OUTA and OUTB, a PWMH to Arduino pin 3, DIR to arduino pin 9. When I connect the battery, the motor is not working at all!
Here is my code.
void setup()
{
Serial.begin(9600);
pinMode(9, OUTPUT);
}
void loop() {
digitalWrite(9, HIGH);
analogWrite(3, 255); //100% duty cycle
delay(1000);
}
Do I need to connect the RESET pin on the motor driver to Arduino and set it to HIGH in order to make my motor working? Please help ~~~~