Dear Team,
I built an ATS controlled by Arduino with LCD. Whenever the Contactor energizes, sometimes, the LCD would display gibberish or unknown alphabet but the code would still run on the background. I energize the ac-220v contactors through a 4 channel relay module sold online with optocouplers;
Sometimes, the Arduino will freeze and stop running the code (The LCD will freeze).
I have tried insulating the Arduino box with a damper-foam but no effect. What can I do to stop the interference from the ac-contactor on my Arduino?
Note I connected the LCD through an I2C to A4/A5 of Arduino. If i disconnect the ac-contactor coil voltage cable (A1-Live) the Arduino/LCD runs smoothly without any problem provided the contactors does not energize.
It would be much easier to answer your question if yo posted a schematic, not a frizzy thing showing all power, ground and interconnections. Include mains power source connections for the system as well. Is this a three phase system or single phase. Are the contactors and controls in the same enclosure. More information only help you get an answer that will work.