the codes are for powering a 1 hp submersible water pump ON and OFF using an arduino uno, a 4 channel relay and a ds1307 rtc.
i want to fill my water reserve tank at home from the water well. but i have very limited amount of water being collected at the well. so as to maximize the collection time i want use the arduino to help me switch the pumps on and off after every 2 hours for 30 seconds which probably gives me 60 liters of water.
i have no idea about programming. my friend wrote the code for me but he made the relay switch ON for about 5 minutes. Running the water pump ON for 5 minutes will burn the coils in the pump without any water in the well. so i want to decrease the pump running time from 5 minutes to 30 seconds. Please Help and thanks in advance