Measuring temperature and pressure with a simple chip