Due to server issues & outages with Endicia - There is no USPS / Postal service orders at this time - Read more.

Motor shield does not work
Moderators: adafruit_support_bill, adafruit

Motor shield does not work

by elranon on Tue Mar 19, 2013 4:02 am

Hello, and sorry for my bad english, but i need help.
I have arduino mega, and ladyada's motor shield v1.0(http://ladyada.net/make/mshield/) and i want connect 4 DC motors(http://www.dfrobot.com/index.php?route=product/product&path=47_110&product_id=100#.UUOuh1d42lu).
Mega powered by USB or 9v jack, Shield powered by 5xAAA battery. I want test one motor, wired him to M1 terminal on motor shield. Then i run typical code for test:
Code: Select all | TOGGLE FULL SIZE
#include <AFMotor.h>

AF_DCMotor motor(1);

void setup() {
  Serial.begin(9600);           // set up Serial library at 9600 bps
  Serial.println("Motor test!");
  motor.setSpeed(200);     // set the speed to 200/255
}

void loop() {
  Serial.print("tick");
 
  motor.run(FORWARD);      // turn it on going forward
  delay(10000);

  Serial.print("tock");
  motor.run(BACKWARD);     // the other way
  delay(10000);
 
  Serial.print("tack");
  motor.run(RELEASE);      // stopped
  delay(1000);
}

but motor goes not work. When i connect motor directly to battery module, he work.
But when motor connected to shield, he does not work, but sometimes it makes a noise. I use the voltmeter to test a voltage. On the shield's ext_pwr 8V, on the unplugged terminals 6v, but when i plug in motors - voltage drops to 0. Why voltage drops when i connect the motor? I tried to connect a new batteries, and increase the number up to 8 pieces(AAx8), but no effect. May be my shield has broken?
Please help me fix this trouble...
Attachments
IMG_20130314_225521.jpg
IMG_20130314_225521.jpg (421.32 KiB) Viewed 311 times
Last edited by elranon on Tue Mar 19, 2013 4:19 am, edited 3 times in total.
elranon
 
Posts: 5
Joined: Tue Mar 19, 2013 3:24 am

Re: Motor shield does not work

by adafruit_support_bill on Tue Mar 19, 2013 4:06 am

Post photos of the front & back of the shield and we'll check your assembly.
User avatar
adafruit_support_bill
 
Posts: 29578
Joined: Sat Feb 07, 2009 9:11 am

Re: Motor shield does not work

by elranon on Tue Mar 19, 2013 4:25 am

I posted front photo, and later i'll post back photo.
Thnx
elranon
 
Posts: 5
Joined: Tue Mar 19, 2013 3:24 am

Re: Motor shield does not work

by adafruit_support_bill on Tue Mar 19, 2013 4:33 am

Where did you purchase this shield? It looks like a very old version.
What color is the power led on the front? It looks white in the photo.
User avatar
adafruit_support_bill
 
Posts: 29578
Joined: Sat Feb 07, 2009 9:11 am

Re: Motor shield does not work

by elranon on Tue Mar 19, 2013 4:37 am

On ebay
Power led - green color. Sorry, it's a bad photo, on the smartphone
elranon
 
Posts: 5
Joined: Tue Mar 19, 2013 3:24 am

Re: Motor shield does not work

by elranon on Tue Mar 19, 2013 4:41 am

May be this old version is incompatible with Arduino Mega?
elranon
 
Posts: 5
Joined: Tue Mar 19, 2013 3:24 am

Re: Motor shield does not work

by adafruit_support_bill on Tue Mar 19, 2013 4:42 am

It looks like you got a copy of one of our older designs. Can you post a link to the eBay seller?
User avatar
adafruit_support_bill
 
Posts: 29578
Joined: Sat Feb 07, 2009 9:11 am

Re: Motor shield does not work

by elranon on Tue Mar 19, 2013 5:02 am

I'm sorry, I bought it in the middle of 2012, and am not sure I can find a link to a specific seller. I will look.
and what do you think about my problem? Do you think, the shield is bad?
elranon
 
Posts: 5
Joined: Tue Mar 19, 2013 3:24 am

Re: Motor shield does not work

by adafruit_support_bill on Tue Mar 19, 2013 5:14 am

Considering that it came from eBay, is an obsolete design and appears to have non-standard parts, I believe what you have is a counterfeit board. You should contact the seller for a refund.
User avatar
adafruit_support_bill
 
Posts: 29578
Joined: Sat Feb 07, 2009 9:11 am