Hi!
im trying to do a serial communication to my stepper, i want to write maybe an angle or # of steps in the command bar, after I write that, I want my stepper to move what I wrote, but i dont know to do that in the programm!
i have a bipolar stepper, that stepper that i have has the driver already integrated, i just need to use the direction and step pin
thanks!

Like every Arduino project (even if you you have years of experience) break it down into small pieces.
Learn how to get information from a PC to an Arduino.
Separately, learn how to make a stepper motor move.
Then start to think about building the two concepts into a single program.
There are many useful examples included with the Arduino IDE which should get you started.
If your stepper motor just needs step and direction signals this code should make it move.
// testing a stepper motor with a Pololu A4988 driver board or equivalent
// 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()
{
}
You should also study the AccelStepper library.
...R