Measure soil moisture and run the pump automatically when needed.
Build a robot that follows a black line using infrared sensors.