I’d like to automate my irrigation system. Current situation is that I have a 4-way valve that switches on and off by using a computer attached to the valve. I want to replace the computer by a device that I can control with pimatic. The computer sends volt signals using a 5-pins cable. Depending on the pins that contain the volt it opens one of the 4 valves.
Now my question: is it possible to replace the 5pins cable with another one that is controlled by my pi? What kind of hardware should I get to make this happen?