The pet presses the capacitive touch switch to enter / exit
The Motor starts opening the Door and once fully opened, waits for 10 seconds and starts closing.
While closing, if the distance sensor senses the pet in between the door, the door starts opening again. If the pet is not detected in middle of the door, the door closes.
Where I need Help
Have I selected the right components
Is the Fritzing Correct
Does it function the way I have described the functionality
Finally. Should I power the easy driver board or external DC to Arduino itself. What should be the power supply
You will need a separate power supply to the Easydriver. What that is depends on how much power your particular model of stepper requires to operate the door.
You're making a classic beginner mistake: don't try to do it all in one go. Maybe start with just driving your stepper to & fro with some painters tape on the shaft as an indicator.
I see you edited your first post and changed "schematic" to "Fritzing". First, please don't edit existing posts if they have already been commented on, it makes the thread confusing to read. Second, the correct response would be to change the Fritzing to a schematic, not to just change the name.
When you post your schematic, a hand drawn circuit in jpg or png is far preferable over a pretty Fritzing picture. A schematic is way simpler and easy to understand than a physical layout.
Using Fritzing will reduce the pool of folks prepared to even look at your problem.