5115

The first version of this example is from 2018. My wife wanted to cook vegetables at low temperatures. The aim is to keep the temperature constantly low, i.e. cook at a temperature of around 60/80°C We discussed several variants of cooking monitoring to achieve the objective and we adopted the solution: Collect a basic electric plate. Combine an Arduino Nano, a thermocouple and its MAX6675, a potentiometer (for the setpoint), a 2X16 LCD (I2C equiped with PCF) and an SSR 10DA solid state relay to control

For this Christmas, my wife ordered a version to handle two plates.
I wrote the code using the same 2x16 LCD display
The display is overloaded I am told, so, as I had a few logger parts left (TFT3"4 Arduino Mega), I also wrote a code for this version which I chose to finalize
Brief:
Electric plate management project by PID regulation Version V1. 
2 Thermocouple + Max 6675   
1 TFT3"5 LCD display   
2 Setpoint potentiometers (temperature to be reached)    
Two electric hotplate management version  
DUO MEGA TFT LCD COOKING CODE V2
use PID-1.2.0 and MyAff35 library included in the zip.
Fashion compilation show all = Zero!

In this code, we configure the controller to use conservative tuning parameters (other code idem)  when we are close to the set point and aggressive tuning parameters when we are further from it.   
Display for cooking 1 and 2:   
-Temperature measured by the thermocouple   
-Setpoint, temperature value to reach   
-Pwm in percentage (0->100 for 0->255)  
-Bar graph for pwm  
Security monitoring:
We check Bit 2 (thermocouple attached) and Bit 15 (+- sign) to validate sensor fault 
A lock via (#define VERROU_TEMP_MAX) stops the PWM output if the Max temperature threshold is exceeded.
In this code, it is positioned at 250°C carrying out monitoring of the plate (maximum average temperature 180° 190°) 
To unpack today, some code, and looking a little... to test quickly before I come back to bring you additional elements on connections and other information.

Merry Christmas to everyone
Note 
how to get a "waf" when it seems necessary. :)
soon the codes in mono and duo nano+lcd 2x16 mode but forgive me, it's Christmas...