Paying someone $50 to write a beginner level code for a DIY project.

forrestcollier:
2. Record the angular displacement of the motor over time. I just need this thing to run once and stop so no need for extra buttons. Just load the code onto the arduino, let it spin, record the displacement.

What about finding the starting postition? How is that going to be guaranteed? Not just on first startup but also after a power outage?