[help] Adafruit stepper motor
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

[help] Adafruit stepper motor

by MrStein on Mon Dec 03, 2012 5:30 pm

hi all,
So, if I come on this forum is that I have a problem. I would like make this project
http://www.instructables.com/id/Polargraph-Drawing-Machine/step2/Parts/
which requires the use of Adafruit shield.

I bought this card:
http://cgi.ebay.fr/ws/eBayISAPI.dll?ViewItem&item=180970288137&ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649

The problem is that I can not even use the examples afmotor with a stepper motor (mine is a 200steps, 0.2A and 7.5v and i use a variable supply 1A) .. that make a step at right and a step at left but no rotation..
The center ship become hot too..

If i understood my code is that, with 200steps :
Code: Select all | TOGGLE FULL SIZE
#include <AFMotor.h>

// Connect a stepper motor with 48 steps per revolution (7.5 degree)
// to motor port #2 (M3 and M4)
AF_Stepper motor(200, 2);

void setup() {
  Serial.begin(9600);           // set up Serial library at 9600 bps
  Serial.println("Stepper test!");

  motor.setSpeed(10);  // 10 rpm   
}

void loop() {
  Serial.println("Single coil steps");
  motor.step(100, FORWARD, SINGLE);
  motor.step(100, BACKWARD, SINGLE);

  Serial.println("Double coil steps");
  motor.step(100, FORWARD, DOUBLE);
  motor.step(100, BACKWARD, DOUBLE);

  Serial.println("Interleave coil steps");
  motor.step(100, FORWARD, INTERLEAVE);
  motor.step(100, BACKWARD, INTERLEAVE);

  Serial.println("Micrsostep steps");
  motor.step(100, FORWARD, MICROSTEP);
  motor.step(100, BACKWARD, MICROSTEP);
}


Can someone help me? thank you!

(sorry for the English, I try to translate as best I can)
MrStein
 
Posts: 2
Joined: Mon Dec 03, 2012 5:17 pm

Re: [help] Adafruit stepper motor

by adafruit_support_bill on Mon Dec 03, 2012 5:45 pm

I'm sorry, that is not one of our shields. You should contact the company you bought it from for technical support.

adafruit_support_bill
 
Posts: 39300
Joined: Sat Feb 07, 2009 10:11 am

Re: [help] Adafruit stepper motor

by MrStein on Sat Dec 08, 2012 9:51 am

it's my fault, I did not think it was a clone .. Yet the link on the card returns me on this forum but I will ask the seller.
You think the problem is the driver? it does not compatible with Adafruit products?

Thanks!
Pierre.
MrStein
 
Posts: 2
Joined: Mon Dec 03, 2012 5:17 pm

Re: [help] Adafruit stepper motor

by adafruit_support_bill on Sat Dec 08, 2012 11:28 am

We do not manufacture this board, so we have no idea if it is compatible. In any case, the seller should not be using our link or logo without permission.

adafruit_support_bill
 
Posts: 39300
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.