Calculate temperature based on resistance from thermistor with lookup chart