This article demonstrates how to use the built-in die temperature sensor on the nRF51. The die temperature is not the same as ambient temperature, but can be calibrated to ambient temperature by using a correction factor.
October 05, 2015 by Travis Fagerness