resolution bits 2, 1 and 0 are undefined. Table 2 gives examples of digital output data and the corresponding temperature reading for 12-bit resolution conversions。
五. OPERATION — ALARM SIGNALING
After the DS18B20 performs a temperature conversion, the temperature value is compared to the user-defined two’s complement alarm trigger values stored in the 1-byte TH and TL registers (see Figure 3). The sign bit (S) indicates if the value is positive or negative: for positive numbers S = 0 and for negative numbers S = 1. The TH and TL registers are nonvolatile (EEPROM) so they will retain data when the device is powered down. TH and TL can be accessed through bytes 2 and 3 of the scratchpad as explained in the MEMORY section of this datasheet。
六. TH AND TL REGISTER FORMAT Figure 3
Only bits 11 through 4 of the temperature register are used in the TH and TL comparison since TH and TL are 8-bit registers. If the measured temperature is lower than or equal to TL or higher than TH, an alarm condition exists and an alarm flag is set inside the DS18B20. This flag is updated after every temperature measurement; therefore, if the alarm condition goes away, the flag will be turned off after the next temperature conversion. The master device can check the alarm flag status of all DS18B20s on the bus by issuing an Alarm Search [ECh] command. Any DS18B20s with a set alarm flag will respond to the command, so the master can determine exactly which DS18B20s have experienced an alarm condition. If an alarm condition exists and the TH or TL settings have changed, another temperature conversion should be done to validate the alarm condition。
七. POWERING THE DS18B20
The DS18B20 can be powered by an external supply on the VDD pin, or it can operate in “parasite power” mode, which allows the DS18B20 to function without a local external supply. Parasite power is very useful for applications that require remote temperature sensing or that are very space constrained. Figure 1 shows the DS18B20’s parasite-power control circuitry, which “steals” power from the 1-Wire bus via the DQ pin when the bus is high. The stolen charge powers the DS18B20 while the bus is high, and some of the charge is stored on the parasite power capacitor (CPP) to provide power when the bus is low.
When the DS18B20 is used in parasite power mode, the VDD pin must be connected to ground. In parasite power mode, the 1-Wire bus and CPP can provide sufficient current to the DS18B20 for most operations as long as the specified timing and voltage requirements are met (refer to the DC ELECTRICAL CHARACTERISTICS and the AC ELECTRICAL CHARACTERISTICS sections of this data sheet).
However, when the DS18B20 is performing temperature conversions or copying data from the scratchpad memory to EEPROM, the operating current can be as high as
1.5mA. This current can cause an unacceptable voltage drop across the weak 1-Wire pullup resistor and is more current than can be supplied by CPP. To assure that the DS18B20 has sufficient supply current, it is necessary to provide a strong pullup
基于DS18B20 分组方式温度测试系统设计 摘要 当用于多点测温时, 所有的 DS18B20 传感器都连接在单片机的某根总线上, 采用轮流采集温度数据的方式。 当系统有多...
DS18B20外文翻译 毕业设计之文献翻译,有关于DS18B20的毕业设计之文献翻译,有关于DS18B20的隐藏>> 分享到: X 分享到: 使用一键分享,轻松赚取财富值, 了解详情...
DS18B20中英文资料外文翻译文献_英语学习_外语学习_教育专区。毕业论文外文翻译(原文) 中英文资料 The introduction to The DS18B20 1. DESCRIPTION The DS18B20 di...
DS18B20资料中英文翻译 10页 1下载券 免费-单片机温度控制系统... 18页 免费 DS18B20温度采集外文文献... 暂无评价 4页 免费D...
淮阴工学院 毕业设计(论文)外文资料翻译系 (院) :专姓学业: 名: 号: http://www.ourmpu.com 外文出处: (用外文写) 附 件: 1.外文资料翻译译文;2.外文...
DS18B20数字式温度传感器毕业论文中英文资料外文翻译文献_计算机软件及应用_IT/计算机_专业资料。很不错的东西,很值得借鉴外文翻译(原文) 中英文资料外文翻译文献 Th...
附件1:外文资料翻译译文一种基于 DS18B20 的温度探测系统 摘要所有的 DS18B20 传感器,用于多点温度测试,IO 总线与 MCU 连接,温度数据的轮流收 集。如果系统有...
DS18B20 单线温度传感器外文翻译_电子/电路_工程科技_专业资料。毕业设计(论文)...单线温度传感器外文翻译 30人阅读 11页 8.00 DS18B20数字式温度传感器.....
DS18B20数字式温度传感器毕业论文中英文资料外文翻译文献_工学_高等教育_教育专区。毕业论文外文翻译(原文) 中英文资料外文翻译文献 The introduction to The DS18B20...
单片机和DS18B20的温度控制系统设计_中英文献翻译_能源/化工_工程科技_专业资料。...大学 毕业论文(设计) 外文文献翻译 申请学位: 工学学士学位 院专姓系: 学院 ...
热门文档