Arduino MOtor shield

hi,
I have a problem with my motor shield the Ports M1 and M2 are working fine but Ports M3 and M4 are not working properly .Port 3 is not responding and Port 4 only does forward motion but cannot achieve "Backwards" motion . I have tried interchanging the motors and also replacing them . Is the motor shield faulty ?? Temporarily i have paired and connected them to port 1&2 but i need individual motor control for my project. Any help is much appreciated!!
Cheers!! :slight_smile: :slight_smile: :slight_smile:

The motor shield is http://www.amazon.co.uk/gp/product/B00EYT1CBE?psc=1&redirect=true&ref_=oh_aui_detailpage_o03_s00

and the motors are all http://www.amazon.co.uk/Smart-Wheel-3V-6V-Drive-Electronics/dp/B00JG1D4S4/ref=sr_1_11?ie=UTF8&qid=1430787060&sr=8-11&keywords=hobby+motor

and the code i used is (it works for Port 1&2 perfectly but not for Port 3 & no "backward" for 4):

#include <AFMotor.h>

AF_DCMotor motor(3);

void setup()
{
Serial.begin(9600); // set up Serial library at 9600 bps

Serial.println("Motor test!");

motor.setSpeed(200);

motor.run(RELEASE); // turn on motor
}

void loop() {
uint8_t i;

Serial.print("tick");

motor.run(FORWARD);
for (i=0; i<255; i++)
{
motor.setSpeed(i);
delay(10);
}

for (i=255; i!=0; i--)
{
motor.setSpeed(i);
delay(10);
}

Serial.print("tock");

motor.run(BACKWARD);
for (i=0; i<255; i++)
{
motor.setSpeed(i);
delay(10);
}

for (i=255; i!=0; i--)
{
motor.setSpeed(i);
delay(10);
}

Serial.print("tech");
motor.run(RELEASE);
delay(1000);
}

Not_working_for_34_cool_for_ports12.ino (826 Bytes)

You could try manually setting the pin for the motor control and see if that makes the motor spin the other direction. If it doesn't work with five volts manual then you know your motor shield is not working.

I am curious, what project are you working on? Are you using an Uno?