temperature-to-digital conversion to 9, 10, 11, or 12 bits. The TH, TL and configuration registers are nonvolatile (EEPROM), so they will retain data when the device is powered down.
The DS18B20 uses Dallas’ exclusive 1-Wire bus protocol that implements bus communication using one control signal. The control line requires a weak pullup resistor since all devices are linked to the bus via a 3-state or open-drain port (the DQ pin in the case of the DS18B20). In this bus system, the microprocessor (the master device) identifies and addresses devices on the bus using each device’s unique 64-bit code. Because each device has a unique code, the number of devices that can be addressed on one bus is virtually unlimited. The 1-Wire bus protocol, including detailed explanations of the commands and “time slots,” is covered in the 1-WIRE BUS SYSTEM section of this datasheet。
Another feature of the DS18B20 is the ability to operate without an external power supply. Power is instead supplied through the 1-Wire pullup resistor via the DQ pin when the bus is high. The high bus signal also charges an internal capacitor (CPP), which then supplies power to the device when the bus is low. This method of deriving power from the 1-Wire bus is referred to as “parasite power.” As an alternative, the DS18B20 may also be powered by an external supply on VDD。
四. OPERATION — MEASURING TEMPERATURE
The core functionality of the DS18B20 is its direct-to-digital temperature sensor. The resolution of the temperature sensor is user-configurable to 9, 10, 11, or 12 bits, corresponding to increments of 0.5 C, 0.25 C, 0.125 C, and 0.0625 C, respectively. The default resolution at power-up is 12-bit. The DS18B20 powers-up in a low-power idle state; to initiate a temperature measurement and A-to-D conversion, the master must issue a Convert T [44h] command. Following the conversion, the resulting thermal data is stored in the 2-byte temperature register in the scratchpad memory and the DS18B20 returns to its idle state. If the DS18B20 is powered by an external supply, the master can issue “read time slots” (see the 1-WIRE BUS SYSTEM section) after the Convert T command and the DS18B20 will respond by transmitting 0 while the temperature conversion is in progress and 1 when the conversion is done. If the DS18B20 is powered with parasite power, this notification technique cannot be used since the bus must be pulled high by a strong pullup during the entire temperature conversion. The bus requirements for parasite power are explained in detail in the POWERING THE DS18B20 section of this datasheet。 The DS18B20 output temperature data is calibrated in degrees centigrade; for Fahrenheit applications, a lookup table or conversion routine must be used. The temperature data is stored as a 16-bit sign-extended two’s complement number in the temperature register (see Figure 2). The sign bits (S) indicate if the temperature is positive or negative: for positive numbers S = 0 and for negative numbers S = 1. If the DS18B20 is configured for 12-bit resolution, all bits in the temperature register will contain valid data. For 11-bit resolution, bit 0 is undefined. For 10-bit resolution, bits 1 and 0 are undefined, and for 9-bit
基于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的温度控制系统设计_中英文献翻译_能源/化工_工程科技_专业资料。...大学 毕业论文(设计) 外文文献翻译 申请学位: 工学学士学位 院专姓系: 学院 ...
热门文档