I have made a wooden case to hold both my Xbox 360 and my PS3. It's as wide as both consoles laid down next to each other and as high as the console. it has 2 doors on the front, one for each console. They're both hinged separately from the bottom. What I want to do is to use a hobby motor to open (push) and close (pull) the door open to 90 degrees. The best way I can see is using plastic cord that has teeth on it and a motor that a teethed head on it to lower and pull the door up.
The problem is:
- how can I control the motor to run for a certain time (so it doesn't just keep running) and
- how with just one button I can press it and it lowers to 90 degrees and press it again and it will pull the door back up and stop