Self-calibrating thermometer for food and beverage applications