I’m having a strange issue with my project. It’s a basic thermostat / oven controller system. It samples a temp probe and outputs it to screen. Buttons set a temp for the oven reach and it turns on and off solenoids. Additionally, I use SPI to communicate with devices and this includes the LCD. I have also integrated a Large Font module within to display both regular font and large font on demand.
** Please note that I use a bunch of hobbled together code that I have attempted to make work to the best of my ability.
When I initially upload the code it works great. The user presses a button to turn-on the oven and set the temp. For example press the button once, it goes to LARGE font “225” degrees (image 1) then after 2 seconds it changes to SMALL font Current temp readout in both fahrenheit and Celsius (image 2).
After an unknown time, If I restart the arduino the Large font displays erratic (Image 3)… Not sure why, not sure how, but if I try and re-upload the code it does nothing. However if I upload a different sketch of any kind then re-upload the original sketch, it resets the arduino.
I’m thinking something goes wrong with the SPI communication…
I have attached the latest version of my sketch, MainV3.36.zip. Also, have attached all the images as well.
MainV3.36.zip (15.1 KB)