I started working on this task by integrating the solenoid valve with the Arduino UNO. The solenoid valve used is of a rating of 24 volts, initially I didn't know this so I wasn't able to get it to work. Unfortunately I couldn't finish this task, I will be adding the relay and the soil moisture sensor to the circuitry to finish this task.