stepper stops working

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

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
camilozk
 
Posts: 64
Joined: Mon Mar 10, 2014 6:59 am

stepper stops working

Post by camilozk »

hi

I am driving a Nema 17, with the motor shield v2 from adafruit with the following sketch:

Code: Select all

#include <Wire.h>
#include <Adafruit_MotorShield.h>
#include "utility/Adafruit_MS_PWMServoDriver.h"

Adafruit_MotorShield AFMS = Adafruit_MotorShield(); 

Adafruit_StepperMotor *myMotor = AFMS.getStepper(1, 2);


void setup() {
  AFMS.begin();
  myMotor->setSpeed(1);   
}

void loop() {
  myMotor->step(1, FORWARD, MICROSTEP); 
  }
I am powering directly to the shield with 12v 3000mah power supply.



Sometimes, when I plug the power supply, the stepper doesnt start turning, and sometimes, after some time of working correctly, it stops turning.

Any idea?
Where to start troubleshooting?

thanks.-

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

Re: stepper stops working

Post by adafruit_support_bill »

Please post the electrical specs of the motor you are using.

Also please post photos showing your soldering and connections to the shield.

User avatar
camilozk
 
Posts: 64
Joined: Mon Mar 10, 2014 6:59 am

Re: stepper stops working

Post by camilozk »

the motor is the one you offer in your shop

https://cdn-shop.adafruit.com/product-f ... asheet.jpg

there is no soldering involved. Just power supply to shield, and the connections for the stepper.
Attachments
unnamed.jpg
unnamed.jpg (899.19 KiB) Viewed 145 times

User avatar
camilozk
 
Posts: 64
Joined: Mon Mar 10, 2014 6:59 am

Re: stepper stops working

Post by camilozk »

the stepper gets pretty warm as well.-

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

Re: stepper stops working

Post by adafruit_support_bill »

That doesn't look like an Adafruit shield.

User avatar
camilozk
 
Posts: 64
Joined: Mon Mar 10, 2014 6:59 am

Re: stepper stops working

Post by camilozk »

It is probably not. I bought it in amazon.

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

Re: stepper stops working

Post by adafruit_support_bill »

Looks like a knock-off of an older version. Amazon should be able to connect you to the manufacturer or seller for technical assistance.

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

Return to “Arduino Shields from Adafruit”