ESP32 Gallery

CHICKEN COOP DOOR CONTROLLER / ESP32 APPLICATION

Wi-Fi Coop Door

WiFi-enabled automated chicken coop door controller built on the ESP32. This project features a custom web interface, allowing you to control the door manually or set it to run automatically using either an environmental light sensor (photoresistor) or NTP-synchronized clock times.

Wi-Fi Coop Door
Open project preview ↗
About this project

About this project

A 28BYJ-48 stepper with its ULN2003 board slides a coop door open at dawn, from an LDR threshold or an NTP-synced hour, and closes it at dusk; the whole thing runs on a DOIT ESP32 DEVKIT V1. A browser page at coop.local shows live status, toggles the light or time trigger, sets the threshold and the motor revolutions, and saves to flash. An edge-trigger state machine waits for a 30-second sustained shift before switching cycles, so passing headlights do not flap the door, and the position survives a power cut because it is written to Preferences. Power comes from 12 V through an MP1584EN buck to 5 V, and the ESP32 core has to be 2.0.17, since 3.0.0 and later may break libraries. Only the built-in libraries are used. The web page is LAN-only, not reachable from the farm.

From the README

From the README

Motor
28BYJ-48 Stepper Motor with ULN2003 Driver Board
Power
Power: 12V Power Supply & [MP1584EN Buck Converter]
Build
This specific ESP32 board requires v2.0.17 of the ESP32 core.
Logic
waits for a sustained 30-second environmental shift before transitioning again
Limit
only available on your local network, not while you're away from the farm.

Hardware

Boards: ESP32

ESP32-class board. Verify the exact board revision, display, power source and wiring in the upstream build guide.

Media credit & rights

Upstream project media · rights remain with its owner · Credit: Sage-Grouse

Screenshots from the upstream README. Code and firmware were not executed. License notices are included.

View original source ↗ Copyright & removal · Reviewed

More projects on these boards

CUSTOM OLED UI Desktop Display ESP-NOW Heat Pump ESP32 NEON OS ESP32 OLED BLE ESP32 Smart Grandfather Clock

Source repository ↗

Browse all projects

See what an ESP32 project looks like, and whether it runs on your board.

Sort

FILTERS

Browse by form factor. Check the exact board, chip and peripherals before installing.

MADE SOMETHING?

Give your project a little spotlight.

Repository links do not imply author endorsement or verified hardware compatibility. Check the upstream safety guidance before powering or flashing a build.

Try it

Project source ↗
Build & safety

Open project page ↗
FROM YOUR WORKBENCH

Small board.
Big idea.

Share what you've made.

Automatic checks start now. Most reviews finish in 1–3 days.

Prefer GitHub? Open an issue ↗