The system combines multiple sensors integrated with ESP32: a PIR motion sensor detects movement outside the coop and triggers the ESP32-CAM to capture a snapshot; a flash light deterrent activates for ~15 seconds to scare off wildlife. Inside the coop, a DHT sensor monitors temperature and humidity, while an MQ137 sensor tracks ammonia levels to ensure safe air quality for the ducks. All data is synced to the cloud and can be monitored remotely. The project involved real-world challenges like sensor noise, ESP32 device communication issues, and network configuration — demonstrating production-level IoT debugging and deployment.
PIR motion detection outside the coop
ESP32-CAM auto-capture on motion trigger
Flash light deterrent (15s) against intruders
Temperature & humidity monitoring (DHT)
Ammonia level monitoring (MQ137)
Remote monitoring via Telegram bot


