So, if I come on this forum is that I have a problem. I would like make this project
http://www.instructables.com/id/Polargr ... ep2/Parts/
which requires the use of Adafruit shield.
I bought this card:
http://cgi.ebay.fr/ws/eBayISAPI.dll?Vie ... 1439.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
#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);
}
(sorry for the English, I try to translate as best I can)