↓ Skip to main content

Artur Puig

Designing a fail-safe watering controller with ESP-IDF

This ESP-IDF project controls an ESP32-C3 or ESP32-C6 watering system with short pump pulses. A one-shot timer and the task watchdog back up the control task. Persistent invalid readings, insufficient moisture rise after a cycle or an exhausted pump budget latch a fault. The article covers the wiring, control logic and host tests, with a checklist for hardware bring-up.