Electronic Components Datasheet Search
  English  ▼

X  

DS18B20Z Datasheet(PDF) 8 Page - Dallas Semiconductor

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

DS18B20Z Datasheet(HTML) 8 Page - Dallas Semiconductor

Back Button DS18B20Z Datasheet HTML 4Page - Dallas Semiconductor DS18B20Z Datasheet HTML 5Page - Dallas Semiconductor DS18B20Z Datasheet HTML 6Page - Dallas Semiconductor DS18B20Z Datasheet HTML 7Page - Dallas Semiconductor DS18B20Z Datasheet HTML 8Page - Dallas Semiconductor DS18B20Z Datasheet HTML 9Page - Dallas Semiconductor DS18B20Z Datasheet HTML 10Page - Dallas Semiconductor DS18B20Z Datasheet HTML 11Page - Dallas Semiconductor DS18B20Z Datasheet HTML 12Page - Dallas Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 27 page
background image
DS18B20
8 of 27
1-WIRE CRC CODE Figure 6
MEMORY
The DS18B20’s memory is organized as shown in Figure 8. The memory consists of a scratchpad RAM
and a nonvolatile, electrically erasable (E
2) RAM, which stores the high and low temperature triggers TH
and TL, and the configuration register. The scratchpad helps insure data integrity when communicating
over the 1-Wire bus. Data is first written to the scratchpad using the Write Scratchpad [4Eh] command.
It can then be verified by using the Read Scratchpad [BEh] command. After the data has been verified, a
Copy Scratchpad [48h] command will transfer the data to the nonvolatile (E
2) RAM. This process insures
data integrity when modifying memory. The DS18B20 EEPROM is rated for a minimum of 50,000
writes and 10 years data retention at T = +55°C.
The scratchpad is organized as eight bytes of memory. The first 2 bytes contain the LSB and the MSB of
the measured temperature information, respectively. The third and fourth bytes are volatile copies of TH
and TL and are refreshed with every power-on reset. The fifth byte is a volatile copy of the configuration
register and is refreshed with every power-on reset. The configuration register will be explained in more
detail later in this section of the datasheet. The sixth, seventh, and eighth bytes are used for internal
computations, and thus will not read out any predictable pattern.
It is imperative that one writes TH, TL, and config in succession; i.e. a write is not valid if one writes
only to TH and TL, for example, and then issues a reset. If any of these bytes must be written, all three
must be written before a reset is issued.
There is a ninth byte which may be read with a Read Scratchpad [BEh] command. This byte contains a
cyclic redundancy check (CRC) byte which is the CRC over all of the eight previous bytes. This CRC is
implemented in the fashion described in the section titled “CRC Generation”.
Configuration Register
The fifth byte of the scratchpad memory is the configuration register.
It contains information which will be used by the device to determine the resolution of the temperature to
digital conversion. The bits are organized as shown in Figure 7.
DS18B20 CONFIGURATION REGISTER Figure 7
0R1
R0
1
1
1
1
1
MSb
LSb
Bits 0-4 are don’t cares on a write but will always read out “1”.
Bit 7 is a don’t care on a write but will always read out “0”.
(MSB)
XOR
XOR
XOR
(LSB)
INPUT



Html Pages

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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   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