Post a link to the datasheet for the stepper motor you are using and ALSO to the stepper driver board you are using.How are you powering the motor - volts and amps ?See stepper motor basics....R
Stepper library doesn't support step+direction stepper drivers, you needto use the AccelStepper library for that (and you'd need ramped velocityanyway for a performance motor).
Input volatage of motor is 24VDC and current of motor is 3 A i adjust this on driver with switchs
That is NOT what I asked you. Read Reply #1 again carefully and answer all three questions....R
Hi,How did you program the atmega328?Is the crystal oscillating.Can you post a picture of your project so we can see component layout.You need to put some form of indicator on the PCB, connect a LED and resistor to one of your unused outputs, and include a blink without delay section in your sketch to flash it.If its flashing then the program is running.At the moment you have no way of telling if the sketch is running.Can you post a COMPLETE circuit diagram, including the driver and stepper connections.Tom....
i have crystal but i dont understand what is problem