Stepper motor rotation control

How many motor steps does it take to move the door 90 degrees?

The engine should always have a "home" position.

Arduino has no way to tell where the motor is, you need a limit switch that switches when the door is closed.