10.07.2015 Views

DS18S20 High-Precision 1-Wire Digital Thermometer

DS18S20 High-Precision 1-Wire Digital Thermometer

DS18S20 High-Precision 1-Wire Digital Thermometer

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DS18S20</strong>READ POWER SUPPLY [B4h]The master device issues this command followed by a read-time slot to determine if any <strong>DS18S20</strong>s on thebus are using parasite power. During the read-time slot, parasite powered <strong>DS18S20</strong>s will pull the bus low,and externally powered <strong>DS18S20</strong>s will let the bus remain high. Refer to the POWERING THE <strong>DS18S20</strong>section for usage information for this command.<strong>DS18S20</strong> FUNCTION COMMAND SET Table 4Command Description Protocol1-<strong>Wire</strong> Bus ActivityAfter Command is Issued NotesTEMPERATURE CONVERSION COMMANDSConvert T Initiates temperature44h <strong>DS18S20</strong> transmits conversion 1conversion.status to master (not applicablefor parasite-powered <strong>DS18S20</strong>s).MEMORY COMMANDSRead Scratchpad Reads the entire scratchpad BEh <strong>DS18S20</strong> transmits up to 9 data 2including the CRC byte.bytes to master.Write Scratchpad Writes data into scratchpad 4Eh Master transmits 2 data bytes to 3bytes 2 and 3 (T H and T L ).<strong>DS18S20</strong>.Copy Scratchpad Copies T H and T L data from 48h None 1the scratchpad to EEPROM.Recall E 2 Recalls T H and T L data from B8h <strong>DS18S20</strong> transmits recall statusRead PowerSupplyEEPROM to the scratchpad.Signals <strong>DS18S20</strong> powersupply mode to the master.B4hto master.<strong>DS18S20</strong> transmits supply statusto master.NOTES:1) For parasite-powered <strong>DS18S20</strong>s, the master must enable a strong pullup on the 1-<strong>Wire</strong> bus duringtemperature conversions and copies from the scratchpad to EEPROM. No other bus activity may takeplace during this time.2) The master can interrupt the transmission of data at any time by issuing a reset.3) Both bytes must be written before a reset is issued.12 of 22

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!