DS18B20单片机中英文对照外文翻译文献.docx

上传人:b****5 文档编号:2771399 上传时间:2022-11-15 格式:DOCX 页数:18 大小:150.38KB
下载 相关 举报
DS18B20单片机中英文对照外文翻译文献.docx_第1页
第1页 / 共18页
DS18B20单片机中英文对照外文翻译文献.docx_第2页
第2页 / 共18页
DS18B20单片机中英文对照外文翻译文献.docx_第3页
第3页 / 共18页
DS18B20单片机中英文对照外文翻译文献.docx_第4页
第4页 / 共18页
DS18B20单片机中英文对照外文翻译文献.docx_第5页
第5页 / 共18页
点击查看更多>>
下载资源
资源描述

DS18B20单片机中英文对照外文翻译文献.docx

《DS18B20单片机中英文对照外文翻译文献.docx》由会员分享,可在线阅读,更多相关《DS18B20单片机中英文对照外文翻译文献.docx(18页珍藏版)》请在冰豆网上搜索。

DS18B20单片机中英文对照外文翻译文献.docx

DS18B20单片机中英文对照外文翻译文献

中英文对照外文翻译文献

TheintroductiontoTheDS18B20

1.DESCRIPTION

TheDS18B20digitalthermometerprovides9-bitto12-bitCelsiustemperaturemeasurementsandhasanalarmfunctionwithnonvolatileuserprogrammableupperandlowertriggerpoints.TheDS18B20communicatesovera1-Wirebusthatbydefinitionrequiresonlyonedatalineforcommunicationwithacentralmicroprocessor.Ithasanoperatingtemperaturerangeof-55°Cto+125°Candisaccurateto±0.5°Covertherangeof-10°Cto+85°C.Inaddition,theDS18B20canderivepowerdirectlyfromthedataline(“parasitepower”),eliminatingtheneedforanexternalpowersupply.

EachDS18B20hasaunique64-bitserialcode,whichallowsmultipleDS18B20stofunctiononthesame1-Wirebus.Thus,itissimpletouseonemicroprocessortocontrolmanyDS18B20sdistributedoveralargearea.ApplicationsthatcanbenefitfromthisfeatureincludeHVACenvironmentalcontrols,temperaturemonitoringsystemsinsidebuildings,equipment,ormachinery,andprocessmonitoringandcontrolsystems.

2.FEATURES

●Unique1-Wire®InterfaceRequiresOnlyOnePortPinforCommunication

●EachDevicehasaUnique64-BitSerialCodeStoredinanOn-BoardROM

●Multi-dropCapabilitySimplifiesDistributedTemperature-SensingApplications

●RequiresNoExternalComponents

●CanBePoweredfromDataLine;PowerSupplyRangeis3.0Vto5.5V

●MeasuresTemperaturesfrom-55°Cto+125°C(-67°Fto+257°F)

●±0.5°CAccuracyfrom-10°Cto+85°C

●ThermometerResolutionisUserSelectablefrom9to12Bits

●ConvertsTemperatureto12-BitDigitalWordin750ms(Max)

●User-DefinableNonvolatile(NV)AlarmSettings

●AlarmSearchCommandIdentifiesandAddressesDevicesWhoseTemperatureisOutsideProgrammedLimits

●SoftwareCompatiblewiththeDS1822

●ApplicationsIncludeThermostaticControls,IndustrialSystems,ConsumerProducts,Thermometers,orAnyThermallySensitiveSystem

3.OVERVIEW

Figure1showsablockdiagramoftheDS18B20,andpindescriptionsaregiveninthePinDescriptiontable.The64-bitROMstoresthedevice’suniqueserialcode.Thescratchpadmemorycontainsthe2-bytetemperatureregisterthatstoresthedigitaloutputfromthetemperaturesensor.Inaddition,thescratchpadprovidesaccesstothe1-byteupperandloweralarmtriggerregisters(THandTL)andthe1-byteconfigurationregister.Theconfigurationregisterallowstheusertosettheresolutionofthetemperatureto-digitalconversionto9,10,11,or12bits.TheTH,TL,andconfigurationregistersarenonvolatile(EEPROM),sotheywillretaindatawhenthedeviceispowereddown.

TheDS18B20usesMaxim’sexclusive1-Wirebusprotocolthatimplementsbuscommunicationusingonecontrolsignal.Thecontrollinerequiresaweakpullupresistorsincealldevicesarelinkedtothebusviaa3-stateoropen-drainport(theDQpininthecaseoftheDS18B20).Inthisbussystem,themicroprocessor(themasterdevice)identifiesandaddressesdevicesonthebususingeachdevice’sunique64-bitcode.Becauseeachdevicehasauniquecode,thenumberofdevicesthatcanbeaddressedononeDS18B20busisvirtuallyunlimited.The1-Wirebusprotocol,includingdetailedexplanationsofthecommandsand“timeslots,”iscoveredinthe1-WireBusSystemsection.

AnotherfeatureoftheDS18B20istheabilitytooperatewithoutanexternalpowersupply.Powerisinsteadsuppliedthroughthe1-WirepullupresistorviatheDQpinwhenthebusishigh.Thehighbussignalalsochargesaninternalcapacitor(CPP),whichthensuppliespowertothedevicewhenthebusislow.Thismethodofderivingpowerfromthe1-Wirebusisreferredtoas“parasitepower.”Asanalternative,theDS18B20mayalsobepoweredbyanexternalsupplyonVDD.

Figure1.DS18B20BlockDiagram

4.OPERATION—MEASURINGTEMPERATUR

ThecorefunctionalityoftheDS18B20isitsdirect-to-digitaltemperaturesensor.Theresolutionofthetemperaturesensorisuser-configurableto9,10,11,or12bits,correspondingtoincrementsof0.5°C,0.25°C,0.125°C,and0.0625°C,respectively.Thedefaultresolutionatpower-upis12-bit.TheDS18B20powersupinalow-poweridlestate.ToinitiateatemperaturemeasurementandA-to-Dconversion,themastermustissueaConvertT[44h]command.Followingtheconversion,theresultingthermaldataisstoredinthe2-bytetemperatureregisterinthescratchpadmemoryandtheDS18B20returnstoitsidlestate.IftheDS18B20ispoweredbyanexternalsupply,themastercanissue“readtimeslots”(seethe1-WireBusSystemsection)aftertheConvertTcommandandtheDS18B20willrespondbytransmitting0whilethetemperatureconversionisinprogressand1whentheconversionisdone.IftheDS18B20ispoweredwithparasitepower,thisnotificationtechniquecannotbeusedsincethebusmustbepulledhighbyastrongpullupduringtheentiretempe

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 外语学习 > 英语考试

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1