This simple project is based on the idea that "speed of sound in air strictly depends on the ambient temperature" and this difference can be calculated by a short equation:
Speed of sound(meters/second)=331,4 + 0,6 x (ambient temperature in degrees celsius)
- Speed of sound also depends on air flow (i.e. wind speed). If the environment you're planning to do this is windy, then do not expect accurate results.
- The sensor module used in the project is quite cheap and low-end. So be aware that the readings are expected to be unstable.
Even so, it's possible to get acceptable readings +/- 2°C