Hiya Peepthis541,
Glad to join in on the discussion. Like I said, I've been tossing around ideas for something like this in my head anyway, so I thought I'd throw out some ideas. Until I'm moved and we're building the coop (at mom and dad's place actually) they're all just ideas. They don't let a guy build chicken coops in apts in Hollyweird, sadly enough. heh
You can get a cordless drill pretty cheap these days. I've seen them at Harbor Freight for 15 bucks before, probably even less. Right now they're a little more expensive. The reasoning behind the cordless drill is that it would have plenty of torque, no problems there. Also, with the electrical contact on the door, you wouldn't necessarily need a latch. Reason is as I said: Even if something were trying to get in the door at night, as soon as the drawbridge door was no longer making electrical contact with the contact on the coop frame, the motor would power on again and try to close it again. Ever put your hand around a cordless drill chuck on the low RPM setting and try to stop it? Plenty of torque there to keep the door closed.
All that reverses those drill motors is a reversal of polarity. The switch in the drill that does that just flips the polarity of power applied to the motor. You could do the same thing with a number of ways... with a relay or two for example. This circuit only needs to actually be turned on twice a day, once for opening, once for closing. Whether you used timers, or alarm clocks, or designed a simple IC timing circuit to do this... when the signal comes saying "hey, it's daytime!" that signal could be applied to one relay, let's call it the Daytime relay. That relay is wired to apply the proper polarity to the motor for it to let out the cable for the drawbridge, and open the coop. So when that relay receives the "daytime" signal it trips and does that. Likewise, when the timer, alarm clock, or IC circuit decided it was night time, that alarm or signal would trip the relay the other way, reversing polarity to the motor so that when the motor turned on it would roll up the cable, closing the drawbridge.
If you need to understand some basic info about how relays and basic electronics work Radio Shack used to put out some simple little booklets for that. I'm not sure if they still do. I'm sure someone must still publish a booklet on simple relays, motors, etc. I'm also not sure how much knowledge folks on this thread have about the subject so I don't want to explain things in too simplistic a form... I also don't have time to teach a semester of Tech School

But I will try to help.
Some other thoughts about using a cheap cordless drill: I think most have some sort ofgearing inside, so you're not trying to use a 10,000 RPM motor for a 50 RPM job. It's got a chuck, making it easy to chuck up to whatever shaft or pulley you would want to use. When you take into account the cost, also take into account the cost of gears, pulleys, etc you'd need when using the 4 dollar motor. Also, make sure the $4 dollar motor would have the muscle to do the job you want it to do. A drill motor would see this door opening/closing job as pretty light duty, so it would be reliable. If the $4 motor is working close to the limitsof it's strength, sooner or later it's going to give out on you. It goes without saying that it would do so at an inconvenient time, Murphy's Law. When I go to the trouble to build something, I always try to overbuild it by what I'm certain is a safe margin. That said I haven't checked out the motors you are talking about either.
Regarding the battery issue, you wouldn't just leave it with no power applied, I figured that was clear. You would either have the system plugged in to 120VAC, or be using a solar panel as I'd mentioned. Either way, the battery is getting refreshed. You'd have to solder some wires onto the contacts in the drill that the battery connects to, and use a power supply of the same voltage as the drill. 12V for a 12V drill for example. For 120VAC operation, the power supply the drill came with would probably work fine if it's one of the kind that just has a simple plug that plugs into the drill itself. If you were running a solar setup, an appropriately sized solar panel would be your power supply to the battery... and to the rest of the system. Harbor Freight has 5W solar panels for 39 bucks, pretty cheap. At one time they had a 1.5W battery tender solar panel for 10 bucks, even that would probably work for something like this.
Do you live in a very rural area? The reason the battery would be nice is because sometimes in a rural area, power can go out for a day or two. I remember 24 hour power outages happening a couple times a year when I was growing up. My aunt and uncle's county in IL lost electricity for 4 days on Thanksgiving weekend a couple years back... that made for unhappy folks on turkey day let me tell you. Even St. Louis MO has had 3-7 day power outages a few times in the last few years. The power needs of something like this would be very modest, but there still must be power for it to work. If you live in an area where the power goes out now and then, a setup like I'm proposing... running only on the battery even without the solar power option... would work just fine for a few days.
Regarding the sensor - like the rest of this, it's just ideas I've been mulling around, and anyone else using them would have to put some of their own common sense and creativity into it to make it work. I'd arrange it in such a way that a leaf or something couldn't land on it and obscure enough of it to keep it from working. Maybe mount it in a little box in a corner of the coop's window? That would keep it waterproof and leaf proof. If one went the full solar panel option, you'd have to have your coop away from trees shedding leaves in the fall, or be willing to sweep them off of the panel at feeding time. i doubt enough would fall on it and stick to totally obscure an entire panel though.
The electrical contact could be as simple as a strip of aluminum or tin on the edge of the drawbridge, and another similar strip on the coop that make contact when the drawbridge is up.
Hope that clears some things up. Like I said, it's all just ideas until I move and have the opportunity to actually build something, but I thought some of the ideas might be helpful to the others trying to do something like this now.
- Scott