I have a noise issue on my TFT display. I have some relays for switching 380V AC motors, and an ILI9341 display connected to an ATmega128 MCU. When a relay switches a motor, my TFT sometimes gets noise — occasionally the screen turns completely white.
I’ve added capacitors and even used a battery for the power supply, but it still gets noise.
On 2x16 displays, I add display.begin() in my program to reset the display every second, which helps — but on TFT displays, the reset process takes longer.
How can I fix this?