Earlier quoted context omitted.
because the temperatures inside are below instant pasteurization temperatures (158°F) though, reaching the target is insufficient. They need to be held at the target temperature over a period of time to guarantee sufficient pasteurization. I'll also agree that the learning process can't be beat the way you did it. I suppose you could simulate the PID function in software on the arduino though - http://playground.ardu…
Be careful with Arduino libraries. If you are trying to learn something, it's usually better to write your own, or look at really good code. Case in point, PIDLibrary, I'm looking at the PIDCompute function, line 57: ITerm+= (ki * error); That's not how you deal with I. You are supposed to accumulate (integrate) the error and multiply by Ki only for the final PID addition. You don't want to accumulate your errors mul…
[1] http://brettbeauregard.com/blog/2011/04/improving-the-beginn... [2] http://brettbeauregard.com/blog/2011/04/improving-the-beginn...