PID control using potentiometer and servo