Automated Reservoir & Irrigation Controller
An STM32F401 controls a pump and routes water to three irrigation zones. An ultrasonic sensor measures the reservoir depth and triggers a shutdown when it runs empty.
Route and monitor the water
The controller runs a 24-hour irrigation schedule. PWM drives the DC pump and positions the servo that selects the inlet or one of three zones. An encoder measures pump RPM, and the ultrasonic sensor tracks the water level.
Give the operator feedback
The potentiometer provides a local input. UART telemetry, LEDs and the timer display make operating state visible during testing. An empty reservoir stops the pump and raises a fault indication.
Design the board
I drew the schematic and laid out the PCB in Proteus, placed components, routed motor and signal connections, checked the design rules, and generated the Gerber and drill files. The board reached the fabrication-file stage.
Choose an operating schedule
Measured pump and reservoir data informed the runtime and RPM targets. I used water volume, energy use and cost to compare operating plans for the irrigation cycle.