I'm hoping someone could help me out with this one final issue with my project.
I have an ESP32 that controls a magnetic starter. The issue is when the magnetic starter hits the off switch, the esp32 restarts. This happens even if I hit the external off switch (not via the ESP32 gpio to relays).
The wires from the magnetic starter come onto the PCB, pass through the relays, and then exit without actually going into any of the circuitry.
This even happens when the ESP is powered by a separate power source rather than through the power coming from the magnetic starter.
Any advice on what I could do to solve this would be greatly appreciated.



