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

Photo-Tom:

  • When powered up, the motion sensor calibrates.

How do you know at which position your motors are? Don't they need to be calibrated to a certain point?

  • When the motion sensor detects motion, it triggers the stepper motor to turn clockwise 200 steps.

  • Once the stepper motor has turned 200 steps CW it should turn 200 steps counter clockwise (thus returning to its starting position)

How fast?