In this video I demonstrate three ways to read the temperature of a microcontroller in your Arduino project. The first is to use the processor's internal sensor which will provide accurate internal temperature. The second is to use an external thermistor to read the ambient temperature. The final way is to hack a transistor to read the temperature.
I obviously do not recommend the final version, but it does work in a pinch!