The DS18B20 has an accuracy of ±0.5°C from -10°C to +85°C, and ±1°C from -40°C to +125°C.
You can connect multiple DS18B20 sensors to a single bus by connecting the VDD, GND, and DQ pins of each sensor to the corresponding pins of the microcontroller or other devices. Each sensor has a unique 64-bit ROM code, allowing multiple sensors to share the same bus.
The maximum cable length for the DS18B20 is 100 meters (328 feet) for a single sensor, and 20 meters (66 feet) for multiple sensors on the same bus.
The DS18B20 returns a 12-bit temperature reading in two's complement format. To convert the reading to Celsius, subtract 0.5 from the reading and divide by 0.0625. To convert to Fahrenheit, multiply the Celsius temperature by 1.8 and add 32.
The DS18B20 has a typical active current of 1.5 mA and a standby current of 1 μA. The power consumption is relatively low, making it suitable for battery-powered applications.