Motor Shield V 2.0 - Not Functioning with DC Motors

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by adafruit_support_bill »

If you connect a motor directly to the external power jumper, it will be powered directly by your 9v power supply. Does you motor turn when you do that?

User avatar
blkrush
 
Posts: 34
Joined: Thu Apr 04, 2013 6:16 pm

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by blkrush »

Yes! It does work. So then what could be going wrong.?

User avatar
blkrush
 
Posts: 34
Joined: Thu Apr 04, 2013 6:16 pm

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by blkrush »

Both motors work perfectly when plugged directly into the external power jumper, but when placed in M1, it does not work. My code is set to "1"

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by adafruit_support_bill »

Run the i2c scanner on your Arduino and post the output: http://playground.arduino.cc/Main/I2cScanner

User avatar
blkrush
 
Posts: 34
Joined: Thu Apr 04, 2013 6:16 pm

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by blkrush »

Code: Select all

Scanning...
No I2C devices found

Scanning...
No I2C devices found

Scanning...
No I2C devices found
Hmmm.. why would it not detect anything? Is my shield having problems?

User avatar
blkrush
 
Posts: 34
Joined: Thu Apr 04, 2013 6:16 pm

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by blkrush »

Oh.. when I apply a certain amount of pressure, the scanner finds 0x61... So then the soldering is the issue?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by adafruit_support_bill »

Which Arduino are you using?

User avatar
blkrush
 
Posts: 34
Joined: Thu Apr 04, 2013 6:16 pm

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by blkrush »

Arduino (Uno R3) (v1.3)

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by adafruit_support_bill »

An UNO R3 should be compatible. If you contact [email protected] with a link to this thread, we can send you a replacement shield.

User avatar
jonsberndt
 
Posts: 4
Joined: Sun Sep 21, 2014 11:49 pm

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by jonsberndt »

I have a similar problem. I got the motor shield a couple of weeks ago and set about setting it up this weekend, soldering in the header extensions. I got a 3-wire servo to work connected up to SERVO 2. I'm using a heavy duty 9 volt battery pack and inverting the power off the shield to supply my Arduino Uno R3. The green light glows on the motor shield. The motor works when connected to the external power terminals. The motor will not work on any of the motor terminals. When I run I2C I get this:

Scanning...
I2C device found at address 0x60 !
I2C device found at address 0x70 !
done

So ... what's this? The board isn't found at 0x61. I'm trying to run the standard AFMotor Motor Test sketch. No luck.

Jon

User avatar
blkrush
 
Posts: 34
Joined: Thu Apr 04, 2013 6:16 pm

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by blkrush »

Jon,

Well I figured out my problem. First off, I do not know much about what your motors require, but I do not that is explicitly says that you should not use 9 volt batteries. Also, if it is hows 0x60, then you should just use that, as opposed to 0x61. Try it and let me know? It seems our problems were the same. Also, a big problem for me was the soldering. My shield was not sitting flat and therefore all of the pins were not in contact. I corrected it, but when my free replacement comes, I am going to solder it and ensure that my pins are long enough.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by adafruit_support_bill »

@jonsberndt
Scanning...
I2C device found at address 0x60 !
I2C device found at address 0x70 !
done
Your device is at the normal address. You do not need to specify 0x61. Yours should work with the example code as-is.

User avatar
jonsberndt
 
Posts: 4
Joined: Sun Sep 21, 2014 11:49 pm

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by jonsberndt »

adafruit_support_bill wrote:@jonsberndt
Scanning...
I2C device found at address 0x60 !
I2C device found at address 0x70 !
done
Your device is at the normal address. You do not need to specify 0x61. Yours should work with the example code as-is.
Thanks - I thought that this would be the case. Any recommendations on next steps for diagnostics? I.compiled and uploaded the motor test seemingly without problems. All the lights on the boards are on. The serial monitor shows tick ticks being logged. The motors (both of them that I have tried) work fine when touched to the external power contacts on the shield. The servo port on the shield works.

Thanks,

Jon

User avatar
blkrush
 
Posts: 34
Joined: Thu Apr 04, 2013 6:16 pm

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by blkrush »

Jon, have you tried using the first port, instead of the second servo port? Also, I do not think this matters, but try placing it on in different directions?

Good luck.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield V 2.0 - Not Functioning with DC Motors

Post by adafruit_support_bill »

Jon - Please post photos of the board showing all of your soldering and motor connections.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”