I'm working on a dog door project that behaves similarly to a garage door. This is my first project with motors and I've hit a wall in my research. I want the door to be rugged so it would take considerable effort for other animals to get in but I don't want the door to injure the dogs if they try going through at the wrong time. How can I detect resistance in the doors movement so that I can reverse automatically? Currently working with a Titan 550 brush motor that I picked up at a hobby store.