Adding ON/OFF control & temp display to PID SCRIPT

Edit [timestamp=1246661743]...

Never mind. Looks like Jetski made progress while I was writing! Guess I'll have to respond faster or not at all!

Brett:

I assumed your algorithm provided writing to the OUTPUT with value clamping when in MANUAL mode. I suggested Jetski always send the output value (even when the loop was in manual) so the OUTPUT would be correctly restricted. When Jetski wrote this...

it still sends an output signal to the heater

...it's probably because of my suggestion.

When in MANUAL mode, is there a way to change the OUTPUT through your algorithm?

Jetski:

It would help if you posted the latest version of your Sketch.

Yeah..., but I've been tinkering with it in "MANUAL" mode and it still sends an output signal to the heater.

MANUAL mode just turns off the PID algorithm. It allows MANUAL control. Once in MANUAL mode it's up to you to change the OUTPUT.

Sorry for the confusion I've caused. I hope I haven't led you too far astray.

  • Brian