Automatic liquid regulator made with arduino mega.
Once the liters have been set, select the selector on AUTOMATIC and press Start, the relay will turn on and in doing so the valve will pass the water.
Once the setpoint is reached the relay will switch off and the current count will return to 0.
Using the selector in MANUAL it will be possible to manually control the relay or reset the Current count.