Motor Shield V 2.0 - Not Functioning with DC Motors
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
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?
- blkrush
- Posts: 34
- Joined: Thu Apr 04, 2013 6:16 pm
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
Yes! It does work. So then what could be going wrong.?
- blkrush
- Posts: 34
- Joined: Thu Apr 04, 2013 6:16 pm
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
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"
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
Run the i2c scanner on your Arduino and post the output: http://playground.arduino.cc/Main/I2cScanner
- blkrush
- Posts: 34
- Joined: Thu Apr 04, 2013 6:16 pm
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
Code: Select all
Scanning...
No I2C devices found
Scanning...
No I2C devices found
Scanning...
No I2C devices found
- blkrush
- Posts: 34
- Joined: Thu Apr 04, 2013 6:16 pm
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
Oh.. when I apply a certain amount of pressure, the scanner finds 0x61... So then the soldering is the issue?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
Which Arduino are you using?
- blkrush
- Posts: 34
- Joined: Thu Apr 04, 2013 6:16 pm
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
Arduino (Uno R3) (v1.3)
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
An UNO R3 should be compatible. If you contact [email protected] with a link to this thread, we can send you a replacement shield.
- jonsberndt
- Posts: 4
- Joined: Sun Sep 21, 2014 11:49 pm
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
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
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
- blkrush
- Posts: 34
- Joined: Thu Apr 04, 2013 6:16 pm
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
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.
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.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
@jonsberndt
Your device is at the normal address. You do not need to specify 0x61. Yours should work with the example code as-is.Scanning...
I2C device found at address 0x60 !
I2C device found at address 0x70 !
done
- jonsberndt
- Posts: 4
- Joined: Sun Sep 21, 2014 11:49 pm
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
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.adafruit_support_bill wrote:@jonsberndtYour device is at the normal address. You do not need to specify 0x61. Yours should work with the example code as-is.Scanning...
I2C device found at address 0x60 !
I2C device found at address 0x70 !
done
Thanks,
Jon
- blkrush
- Posts: 34
- Joined: Thu Apr 04, 2013 6:16 pm
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
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.
Good luck.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Motor Shield V 2.0 - Not Functioning with DC Motors
Jon - Please post photos of the board showing all of your soldering and motor connections.
Please be positive and constructive with your questions and comments.