Could you try making a simple test program that accesses the display but never actually starts any pumps? Then start and restart and restart it many times until you either see a white screen or are confident the issue isn't happening. If the latter, now change the program to start one of the pumps and do the repeating test, see if it occurs.
I have 2 different industrial power supplies from PULS one is 24vdc and the other is 5vdc.Is the 5V a totally separate supply, or is it running from a regulator off the 24V source?
Also, I'm curious if this white screen is happening because the Arduino is resetting, or if it's happening in the middle of program execution. If you have a spare pin on the Arduino, could you set up an LED that's enabled at the very start of the sketch, and then gets turned off once the main loop is underway? That might help diagnose if it's a full glitch/restart or something else.
Finally...if the second test program described above (run screen and one pump) runs without incident, but the full program has this issue sometimes, I'd start to suspect the program is running out of RAM.
Users browsing this forum: waltfeld and 2 guests