on the 1-Wire bus whenever temperature conversions are taking place or data is being copied from the scratchpad to EEPROM. This can be accomplished by using a MOSFET to pull the bus directly to the rail as shown in Figure 4.
The 1-Wire bus must be switched to the strong pullup within 10s (max) after a Convert T [44h] or Copy Scratchpad [48h] command is issued, and the bus must be held high by the pullup for the duration of the conversion (tconv) or data transfer (twr = 10ms). No other activity can take place on the 1-Wire bus while the pullup is enabled. The DS18B20 can also be powered by the conventional method of connecting an external power supply to the VDD pin, as shown in Figure 5.
The advantage of this method is that the MOSFET pullup is not required, and the 1-Wire bus is free to carry other traffic during the temperature conversion time. The use of parasite power is not recommended for temperatures above +100C since the DS18B20 may not be able to sustain communications due to the higher leakage currents that can exist at these temperatures. For applications in which such temperatures are likely, it is strongly recommended that the DS18B20 be powered by an external power supply. In some situations the bus master may not know whether the DS18B20s on the bus are parasite powered or powered by external supplies. The master needs this information to determine if the strong bus pullup should be used during temperature conversions. To get this information, the master can issue a Skip ROM [CCh] command followed by a Read Power Supply [B4h] command followed by a “read time slot”. During the read time slot, parasite powered DS18B20s will pull the bus low, and externally powered DS18B20s will let the bus remain high. If the bus is pulled low, the master knows that it must supply the strong pullup on the 1-Wire bus during temperature conversions.
八. 64-BIT LASERED ROM CODE
Each DS18B20 contains a unique 64–bit code (see Figure 6) stored in ROM. The least significant 8 bits of the ROM code contain the DS18B20’s 1-Wire family code: 28h. The next 48 bits contain a unique serial number. The most significant 8 bits contain a cyclic redundancy check (CRC) byte that is calculated from the first 56 bits of the ROM code. A detailed explanation of the CRC bits is provided in the CRC GENERATION section. The 64-bit ROM code and associated ROM function control logic allow the DS18B20 to operate as a 1-Wire device using the protocol detailed in the 1-WIRE BUS SYSTEM section of this datasheet.
九. MEMORY
The DS18B20’s memory is organized as shown in Figure 7. The memory consists of an SRAM scratchpad with nonvolatile EEPROM storage for the high and low alarm trigger registers (TH and TL) and configuration register. Note that if the DS18B20 alarm function is not used, the TH and TL registers can serve as general-purpose memory. All memory commands are described in detail in the DS18B20 FUNCTION COMMANDS section. Byte 0 and byte 1 of the scratchpad contain the LSB and the MSB of the temperature register, respectively. These bytes are read-only. Bytes 2 and 3 provide access to TH and TL registers. Byte 4 contains the configuration register data, which
基于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的温度控制系统设计_中英文献翻译_能源/化工_工程科技_专业资料。...大学 毕业论文(设计) 外文文献翻译 申请学位: 工学学士学位 院专姓系: 学院 ...
热门文档