Dual Power for Uno, easydriver 4.4 and 24v stepper…..Wiring questions???

With an easyDriver board (or any that just needs step and direction signals) the following short sketch should work. It uses no library so it should be easy to follow. You may have to adjust the pin references to match your connections, or vice versa.

// testing a stepper motor with a Pololu A4988 driver board
// on an Uno the onboard led will flash with each step
// as posted on Arduino Forum at http://forum.arduino.cc/index.php?topic=208905.0

byte directionPin = 9;
byte stepPin = 8;
int numberOfSteps = 100;
byte ledPin = 13;
int pulseWidthMicros = 20;  // microseconds
int millisbetweenSteps = 25; // milliseconds


void setup() 
{ 

  Serial.begin(9600);
  Serial.println("Starting StepperTest");
  digitalWrite(ledPin, LOW);
  
  delay(2000);

  pinMode(directionPin, OUTPUT);
  pinMode(stepPin, OUTPUT);
  pinMode(ledPin, OUTPUT);
  
 
  digitalWrite(directionPin, HIGH);
  for(int n = 0; n < numberOfSteps; n++) {
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(pulseWidthMicros);
    digitalWrite(stepPin, LOW);
    
    delay(millisbetweenSteps);
    
    digitalWrite(ledPin, !digitalRead(ledPin));
  }
  
  delay(3000);
  

  digitalWrite(directionPin, LOW);
  for(int n = 0; n < numberOfSteps; n++) {
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(pulseWidthMicros);
    digitalWrite(stepPin, LOW);
    
    delay(millisbetweenSteps);
    
    digitalWrite(ledPin, !digitalRead(ledPin));
  }
  
}

void loop() 
{ 

}

If the motor doesn't move then the likelihood is that the easyDriver can't provide enough current. Have you the current limit set correctly? I would expect the easyDriver to get very hot (hot enough to burn your finger) but it should survive plenty long enough to see if the motor works.

The L298 gets hot because there is too much current flowing - it has no current limiting feature. You need to keep the voltage down to 5 or 6 volts - and DO NOT power it from the Arduino 5 volts. (My code won't work with the L298).

...R