I am working on a project to build a pool control. The pump is controlled via remote socket, 2 DS18B20 for temperature control. No I stuck, how I can control the 3-way valve the beste way. It operates at 24v, there are three positions (normal, solar, close). To open or switch the valve I can use relays and just power the individual input of the valve.
The valve has a 'feedback channel' when the position is reached, so that I can switch off, of course also in 24V.
My problem is, I don't know how to 'convert' this 24V high it in the best way, so that I can use it as a Digital Input.
Thanks a lot,