# Learn to set PID values to hold a set temperature

A temperature controller is something called a PID (proportional-integral-derivative) and it has the purpose of maintain the difference between temperatures at a minimum level by giving or taking heat. The correct parameters are calculated using an algorithm based on which the PID makes the adjustments.

Set the PID on the desired temperature.

Use the formula to find the error in the PID, which is the divergence from the temperature desired. The error is calculated by the following formula: set-point minus measurement.

The set point is the wanted temperature and the measurement is the noticed temperature.

The letters PID each correspond to a value. “P” stands for proportional band and is calculated by the following formula : controller output = (error)*100/(proportional band)

“I” is the integral of the controller output and “D” is the derivative of controller output. To set the temperature all you need to do is to enter the values for P, I and D into the controller.