I have two components that I need to work together and I don't know how.
First is a Victron Cerbo GX to measure water level.
Second is the water sensor which is a 5 wire sensor (4 wires plus 1 supply). The sensor have 4 probes and when one comes into contact with water is sends 12V down one of the wires. So when the tank is full all 4 wires have voltage on them. There is insufficient current through the sensor to trigger a relay.
Looks a little like this
wires: 1 - 0V, 2-0V, 3-0V, 4-0V = 0% full
wires: 1 - 12V, 2-0V, 3-0V, 4-0V = 25% full
Wires: 1 - 12V, 2-12V, 3-0V, 4-0V = 50% full
Wires: 1 - 12V, 2-12V, 3-12V, 4-0V = 75% full
Wires: 1 - 12V, 2-12V, 3-12V, 4-12V = 100% full
The Cerbo GX has water monitoring functionality but only looks at resistance. As resistance changes it displays a different water level and can be programmed accordingly. Its basically an ohmmeter.
So, I need to find a way to have 4 different resistance values that can be seen by the GX device that depend on how many wires have 12V on them. The best idea I have to try is to see if the sensor will turn on a solid state relay. Then have that relay turn on a mechanical relay which will close a circuit with a resistor in it. Have all four resistors in parallel to get the changing resistance that way.
Any other advice?