I have an Uno that I've turned into a water-heating solar controller. I've had the system running for months, and usually the LCD displays what it should. But sometimes, it produces gibberish on the LCD screen, and there's no way to read what really should be there.
Here are the components of the controller:
Major Components:
1 Arduino Uno R3 (made by Inland) purchased from MicroCenter. (Inland Uno R3 MainBoard Arduino Compatible; ATmega328 Microcontroller; 16MHz Clock Rate; 32KB Flash Memory - Micro Center)
2 DS18B20 OneWire Temperature sensors (three of them) from Elkner
(https://www.amazon.com/ELENKER-Waterproof-Temperature-Thermometer-Resistance/dp/B01DQQPR2A/ref=pd_lpo_vtph_107_bs_t_1?_encoding=UTF8&psc=1&refRID=BE0DNSM4R0YRXN4BKPPX)
3 RGB LCD and button-press shield from Adafruit (RGB LCD Shield Kit w/ 16x2 Character Display - Only 2 pins used! [POSITIVE DISPLAY] : ID 716 : $23.95 : Adafruit Industries, Unique & fun DIY electronics and kits)
4 12v DC 1 Amp 12 Watt Regulated Switching Wall Adapter (https://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=10001&freeText=2232825&langId=-1&storeId=10001&productId=2232825&krypto=H4nGAL3YNNsQkxAqrBIoZaZ%2FulrzibxYk%2F7I1FKD7NdslShPqq%2FyeLW2n6HXvKL82LsDMvBUWLLBu1lGsppXGfLs1NmYAVflBBlpahNHNsE%3D&ddkey=https%3AStoreCatalogDrillDownView)
Either a button-press reset of the Uno, or else unplugging it then reconnecting its power, will stop the gibberish, at least for a while. What can I do to permanently get rid of this irritating "feature"?
UPDATE: I removed the PDF and ZIP files, replacing them with more generic .TXT and .JPG files.
UPDATE 2: I inserted some images to the post; 4 shots of normal screens, 6 shots of gibberish progression extracted from a video.
I've attached my full sketch (.TXT), a schematic diagram of the Uno system (.JPG), and some other JPGs showing
(A) screen shots of how the displays should look (normal functioning), followed by
(B) a selection of consecutive screen shots from a video where the gibberish started, and some of what it looks like as it progresses.
Any help you can suggest will be very much appreciated.
Here are 4 shots of normal screens:




Here are shots of some progressive gibberish:






ugfrog










Solar Controller - Full Sketch.txt (34.3 KB)
