Sprinkler Controller
About This Project
SprinklePhoton is a smart sprinkler system controller built using the Particle Photon microcontroller. It provides a web-based interface to control up to 6 irrigation zones, schedule watering programs, and monitor system status from anywhere.
Building on my experience with the garage door opener project, I wanted to create something more complex that could handle multiple relays and programmable schedules.
Features
6 Zones
Control up to 6 irrigation zones
Programmable
Schedule automatic watering
Web Control
Control from any browser
Manual Override
Run zones on demand
Status Display
See which zone is active
Enable/Disable
Quick system toggle
Web Interface
The controller features a responsive web interface with:
- Individual zone control buttons that change color to indicate active status
- Real-time status updates showing which zone is currently running
- System enable/disable toggle for quick control
- Configuration page for setting up watering programs
- "Run All Zones" function to execute a complete watering cycle
Technical Implementation
The system uses the Particle Cloud API for communication between the web interface and the Photon microcontroller. The Photon controls a multi-channel relay board that switches the sprinkler valves.
Zone Controls
Each zone can be controlled independently with visual feedback:
- Blue buttons: Zone is off and available
- Green buttons: Zone is currently active
- Status bar: Shows "All Zones are OFF" or which zone is running
The interface polls the device every 5 seconds to keep the status display current, so you can see real-time updates as zones cycle through a program.