Stepper motor movement

I need to move a stepper motor 2 to 3 revolutions ( not critical ) stop not under power. Then wait for a 24 vdc signal and repeat, over and over. What's a simple control / drive to use?

Robin2 has a couple of posts that may give you a starting point.

Stepper basics.
Simple stepper code.

Use a voltage divider for sencing 24 volts. 10 kOhm +47 kOhm would do.

better to make a led on the 24 Volt, and use a LDR if to see there is light.
and what motor will you be using, best is diagram and you will need a driver as the arduino can not deliver the power.