Here is one using DS18B20:
https://www.theengineeringprojects.com/ ... 18b20.html
And here is another based on a thermistor. It's quite detailed: https://www.youtube.com/watch?v=v-pnV2sepxs
I think you can get a clear idea from all these contents and then develop your system.