I've got a project I just put in place and I've run into troubles and it's a little above my knowledge level so I'm looking for some suggestions.
Goal: Control a 220vAC pump from 2 locations
Implementation: I used a 220vAC relay triggered by 12vDC. There are 2 12vDC momentary switches, with red/green halo's, that connect to a latching relay. The latching relay drives the 220v relay and the momentary switches pulse to ground on the latching relay. A 220vAC to 12vDC power supply is connected to the line in and provides 12v for the system.
Problem: If the system if off, I can turn it on with no issues. If it is running, the latching relay will sometimes try to switch over but most of the time it will only "half click" and the main 220v relay seems like it tries to weakly change. A few random pressed of the momentary switches and it will shut off. Sometimes I see a quick spark in the 220v relay when trying to go from running to not.
More detail: The coil for the 220v relay is connected to the NC output of the latching relay. When the system is energized, the coil for the 220v relay is energized and the pump turns on. I set it up this way so if there was a power interruption, the system would default to a running state if there was a power interruption. I have a master switch to over-ride this function.
I tested everything after the 220v-12v power supply before I hooked everything up and it worked without issue. My guess is that when the latching relay is triggered and there is a load on the 220v relay, something is happening that is either causing a quick voltage drop causing the latching relay to reset or the power supply is doing something strange.
Here's a schematic I drew up that is close. It didn't have a latching relay so I kind of threw in connections to make my own. The DPST switch lit weird if I tried to interrupt the coil, so that was removed. The DPST switch is just connected to the main power now.
simulate this circuit – Schematic created using CircuitLab
Parts:
Power supply: https://www.amazon.com/dp/B07SJRX9R6?ref=ppx_yo2ov_dt_b_product_details&th=1 (12v 1A version)
220v Relay: https://www.amazon.com/dp/B07QXXM1RV?ref=ppx_yo2ov_dt_b_product_details&th=1 (12v Version)
Latching Relay: https://www.amazon.com/gp/product/B07RN5KLMF/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 (I used this in another project that was in place for a few months without issue, re-using here.)
Switch: https://www.amazon.com/dp/B07KNNXLLH?ref=ppx_yo2ov_dt_b_product_details&th=1
I'm not sure how to troubleshoot this at this point. I've got a multi meter but not really anything more advanced that that.
Thanks for any suggestions!
Edit: As requested, I've simplified the schematic greatly. I made the latching relay more of a black box and separated the the momentary switches. The LEDs on the schematic are built into the switch.
The latching relay, is an board with other components that was premade. It takes 3 inputs, 12v+, ground, and the input. When the input is pulsed to ground, the relay changes state. When it is pulsed again, it changes state. The relay has a standard single input and 2 outputs (NO, NC.)
Prior to full assembly, I tested everything after the 220vAC-12vDC power supply without a load. I simulated the power supply with a bench 12v power supply and everything functioned as expected. The latching relay cycled with each press and the 220v relay coil followed.