help with coding a stepper motor triggered by a PIR motion sensor

With regards to the project requirements, i should say that, i was testing by moving the stepper 200 steps. I would rather be able to move it between 300-360 degrees. That's why i want the steps moved and the speed to be able to be altered a bit.

I don't have any of the parts for the homing switch, so its possibly a case of whats simpler to install for a newby.

With regard to the speed, i was testing it at:
stepper.setMaxSpeed(1000);
stepper.setAcceleration(200);

This still might not give you a unit of speed. Maybe its easier to say that i want it to turn 300 degrees in about 1 second.