Implemented communication between the controller and the sprinkler