Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

DS18B20 Datasheet(PDF) 8 Page - Dallas Semiconductor

Part # DS18B20
Description  Programmable Resolution 1-Wire Digital Thermometer
Download  22 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DALLAS [Dallas Semiconductor]
Direct Link  https://www.maximintegrated.com/en.html
Logo DALLAS - Dallas Semiconductor

DS18B20 Datasheet(HTML) 8 Page - Dallas Semiconductor

Back Button DS18B20 Datasheet HTML 4Page - Dallas Semiconductor DS18B20 Datasheet HTML 5Page - Dallas Semiconductor DS18B20 Datasheet HTML 6Page - Dallas Semiconductor DS18B20 Datasheet HTML 7Page - Dallas Semiconductor DS18B20 Datasheet HTML 8Page - Dallas Semiconductor DS18B20 Datasheet HTML 9Page - Dallas Semiconductor DS18B20 Datasheet HTML 10Page - Dallas Semiconductor DS18B20 Datasheet HTML 11Page - Dallas Semiconductor DS18B20 Datasheet HTML 12Page - Dallas Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 22 page
background image
DS18B20
8 of 22
CONFIGURATION REGISTER
Byte 4 of the scratchpad memory contains the configuration register, which is organized as illustrated in
Figure 8. The user can set the conversion resolution of the DS18B20 using the R0 and R1 bits in this
register as shown in Table 2. The power-up default of these bits is R0 = 1 and R1 = 1 (12-bit resolution).
Note that there is a direct tradeoff between resolution and conversion time. Bit 7 and bits 0 to 4 in the
configuration register are reserved for internal use by the device and cannot be overwritten.
Figure 8. Configuration Register
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
0
R1
R0
1
1
1
1
1
Table 2. Thermometer Resolution Configuration
R1
R0
RESOLUTION
(BITS)
MAX CONVERSION
TIME
0
0
9
93.75ms
(tCONV/8)
0
1
10
187.5ms
(tCONV/4)
1
0
11
375ms
(tCONV/2)
1
1
12
750ms
(tCONV)
CRC GENERATION
CRC bytes are provided as part of the DS18B20’s 64-bit ROM code and in the 9
th byte of the scratchpad
memory. The ROM code CRC is calculated from the first 56 bits of the ROM code and is contained in the
most significant byte of the ROM. The scratchpad CRC is calculated from the data stored in the
scratchpad, and therefore it changes when the data in the scratchpad changes. The CRCs provide the bus
master with a method of data validation when data is read from the DS18B20. To verify that data has
been read correctly, the bus master must re-calculate the CRC from the received data and then compare
this value to either the ROM code CRC (for ROM reads) or to the scratchpad CRC (for scratchpad reads).
If the calculated CRC matches the read CRC, the data has been received error free. The comparison of
CRC values and the decision to continue with an operation are determined entirely by the bus master.
There is no circuitry inside the DS18B20 that prevents a command sequence from proceeding if the
DS18B20 CRC (ROM or scratchpad) does not match the value generated by the bus master.
The equivalent polynomial function of the CRC (ROM or scratchpad) is:
CRC = X
8 + X5 + X4 + 1
The bus master can re-calculate the CRC and compare it to the CRC values from the DS18B20 using the
polynomial generator shown in Figure 9. This circuit consists of a shift register and XOR gates, and the
shift register bits are initialized to 0. Starting with the least significant bit of the ROM code or the least
significant bit of byte 0 in the scratchpad, one bit at a time should shifted into the shift register. After
shifting in the 56th bit from the ROM or the most significant bit of byte 7 from the scratchpad, the
polynomial generator will contain the re-calculated CRC. Next, the 8-bit ROM code or scratchpad CRC
from the DS18B20 must be shifted into the circuit. At this point, if the re-calculated CRC was correct, the
shift register will contain all 0s. Additional information about the Maxim 1-Wire cyclic redundancy check


Similar Part No. - DS18B20

ManufacturerPart #DatasheetDescription
logo
Dallas Semiconductor
DS18B20 DALLAS-DS18B20 Datasheet
391Kb / 27P
   Programmable Resolution 1-Wire Digital Thermometer
DS18B20 DALLAS-DS18B20 Datasheet
223Kb / 21P
   Programmable Resolution 1-Wire Digital Thermometer
logo
Maxim Integrated Produc...
DS18B20 MAXIM-DS18B20 Datasheet
261Kb / 22P
   1-Wire Digital Thermometer
REV: 042208
DS18B20 MAXIM-DS18B20 Datasheet
396Kb / 20P
   Programmable Resolution 1-Wire Digital Thermometer
Rev 6; 7/19
DS18B20 MAXIM-DS18B20 Datasheet
322Kb / 22P
   Programmable Resolution 1-Wire Digital Thermometer
2008
More results

Similar Description - DS18B20

ManufacturerPart #DatasheetDescription
logo
Maxim Integrated Produc...
DS18B20 MAXIM-DS18B20 Datasheet
396Kb / 20P
   Programmable Resolution 1-Wire Digital Thermometer
Rev 6; 7/19
DS18B20 MAXIM-DS18B20_V01 Datasheet
322Kb / 22P
   Programmable Resolution 1-Wire Digital Thermometer
2008
logo
Dallas Semiconductor
DS18B20 DALLAS-DS18B20 Datasheet
391Kb / 27P
   Programmable Resolution 1-Wire Digital Thermometer
DS18B20 DALLAS-DS18B20_07 Datasheet
223Kb / 21P
   Programmable Resolution 1-Wire Digital Thermometer
logo
Maxim Integrated Produc...
DS1825 MAXIM-DS1825 Datasheet
286Kb / 21P
   Programmable Resolution 1-Wire Digital Thermometer With 4-Bit ID
Rev 020105
DS18B20 MAXIM-DS18B20_08 Datasheet
261Kb / 22P
   1-Wire Digital Thermometer
REV: 042208
logo
Dallas Semiconductor
DS1820 DALLAS-DS1820 Datasheet
151Kb / 27P
   1-Wire Digital Thermometer
logo
TelCom Semiconductor, I...
TC625 TELCOM-TC625 Datasheet
68Kb / 2P
   1-WIRE DIGITAL THERMOMETER
logo
Dallas Semiconductor
DS18B20X DALLAS-DS18B20X Datasheet
184Kb / 21P
   Flipchip 1-Wire Digital Thermometer
DS1822 DALLAS-DS1822 Datasheet
268Kb / 20P
   Econo 1-Wire Digital Thermometer
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com