欢迎访问ic37.com |
会员登录 免费注册
发布采购

DS18B20X 参数 Datasheet PDF下载

DS18B20X图片预览
型号: DS18B20X
PDF下载: 下载PDF文件 查看货源
内容描述: 倒装芯片1 -Wire数字温度计 [Flipchip 1-Wire Digital Thermometer]
分类和应用:
文件页数/大小: 21 页 / 184 K
品牌: DALLAS [ DALLAS SEMICONDUCTOR ]
 浏览型号DS18B20X的Datasheet PDF文件第6页浏览型号DS18B20X的Datasheet PDF文件第7页浏览型号DS18B20X的Datasheet PDF文件第8页浏览型号DS18B20X的Datasheet PDF文件第9页浏览型号DS18B20X的Datasheet PDF文件第11页浏览型号DS18B20X的Datasheet PDF文件第12页浏览型号DS18B20X的Datasheet PDF文件第13页浏览型号DS18B20X的Datasheet PDF文件第14页  
DS18B20X  
SKIP ROM [CCh]  
The master can use this command to address all devices on the bus simultaneously without sending out  
any ROM code information. For example, the master can make all DS18B20Xs on the bus perform  
simultaneous temperature conversions by issuing a Skip ROM command followed by a Convert T [44h]  
command. Note, however, that the Skip ROM command can only be followed by the Read Scratchpad  
[BEh] command when there is one slave on the bus. This sequence saves time by allowing the master to  
read from the device without sending its 64–bit ROM code. This sequence will cause a data collision on  
the bus if there is more than one slave since multiple devices will attempt to transmit data simultaneously.  
ALARM SEARCH [ECh]  
The operation of this command is identical to the operation of the Search ROM command except that  
only slaves with a set alarm flag will respond. This command allows the master device to determine if  
any DS18B20Xs experienced an alarm condition during the most recent temperature conversion. After  
every Alarm Search cycle (i.e., Alarm Search command followed by data exchange), the bus master must  
return to Step 1 (Initialization) in the transaction sequence. Refer to the OPERATION – ALARM  
SIGNALING section for an explanation of alarm flag operation.  
DS18B20X FUNCTION COMMANDS  
After the bus master has used a ROM command to address the DS18B20X with which it wishes to  
communicate, the master can issue one of the DS18B20X function commands. These commands allow  
the master to write to and read from the DS18B20X’s scratchpad memory, initiate temperature  
conversions and determine the power supply mode. The DS18B20X function commands, which are  
described below, are summarized in Table 4 and illustrated by the flowchart in Figure 12.  
CONVERT T [44h]  
This command initiates a single temperature conversion. Following the conversion, the resulting thermal  
data is stored in the 2-byte temperature register in the scratchpad memory and the DS18B20X returns to  
its low-power idle state. If the device is being used in parasite power mode, within 10 µs (max) after this  
command is issued the master must enable a strong pullup on the 1-wire bus for the duration of the  
conversion (tconv) as described in the POWERING THE DS18B20X section. If the DS18B20X is  
powered by an external supply, the master can issue read time slots after the Convert T command and the  
DS18B20X will respond by transmitting 0 while the temperature conversion is in progress and 1 when  
the conversion is done. In parasite power mode this notification technique cannot be used since the bus is  
pulled high by the strong pullup during the conversion.  
WRITE SCRATCHPAD [4Eh]  
This command allows the master to write 3 bytes of data to the DS18B20X’s scratchpad. The first data  
byte is written into the TH register (byte 2 of the scratchpad), the second byte is written into the TL  
register (byte 3), and the third byte is written into the configuration register (byte 4). Data must be  
transmitted least significant bit first. All three bytes MUST be written before the master issues a reset, or  
the data may be corrupted.  
READ SCRATCHPAD [BEh]  
This command allows the master to read the contents of the scratchpad. The data transfer starts with the  
least significant bit of byte 0 and continues through the scratchpad until the 9th byte (byte 8 – CRC) is  
read. The master may issue a reset to terminate reading at any time if only part of the scratchpad data is  
needed.  
COPY SCRATCHPAD [48h]  
This command copies the contents of the scratchpad TH, TL and configuration registers (bytes 2, 3 and 4)  
to EEPROM. If the device is being used in parasite power mode, within 10 µs (max) after this command  
10 of 21  
 复制成功!