I am having difficulty getting my version 2 stepper shield to work. When I run the stepper test, nothing happens. I have tried both ports with no luck. I have confirmed that I have the correct libraries and I have the latest Ardunio IDE.
I am powering the shield with a 12 volt wall wart and I get the green led when I turn the power on. Having had a lot of experience in connecting steppers for my 3D printer and CNC machine, I am confident that I have the motor is hooked up correctly.
My motors are NEMA 17s with a .9 degree step angle. They are rated at 2.4 Amps. Perhaps they are too big?
Help will be appreciated. Thanks.
Stepper shield v2 doesn't work
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Stepper shield v2 doesn't work
They are too big for the shield. The shield is rated for 1.2A.They are rated at 2.4 Amps. Perhaps they are too big?
The shield does have a 3A 'peak' rating, but peak ratings are not applicable to stepper motors. Unlike DC motors, stepper motor current draw is highest when the motor is not moving.
-
- Posts: 7
- Joined: Fri Nov 16, 2012 10:28 am
Re: Stepper shield v2 doesn't work
Thank you for your prompt reply. Since stepper motors draw current even when stationary, is there a probability that I damaged the shield while trying to operate my over-sized motors? Is there a way to test the shield without hooking up a smaller motor? The only test equipment I have is a simple multimeter.
Help will be appreciated. Thanks again.
Help will be appreciated. Thanks again.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Stepper shield v2 doesn't work
With the motor disconnected, you can try running the "DCMotorTest" example sketch to test the health of the H-Bridges. If you connect a multimeter to the M1 motor terminals, you should see the voltage ramp up and down between approximately -12v and +12v. You can modify the sketch to test M2-M4 also.
-
- Posts: 7
- Joined: Fri Nov 16, 2012 10:28 am
Re: Stepper shield v2 doesn't work
Tested each port as described. No voltage. Also hooked up a small 12 volt fan with no luck. I must have fried the H-Bridges. However, it’s strange that the “tick” and “tock” print commands do not work. The only thing that shows up in the serial monitor is "Adafruit Motorshield v2 - DC Motor test!”. Is there a possible software glitch?
Help will again be appreciated.
Help will again be appreciated.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Stepper shield v2 doesn't work
That message is printed before the shield is initialized. It is possible it is hanging up on initialization. This could happen if there was a problem with the i2c communication.The only thing that shows up in the serial monitor is "Adafruit Motorshield v2 - DC Motor test!”. Is there a possible software glitch?
Which Arduino are you using with this? If you post front & back photos of the shield we can check for any assembly issues.
-
- Posts: 7
- Joined: Fri Nov 16, 2012 10:28 am
Re: Stepper shield v2 doesn't work
I am using a UNO R3. I robbed a working project of another UNO. I tried it with the same results.
The requested photos are attached. It looks messy around pins 4 and 5, but there is no short.
Thanks again for your help.
The requested photos are attached. It looks messy around pins 4 and 5, but there is no short.
Thanks again for your help.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Stepper shield v2 doesn't work
Can you get one from an angle a little above and to the side? I am particularly interested in the headers for SCL, SDA and Analog pins 4 and 5.
-
- Posts: 7
- Joined: Fri Nov 16, 2012 10:28 am
Re: Stepper shield v2 doesn't work
Photos provided. Let me know if I didn’t get the right angle. Thanks.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Stepper shield v2 doesn't work
The solder looks OK. Just one more thing to check: Are you using the V2 library?
https://github.com/adafruit/Adafruit_Mo ... V2_Library
The AF_Motor library for the previous version of the shield will not work with the V2 shield.
https://github.com/adafruit/Adafruit_Mo ... V2_Library
The AF_Motor library for the previous version of the shield will not work with the V2 shield.
-
- Posts: 7
- Joined: Fri Nov 16, 2012 10:28 am
Re: Stepper shield v2 doesn't work
Yes. I have the correct library.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Stepper shield v2 doesn't work
Even an overload condition would only affect the H-bridges. The i2c communication should still be functional. If you contact [email protected] with a link to this thread we can send you a replacement.
-
- Posts: 7
- Joined: Fri Nov 16, 2012 10:28 am
Re: Stepper shield v2 doesn't work
Thank you. I will look forward to getting my project up and running.
Please be positive and constructive with your questions and comments.