Arduino Code (C++)

We used Arduino IDE to write and execute code to control the stepper motors via the Arduino MEGA 2560 board.

To write the code, we used the AccelStepper library, allowing us to control the speed and acceleration of rotation of the stepper motors.


Excerpt of the code used to coordinate the rotation of the wheel and the refeeders.