TinyReflowController
TinyReflowController copied to clipboard
cool stage problem
After the "REFLOW_STATE_COOL", it continues to work, keeping the "TEMPERATURE_COOL_MIN" for ever ( 100C for example), instead to continue to "REFLOW_STATUS_OFF". I don't know why. Sometimes I forget to push stop button and it is very annoying. Also the fan part in the code is missing and not working.
It wold be great if there was a timer for preheat stage also, as it is for soak stage. With higher power ovens it heats too fast...
Same here...
Always stops around the 520th reading:
520,100.00,113.50,0.00
Even this part is not executed anymore which I added for debugging:
if (millis() > nextRead) { Serial.println("input"); }
When the door is opened during the cooling phase it can cool down much faster and it enters the state "Done"...
Guess somewhere must be an overflow or something...
Problem seems to be solved...
As I use a display with higher resolution the variable x should be defined as unsigned int instead of unsigned char...otherwise during drawing the temp graph the controller locks up and hangs forever.
The graph drawing code is anyway too blown up with unnecessary chunk... but this might have to the original display...all is cleared and then everything is redrawn..whereas a regular SPI TFT only the status message, the temperature and one pixel for the graph would have to be drawn (o;
Now it stopped here on the serial output, as it should be with the door closed:
612,100.00,100.00,0.00