How can this be an Arduiuno priogramming question?
Gears might have lost teeth, tooth wheel slipping on the axle.
Get hold of the mechanical drawings.
Keep up the detective work.
Inside the gearbox is a DC motor. Make sure the setscrew holding the main gear to the spindle. I would guess the motor drives a very small gear that meshes with the "bottom" gear circled in red.