The problem is when switching off the solenoid valve the microcontroller goes reset means the all system goes to reset when switching off valve. And if continue again with cycle, ON and OFF valve by ...