I'm sorry EM, that is not PID. It is an ON/OFF valve that is restricted to a step angle.
This potentiometer idea is not something that I am interested in at all.
Look at it this way, using the potentiometer.
You set the potentiometer for, say, 20. That becomes the ONLY step the valve can make. Zero (water off) or 20 (water on).
What if the needed value is 4 or 84? No, you get either 20 or 0. Or you fiddle with the potentiometer.
What if the valve needs to open to 32 and slowly close as the temperature stabilizes. Then settle at 16, with the occasional kick to 17, when completely stabilized.
Sorry, can't do that. My valve can ONLY open to one of two positions - the potentiometer setting or zero.
A true PID controller will have access to and control of All of the steps, not limited to just one or two or twelve.
On a valve that has 180 possible degrees of "openess" we restrict ourselves to one possible On/Off setting?
Of course not, you may say, we have a potentiometer knob that we get to constantly adjust, Manually.
The whole idea is wrong and is not acceptable. Please forget the potentiometer idea.
I truly am asking for PID that functions over the entire range that is available, not limited to one On/Off setting.
There will NOT be a potentiometer in my PID control hardware.
When you first brought up the pot idea, I thought you meant an imaginary potentiometer.
Mapping the 180 servo to Analog 4 or something. Maybe some PWM trick. But now this? A real potentiometer?
One On/Off setting?
And you don't see the problem with that?