Electronic – How to Wire This Latching Relay

relay

I am looking to switch a water solenoid valve using two water level switches, one will be placed at the top of a tank and will be NO (when water level is between full and empty) so that it will send a signal to the relay when the water reaches the top to stop the solenoid. The other switch will be at the bottom of the tank and will be NC so that it will send a signal to the relay when the water reaches the bottom of the tank to open the solenoid.

The switching will be done with a latching relay. The diagram of its pins is here: 785 Latching Relay

I simply do not understand this enough to figure out how to wire this. The switches are SPST. The switches, solenoid valve, and relay are good for 120V.

What I am asking for is this: on that diagram, where do the switches connect? Where does the solenoid valve connect? Where does mains power connect? Lastly, do I need any resistors on the control side of the circuit?

Thank you so much in advance for your time.

Best Answer

I don't believe your application can be solved with the components you mention. Either you need switches that give a single pulse or a non-latching relay. My proposed solution is with a regular non-latching relay (and thus pin numbers may be wrong).

If the relay is rated for 120V, then my first attempt would look like this. The below is with a non-latching relay though.

schematic

simulate this circuit – Schematic created using CircuitLab