ds18b20中英文资料.docx
- 文档编号:3260186
- 上传时间:2022-11-21
- 格式:DOCX
- 页数:12
- 大小:31.52KB
ds18b20中英文资料.docx
《ds18b20中英文资料.docx》由会员分享,可在线阅读,更多相关《ds18b20中英文资料.docx(12页珍藏版)》请在冰豆网上搜索。
ds18b20中英文资料
FEATURES
_Unique1-Wireinterfacerequiresonlyoneportpinforcommunication
_Eachdevicehasaunique64-bitserialcodestoredinanonboardROM
_Multidropcapabilitysimplifiesdistributedtemperaturesensingapplications
_Requiresnoexternalcomponents
_Canbepoweredfromdataline.Powersupplyrangeis3.0Vto5.5V
_Measurestemperaturesfrom–55°Cto+125°C(–67°Fto+257°F)_0.5_Caccuracyfrom–10°Cto+85°C
_Thermometerresolutionisuser-selectablefrom9to12bits
_Convertstemperatureto12-bitdigitalwordin750ms(max.)
_User-definablenonvolatile(NV)alarmsettings
_Alarmsearchcommandidentifiesandaddressesdeviceswhosetemperatureis
outsideofprogrammedlimits(temperaturealarmcondition)
_Availablein8-pinSO(150mil),8-pin_SOP,and3-pinTO-92packages
_SoftwarecompatiblewiththeDS1822
_Applicationsincludethermostaticcontrols,industrialsystems,consumerproducts,
thermometers,oranythermallysensitive
特征:
独特的单线接口,只需1个接口引脚即可通信
每个设备都有一个唯一的64位串行代码存储在光盘片上
多点能力使分布式温度检测应用得以简化
不需要外部部件
可以从数据线供电,电源电压范围为3.0V至5.5V
测量范围从-55°C至+125°C(-67°F至257°F),从-10℃至+85°C的精度为0.5°C温度计分辨率是用户可选择的9至12位
转换12位数字的最长时间是750ms
用户可定义的非易失性的温度告警设置
告警搜索命令识别和寻址温度在编定的极限之外的器件(温度告警情况)
采用8引脚SO(150mil),8引脚SOP和3引脚TO-92封装
软件与DS1822兼容
应用范围包括恒温控制工业系统消费类产品温度计或任何热敏系统
DESCRIPTION
TheDS18B20DigitalThermometerprovides9to12–bitcentigradetemperaturemeasurementsandhasanalarmfunctionwithnonvolatileuser-programmableupperandlowertriggerpoints.TheDS18B20communicatesovera1-Wirebusthatbydefinitionrequiresonlyonedataline(andground)forcommunicationwithacentralmicroprocessor.Ithasanoperatingtemperaturerangeof–55°Cto+125°Candisaccurateto_0.5_Covertherangeof–10°Cto+85°C.Inaddition,theDS18B20canderivepowerdirectlyfromthedataline(“parasitepower”),eliminatingtheneedforanexternalpowersupply.
EachDS18B20hasaunique64-bitserialcode,whichallowsmultipleDS18B20stofunctiononthesame1–wirebus;thus,itissimpletouseonemicroprocessortocontrolmanyDS18B20sdistributedoveralargearea.ApplicationsthatcanbenefitfromthisfeatureincludeHVACenvironmentalcontrols,temperaturemonitoringsystemsinsidebuildings,equipmentormachinery,andprocessmonitoringandcontrolsystems.
简介
该DS18B20的数字温度计提供9至12位的摄氏温度测量,并具有与非易失性用户可编程上限和下限报警功能。
信息单线接口送入DS1820或从DS1820送出,因此按照定义只需要一条数据线(和地线)与中央微处理器进行通信。
它的测温范围从-55°C到+125°C,其中从-10°C至+85°C可以精确到0.5°C。
此外,DS18B20可以从数据线直接供电(“寄生电源”),从而消除了供应需要一个外部电源。
每个DS18B20的有一个唯一的64位序列码,它允许多个DS18B20s的功能在同一1-巴士线,因此,用一个微处理器控制大面积分布的许多DS18B20s是非常简单的。
此特性的应用范围包括HVAC、环境控制、建筑物、设备或机械内的温度检测以及过程监视和控制系统。
OVERVIEW
Figure1showsablockdiagramoftheDS18B20,andpindescriptionsaregiveninTable1.The64-bitROMstoresthedevice’suniqueserialcode.Thescratchpadmemorycontainsthe2-bytetemperatureregisterthatstoresthedigitaloutputfromthetemperaturesensor.Inaddition,thescratchpadprovidesaccesstothe1-byteupperandloweralarmtriggerregisters(THandTL),andthe1-byteconfigurationregister.Theconfigurationregisterallowstheusertosettheresolutionofthetemperature-to-digitalconversionto9,10,11,or12bits.TheTH,TLandconfigurationregistersarenonvolatile(EEPROM),sotheywillretaindatawhenthedeviceispowereddown.
TheDS18B20usesDallas’exclusive1-Wirebusprotocolthatimplementsbuscommunicationusingonecontrolsignal.Thecontrollinerequiresaweakpullupresistorsincealldevicesarelinkedtothebusviaa3-stateoropen-drainport(theDQpininthecaseoftheDS18B20).Inthisbussystem,themicroprocessor(themasterdevice)identifiesandaddressesdevicesonthebususingeachdevice’sunique64-bitcode.Becauseeachdevicehasauniquecode,thenumberofdevicesthatcanbeaddressedononebusisvirtuallyunlimited.The1-Wirebusprotocol,includingdetailedexplanationsofthecommandsand“timeslots,”iscoveredinthe1-WIREBUSSYSTEMsectionofthisdatasheet。
AnotherfeatureoftheDS18B20istheabilitytooperatewithoutanexternalpowersupply.Powerisinsteadsuppliedthroughthe1-WirepullupresistorviatheDQpinwhenthebusishigh.Thehighbussignalalsochargesaninternalcapacitor(CPP),whichthensuppliespowertothedevicewhenthebusislow.Thismethodofderivingpowerfromthe1-Wirebusisreferredtoas“parasitepower.”Asanalternative,theDS18B20mayalsobepoweredbyanexternalsupplyonVDD.
综述
图1显示了DS18B20的框图,引脚说明如表1。
64位ROM存储设备的独特序号。
存贮器包含2个字节的温度寄存器,它存储来自温度传感器的数字输出。
此外,暂存器可以访问的1个字节的上下限温度告警触发器(TH和TL)和1个字节的配置寄存器。
配置寄存器允许用户设置的温度到数字转换的分辨率为9,10,11或12位。
TH,TL和配置寄存器是非易失性的,因此掉电时依然可以保存数据。
该DS18B20使用Dallas的单总线协议,总线之间的通信用一个控制信号就可以实现。
控制线需要一个弱上拉电阻,因为所有的设备都是通过3线或开漏端口连接(在DS18B20中用DQ引脚)到总线的。
在这种总线系统中,微处理器(主设备)和地址标识上使用其独有的64位代码。
因为每个设备都有一个唯一的代码,一个总线上连接设备的数量几乎是无限的。
单总线协议,包括详细的解释命令和“时间槽”,此资料的单总线系统部分包括这
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ds18b20 中英文 资料
![提示](https://static.bdocx.com/images/bang_tan.gif)