Data Sheet

DS18B20
9 of 27
R0, R1: Thermometer resolution bits. Table 3 below defines the resolution of the digital thermometer,
based on the settings of these 2 bits. There is a direct tradeoff between resolution and conversion time, as
depicted in the AC Electrical Characteristics. The factory default of these EEPROM bits is R0=1 and
R1=1 (12-bit conversions).
Thermometer Resolution Configuration Table 3
R1 R0 Thermometer
Resolution
Max Conversion
Time
0 0 9 bit 93.75 ms (t
conv
/8)
0 1 10 bit 187.5 ms (t
conv
/4)
1 0 11 bit 375 ms (t
conv
/2)
1 1 12 bit 750 ms (t
conv
)
DS18B20 MEMORY MAP Figure 8
TEMPERATURE LSB
TEMPERATURE MSB
TH/USER BYTE 1
TL/USER BYTE 2
CONFIG
RESERVED
RESERVED
CRC
TH/USER BYTE 1
TL/USER BYTE 2
RESERVED
SCRATCHPAD
BYTE
0
1
2
3
4
5
6
7
8
E
2
RAM
CONFIG