Micro:bit has an internal temparature sensor, in fact, the nRF51 application processor has an on board core temperature sensor. This is exposed via the standard runtime software, and provides an estimate of ambient temperature. It is not a highly accurate