Hallo ich bin grad am verzweifeln. Ich möchte einen Schrittmotor SY42STH47-1206A Pololu - Stepper Motor: Unipolar/Bipolar, 200 Steps/Rev, 42×48mm, 4V, 1.2 A/Phase mittels einem ULN2004A (Darlington Array) steuern. Folgendes Schaltbild habe ich nachgebaut http://arduino.cc/en/uploads/Tutorial/UnipolarKnob_schlg.png
Allerdings zuckt der Stepper nur und der ULN2004A wird seeeehr heiß. Als Spannungsquelle nutze ich ein 12 V Steckernetzteil mit 1 A. Ich habe bereits 9 V und 6 V getestet - auch das führt nur zu einem heißen ULN...
Diesen Code habe ich verwendet
#include <Stepper.h>
// change this to the number of steps on your motor
#define STEPS 200
// create an instance of the stepper class, specifying
// the number of steps of the motor and the pins it's
// attached to
Stepper stepper(STEPS, 8, 9, 10, 11);
void setup(){ }
void loop()
{
stepper.setSpeed(10);
stepper.step(100);
stepper.step(-100);
delay(500);
stepper.setSpeed(50);
stepper.step(100);
stepper.step(-100);
delay(500);
stepper.setSpeed(100);
stepper.step(100);
stepper.step(-100);
delay(500);
}
Beste Grüße
P