DS18S20
Figure 4. Supplying the Parasite-Powered DS18S20 During Temperature Conversions
VPU
VPU
µP
4.7k
DS18S20
GND DQ VDD
1-Wire BUS
TO OTHER
1-WIRE DEVICES
Figure 5. Powering the DS18S20 with an External Supply
VPU
µP
DS18S20
GND DQ VDD
VDD (EXTERNAL SUPPLY)
4.7k
1-Wire BUS
TO OTHER
1-WIRE DEVICES
64-BIT LASERED ROM CODE
Each DS18S20 contains a unique 64-bit code (see Figure 6) stored in ROM. The least significant 8 bits of
the ROM code contain the DS18S20’s 1-Wire family code: 10h. The next 48 bits contain a unique serial
number. The most significant 8 bits contain a cyclic redundancy check (CRC) byte that is calculated from
the first 56 bits of the ROM code. A detailed explanation of the CRC bits is provided in the CRC
Generation section. The 64-bit ROM code and associated ROM function control logic allow the
DS18S20 to operate as a 1-Wire device using the protocol detailed in the 1-Wire Bus System section.
Figure 6. 64-Bit Lasered ROM Code
MSB
8-BIT CRC
48-BIT SERIAL NUMBER
8-BIT FAMILY CODE (10h)
LSB MSB
LSB MSB
LSB
6 of 23