Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

DS18S20 Datasheet(PDF) 13 Page - Dallas Semiconductor

Part # DS18S20
Description  High Precision 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

DS18S20 Datasheet(HTML) 13 Page - Dallas Semiconductor

Back Button DS18S20 Datasheet HTML 9Page - Dallas Semiconductor DS18S20 Datasheet HTML 10Page - Dallas Semiconductor DS18S20 Datasheet HTML 11Page - Dallas Semiconductor DS18S20 Datasheet HTML 12Page - Dallas Semiconductor DS18S20 Datasheet HTML 13Page - Dallas Semiconductor DS18S20 Datasheet HTML 14Page - Dallas Semiconductor DS18S20 Datasheet HTML 15Page - Dallas Semiconductor DS18S20 Datasheet HTML 16Page - Dallas Semiconductor DS18S20 Datasheet HTML 17Page - Dallas Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 27 page
background image
DS18S20
13 of 27
The initialization sequence required to begin any communication with the DS18S20 is shown in Figure
10. A reset pulse followed by a presence pulse indicates the DS18S20 is ready to send or receive data
given the correct ROM command and memory function command.
The bus master transmits (TX) a reset pulse (a low signal for a minimum of 480 ms). The bus master
then releases the line and goes into a receive mode (RX). The 1–Wire bus is pulled to a high state via the
5k pullup resistor. After detecting the rising edge on the DQ pin, the DS18S20 waits 15–60
µs and then
transmits the presence pulse (a low signal for 60–240
µs).
MEMORY COMMAND FUNCTIONS
The following command protocols are summarized in Table 2, and by the flowchart of Figure 9.
Write Scratchpad [4Eh]
This command writes to the scratchpad of the DS18S20, starting at the TH register. The next 2 bytes
written will be saved in scratchpad memory at address locations 2 and 3. Writing may be terminated at
any point by issuing a reset.
Read Scratchpad [BEh]
This command reads the contents of the scratchpad. Reading will commence at byte 0, and will continue
through the scratchpad until the ninth (byte 8, CRC) byte is read. If not all locations are to be read, the
master may issue a reset to terminate reading at any time.
Copy Scratchpad [48h]
This command copies the scratchpad into the E
2 memory of the DS18S20, storing the temperature trigger
bytes in nonvolatile memory. If the bus master issues read time slots following this command, the
DS18S20 will output 0 on the bus as long as it is busy copying the scratchpad to E
2; it will return a 1
when the copy process is complete. If parasite-powered, the bus master has to enable a strong pullup for
at least 10 ms immediately after issuing this command. The DS18S20 EEPROM is rated for a minimum
of 50,000 writes and 10 years data retention at T = +55°C.
Convert T [44h]
This command begins a temperature conversion.
No further data is required.
The temperature
conversion will be performed and then the DS18S20 will remain idle. If the bus master issues read time
slots following this command, the DS18S20 will output 0 on the bus as long as it is busy making a
temperature conversion; it will return a 1 when the temperature conversion is complete. If parasite-
powered, the bus master has to enable a strong pullup for a time period greater than tconv immediately
after issuing this command.
Recall E2 [B8h]
This command recalls the temperature trigger values stored in E
2 to the scratchpad. This recall operation
happens automatically upon power–up to the DS18S20 as well, so valid data is available in the scratchpad
as soon as the device has power applied. With every read data time slot issued after this command has
been sent, the device will output its temperature converter busy flag: 0=busy, 1=ready.
Read Power Supply [B4h]
With every read data time slot issued after this command has been sent to the DS18S20, the device will
signal its power mode: 0=parasite power, 1=external power supply provided.



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