EMC-2-Arduino CNC/Robotics control firmware.

Bipolar stepper motors provide more torque and should be controlled with a proper stepper motor driver board - NOT a board that uses an L298 chip.

I don't know if the Pololu A4988 driver is suitable for your motor but if you look up the web page you will get a lot of information about how a typical stepper driver board is used.

...R