I am trying to achieve a sine position movement with the Pololu Tic T825 stepper motor driver.
Which is the best way to achieve this? Now i am talking to the driver with an Arduino Mega 2560 via Serial Communication.
Should I loop over positions (with the Arduino) the stepper motor has to achieve? Therefore I think I should change to Teensy, because I does not get a smooth movement.
Or should I change the acceleration and speed within an while loop to get the desired maximal distance?
Or is the serial communication not the right choice and I should communicate via Step/Dir or else?