It is really easy to sense the temperature of any environment. We can use a analog device name LM35. The V+ and GND pin is connected to a 5 volt source. Like mobile charger. The equivalent voltage of the current temperature will drooped through the Vout pin.