Here you go: DS18B20 Reliable Reading Methods – Practical Implementation to Avoid Errors and Invalid Values