Useful examples and algorithm implementations for the Arduino platform.
This repository is a collection of examples, usually written during feasibility studies for the implementation of a library or project.
The following examples were created during the development of the MT-arduino-stepper-driver library. All 3 algorithms were implemented in the library as user-selectable options. A simple wiring diagram, and a schematic showing the setup for testing the algorithms can be found in the "documentation" folder.
An example to illustrate how to accelerate a stepper motor using the algorithm presented in: Austin, D. (2005, January). Generate stepper-motor speed profiles in real time. Embedded Systems Programming.
An example to illustrate how to accelerate a stepper motor using the algorithm presented in: Eiderman, A. (2004). Real Time Stepper Motor Linear Ramping Just by Addition and Multiplication. Retrieved from HWML.
An example to illustrate how to accelerate a stepper motor using an algorithm developed based on the equations; "v = u + at" and "s = ut + 1/2at2" which are simplified based on the conditions under which the algorithm is implemented on a microcontroller. The algorithm is described in the report bundled with the MT-arduino-stepper-driver library.