Hi
I'm using the L293D shield to control the dc motor, I uploaded the code on the Arduino board but the motor doesn't run
#include <AFMotor.h>
// DC motor on M2
AF_DCMotor motor(2);
void setup() {
Serial.begin(9600); // set up Serial library at 9600 bps
Serial.println("Motor party!");
// turn on motor #2
motor.setSpeed(200);
motor.run(RELEASE);
}
// Test the DC motor,
void loop() {
motor.run(FORWARD);
}
How much current does the motor require? Can your 12V PS supply at least that much current? Can the L293 handle that much current? Can you post a link to the motor specs and a wiring diagram?
the R of the motor equals 1.003 ohms
and the power supply minimum value was 6V so the current value for this voltage is 5.98 A!
is it possible to run the motor with this shield?
ok, I want to control 3 DC motors so I found the Monster Moto VNH2SP30 but just 2 DC motor could be controlled by, is it anyway to use 2 of this shield with one Arduino board?