It seems wise to me to first study the behaviour of the valve on the bench using a PSU and physical switches/buttons. When you are sure about how everything works, you can hook it up to your uC via optoisolators.
It seems wise to me to first study the behaviour of the valve on the bench using a PSU and physical switches/buttons. When you are sure about how everything works, you can hook it up to your uC via optoisolators.