temperature sensor using PID control