running a robot

hey,

maybe I have some mistake in my thoughts. I want to move my robot but he doesn`t move.

Arexx chassis RP5/RP6 (https://www.conrad.de/de/arexx-fahrgestell-robby-rp5rp6-roboter-191152.html)

FabScan Shield (http://www.watterott.com/de/Arduino-FabScan-Shield)

A4988-driver (http://www.watterott.com/de/Pololu-A4988-Schrittmotortreiber)

  • i limited it to 800mV

Arduino Uno

Stepper Motor: Bipolar, 200 Steps/Rev, 20×30mm, 3.9V, 0.6 A/Phase (Pololu - Stepper Motor: Bipolar, 200 Steps/Rev, 20×30mm, 3.9V, 0.6 A/Phase)

int enPin = 5;
int stepPin = 6;
int dirPin = 7;

void setup() {
  pinMode(enPin,OUTPUT);
  pinMode(stepPin,OUTPUT);
  pinMode(dirPin,OUTPUT);
  digitalWrite(enPin,LOW); // en muss auf Low= 0-> eingschalten
}

void loop() {
  digitalWrite(dirPin,HIGH); //Richtung festlegen
  for( int i = 0; i < 200;i++){
    digitalWrite(stepPin,HIGH);
    delay(1);
    digitalWrite(stepPin,LOW);
    delay(1);
  }
  delay(1000);
}

Do you have your stepper driver plugged into position 2 (a.k.a "B")?

http://hci.rwth-aachen.de/fabscan_shield

Are these pulses driving full steps?

500 steps per second should drive the motor at 150 rpm. This seems pretty fast from starting from a stand still. Steppers can’t start at their top speed. They need to be accelerated up to speed.

Have you tried larger delays between pulses?

Do you have your stepper driver plugged into position 2 (a.k.a "B")?

Yes, I have.

I assume that you are to provide power to the stepper drivers somewhere on this board. Do you have power source for the stepper hooked up?

johnwasser: I assume that you are to provide power to the stepper drivers somewhere on this board. Do you have power source for the stepper hooked up?

I have a 9V power source connected on the Fabscan Shield.

DuaneDegn: Are these pulses driving full steps?

500 steps per second should drive the motor at 150 rpm. This seems pretty fast from starting from a stand still. Steppers can't start at their top speed. They need to be accelerated up to speed.

Have you tried larger delays between pulses?

One turn is 200 steps. I tried larger delays and the function delayMicroseconds(), it doesn't help.

Are you getting any vibration or noise from the motor?

Thanks :D I find my problem, the gears doesn't fit that well:(.