It is a very good choice to measure temperature due to its ease of use and accuracy ( 9-12 bit)
The DS18B20 has also an alarm function where you can program upper and lower values
Input Voltage : 3-5v
Accuracy : ±0.5°C
Temperatures Measurement Range :–55°C ~ +125°C
Power Supply Current : 1mA/3-5.5V
Resolution : 12 bits
Encapsulated Type : TO-92
Pins: 3 (1 digital, GND, Vcc)
Output Current : 4mA
Surface Mounting Type : Through-hole
Specification
Discover the DS18B20 Temperature Sensor, perfect for precise temperature measurements from -55°C to +125°C. With easy installation, 12-bit resolution, and customizable alarm settings, this sensor ensures accurate monitoring for your projects. Boost your DIY electronics with this reliable and efficient temperature solution!