Smart Home & Building Mechatronics · Intermediate · Scheduling
ESP8266 Irrigation Zone Timer
A pump on a schedule, overridden by a page, and stopped by a reservoir float.
Firmware status: Generated from this project's own pin map and compiled with arduino-cli for esp8266:esp8266:nodemcuv2 before publication; bench validation on your hardware is still required..
Hardware scope
Scheduled output with web override, float interlock, analog moisture input. Pins assigned by the generator: out 1 → GPIO5, out 2 → GPIO15, in 1 → GPIOA0, in 2 → GPIO12.
Components
- ESP8266 board
- 5 V relay module for the pump
- Float switch for the reservoir
- Soil moisture sensor on A0
- 5 V supply sized for the relay and pump control
Tools
- USB programming cable
- Multimeter
- Current-limited bench supply (for anything that switches a load)
- Small screwdriver and wire cutters
Build steps
- Test the float switch with a multimeter: it should read closed when the reservoir is full.
- Wire the float into a GPIO with the internal pull-up and confirm the stop works before the pump is connected.
- Flash and run one manual cycle from the page, timing it against a watch.
- Set the schedule and confirm a full day produces the cycles you asked for.
Test and expected result
Manual cycles run for the configured time, the float stops the pump regardless of schedule, and the moisture reading tracks the soil.
Acceptance checks
timed cycles, override works, float stops regardless, moisture tracks
Safety and limits
A pump that runs dry destroys itself. The float stop must work with the network down, and it must be tested before the first wet run.
Guide source: Generated from this project's own pin map and compiled with arduino-cli for esp8266:esp8266:nodemcuv2 before publication; bench validation on your hardware is still required.
Download connection diagram SVG
Related projects
- ESP32 Air Quality Sentinel — Quiet Wi-Fi sensor node measuring indoor air quality and publishing a local dashboard.
- Occupancy-Aware Room Controller — Presence-aware lighting and ventilation controller with manual override.
- Motorized Blind Controller — Stepper or geared motor opening blinds from schedules and light level.
