Predator Proof Automatic Chicken Coop Door: How to Build
In this article
This guide shows you how to build an automatic chicken coop door that closes at dusk and opens at dawn, keeping predators out and your flock safe. You'll need basic DIY skills and a few electronic components. The result is a reliable, low-cost door that works without you being home.
What You'll Need
- Lightweight door panel (plywood, plastic, or aluminum) sized to your coop opening
- Linear actuator (12V, 100–150 lb force, 12–18 inch stroke) or a car window regulator motor
- 12V power supply (battery + solar charger or AC adapter)
- Light sensor (photoresistor or commercial dusk-to-dawn sensor)
- Relay module (if using a microcontroller) or a simple 12V timer switch
- Microcontroller (optional: Arduino, ESP32) or a 12V programmable timer
- Limit switches (2) to stop the door at open and closed positions
- Wiring, connectors, fuse, and a weatherproof enclosure
- Basic tools: drill, screwdriver, wire strippers, crimping tool
Step-by-Step
- Measure your coop opening. The door should overlap the opening by at least 1 inch on all sides to block gaps. Note the height and width.
- Cut the door panel. Use a material that won't warp easily—1/2-inch exterior plywood or a plastic cutting board works. Sand edges smooth.
- Mount the actuator. Attach the actuator base to the coop wall above the opening, and the rod to the top of the door panel. The door should slide vertically in tracks (use aluminum U-channel or PVC trim). Ensure the actuator's stroke is longer than the door's travel distance.
- Install the door tracks. Fix two vertical tracks on either side of the opening, spaced to fit the door panel snugly but freely. Test sliding by hand.
- Wire the limit switches. Mount one limit switch at the top (door fully open) and one at the bottom (door fully closed). Wire them in series with the actuator's power so the door stops when it hits the switch.
- Connect the controller. If using a microcontroller: connect the light sensor to an analog input, and the relay to control the actuator. If using a timer: program it to close at sunset and open at sunrise (adjust seasonally).
- Set up the power supply. Use a 12V battery charged by a small solar panel for off-grid reliability, or a 12V AC adapter if you have power nearby. Add a fuse (2–5A) in line to protect the circuit.
- Test the mechanism. Manually trigger the sensor or timer to ensure the door opens and closes fully. Adjust limit switch positions if needed.
- Weatherproof everything. Place the electronics in a waterproof enclosure, seal wire entry points with silicone, and use outdoor-rated connectors.
- Install and observe. Mount the door assembly to your coop. Watch it cycle for a few days to confirm it works reliably at dawn and dusk.
Common Mistakes
- Using a door that's too light—predators can push it up. Add a counterweight or use a stronger actuator.
- Not sealing gaps around the door—raccoons can pry open even a 1/4-inch gap. Install rubber weatherstripping.
- Ignoring the need for a manual override. If power fails, you must be able to open/close the door by hand.
- Mounting the light sensor where it sees artificial light (e.g., a porch light), causing the door to stay open at night.
- Skipping limit switches—the actuator will burn out if it runs past the end of travel.
Tips
- Use a sliding bolt or latch on the inside of the door as a backup lock, in case the actuator fails.
- Add a spring or counterweight to assist the actuator—this reduces strain and allows a smaller motor.
- Place the light sensor on the south side of the coop, away from direct artificial light.
- Test the door in all weather—freezing rain can jam tracks. Lubricate with silicone spray.
- Consider a battery backup with a solar panel to keep the door working during power outages.
Troubleshooting
- Door doesn't move: Check power, fuse, and connections. Test the actuator directly with a 12V source.
- Door stops halfway: Limit switches may be misaligned—adjust their position or the actuator's mounting.
- Door opens at night: The light sensor might be picking up a light source. Shade it or move it.
- Door closes too slowly: The actuator may be underpowered. Lubricate tracks or add a counterweight.
- Door jams in winter: Ice can freeze the tracks. Use a heater tape or apply a de-icer spray.
Frequently Asked Questions
How much does it cost to build?
Materials typically cost between $50 and $150, depending on whether you use a microcontroller or a simple timer, and whether you buy a solar panel.
Can I use a garage door opener?
Yes, but it's overkill and heavy. A linear actuator is simpler and lighter.
What if the power goes out?
Use a battery backup with a solar panel, or install a manual pull cord to operate the door by hand.
Will this keep out raccoons and foxes?
Yes, if the door is solid, fits tightly, and the actuator is strong enough. Raccoons can lift up to 30 lbs, so use a 100+ lb actuator.
How do I set the light sensor?
Most sensors have a threshold adjustment. Set it so the door closes when light drops below a level that occurs just after sunset.
Can I automate it without a microcontroller?
Yes, a simple 12V timer switch works, but you'll need to adjust it seasonally. A light sensor is more automatic.