下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、.The digital temperature sensor of DS18B20The digital temperature sensor of DS18B20, This product uses theAmerican DALLAScompanys DS18B20network digitaltemperaturesensor chippackage. but become wear-resistant touch, the physical volume is small, convenient, packaging form is varied , Suitable for al
2、l kinds of narrowspace in digital temperature test and control field equipment.Unique 1-Wire TMinterfacerequires onlyone port pin forcommunication.Multidropcapabilitysimplifiesdistributedtemperaturesensingapplications, requires no external components, Can be powered from dataline. Power supply range
3、 is 3.0V to 5.5V, Zero standby power required,Measures temperatures from - 55C to+125 C. Fahrenheit equivalent is- 67F to+257 F,0.5C accuracy from -10C to +85 C, Thermometerresolutionisprogrammable from 9 to12 bits,Converts 12-bit temperaturetodigitalword in750ms (max.).User-definable,nonvolatiletem
4、peraturealarm settings, Alarm search command identifies and addresses deviceswhose temperature is outside of programmed limits (temperature alarmcondition).Applicationsincludethermostaticcontrols,industrialsystems, consumer products, thermometers, or any thermally sensitivesystem.1、the description o
5、ftechnique function:1)Single-lineinterfaceis unique,DS18B20 whilelinkingwithmicroprocessor only need a line can immediately carry out the doubleof microprocessor and DS18B20 toward the communication.2)measure scope- 55 +125 , proper measure resolutions 0.5 .3)support severalset netsfunction,severalD
6、S18B20can merge at uniquethreeon-line,the most can merge 8,ifamount was excessive,itwouldmake power supplythepower electricvoltageover low,resultinthusthe signal delivers of unsteady, the realizations order to measure more4) work the power:35V|DC5) dont need any outer circle component in the use6) m
7、easure the result measure a way string with 912 numbers linetransmission7) stainless steels protect to take care of diameter 68) be applicable to DN1525, DN40 DN250 various equipments that lie industrial piping of quality and narrow and small space measure9)standardsinstallthe threadM10 X1, M12 X1.5
8、, the G 1|2 term chooses.10) PVCelectriccable directthe lineor virtuoustype balltype connectline box line, the easy to and other electric appliances equipmentslinks.2、Application1) products are applicable to cold storage, food Cang, keep a bottle, tele-communications engine room, electric power engi
9、ne room, cable slot etc. measures moderate control realm2) stalk tiles, urn body, the Fang machine, the air condition, waitsindustrialequipments of narrow and small space to measure a moderatecontrol.3)caraircondition,refrigerator,coldcabinet,andmedium lowtemperature dry box of etc.s.4) provide hot|
10、make cold piping calories to calculate, the central aircondition divides a thermal energy to calculate to measure a moderate control with industrial realm3、Product model number and specificationtypetemperatureinstallelectriccableapplyrangethreadlengthpipingTS-18B20-55125no1.5 mTS-18B20A-55125M10X11.
11、5mDN1525TS-18B20B-551251/2GConnects line boxDN40 604、Connect line instructionThe characteristics special front line connects, needs a line tocorrespond by letter to order more ability and simplified a distributetype the temperature spread the feeling application didnt need an external component to u
12、se data total line power supply, the electric voltage scope has never needed to provide for use the power diagraphtemperature scope for the 3.0-5.5 Vs BE-55 to+125 .The Fahrenheitis equal hence-67-257 Fahrenheitdegree- 10 go to+85 accuracy insidethe scope is0.5 The temperaturespreads a feelingmachin
13、esprogrammable resolutionto convertinto12 number formatsfor912 temperaturesbiggestbe worth.to 750 a milli- of second the customer can define of not and easily losesex temperature to report to the police to establish an application toincludeaconstanttemperaturecontrol,industrialsystem,consumeelectron
14、ics product thermometer, or any hot sensitive systemThe number thermometer that describes the DS18B20 provides 9-12(theprogrammable equipments temperature read a number. The information isdisheveled hair to send to connect through a line from the DS18B20, socentralmicroprocessorand DS18B20only have
15、a per lineconjunction.Forread and write and thetemperatureconversioncan acquireenergyfrom thedata line, dont need to circumscribe the power. Because each DS18B20includesa special ordinalnumber, severalds 18 bs 20 seses can be existedto a total line at the same time. This makes the temperature spread
16、 afeeling machine to place in many different places. Its use is a lot of,include an air condition environment control, detect equipments insidethe building or machine, and carry on process monitor and control.TheDS18B20 internalstructuremainlyconstitutestofromthefour-partcent:64 temperaturesthat onl
17、yengrave ROMand temperaturetospread a feelingmachine and dontvaporizereporttothe policetotriggera machine TH and TL and allocation to deposit a machine. While equipingsignal line Gao, the internalcapacitorstores anenergy from a line andcorrespondsbylettercircuittothefilmpowersupply,andatlowelectrici
18、tyeven periodforfilmpower supplyuntilnextGao Dian Pingsarrivalrefreshes.The power of theDS18B20can also.5Velectricvoltagesget from 3 Vs-5s in the exterior.The DS18B20adopts frontlinecorrespondencetoconnect.Because thefront linecorrespondenceconnects,havetopreviouslycompleteROMenactment,otherwise mem
19、oryand controlfunctionwillcan notuse. Mainlyprovide following function to order any first of a:1) read ROM2) ROM match3) search ROM4) jump ROM5) report to the police a check.These instructionoperationthe functionhas no 64 sequences that only.engrave ROM of a spare part, can be hanging several spare
20、parts on thefront line to make selection a certain spare part, at the same time, thetotal line can also know always on-line hang how much, what kind ofequipments.IftheinstructionsuccessfullymakestheDS18B20 completiontemperaturemeasure, the data saves inthesaving machine of DS18B20.Theperformanceofa
21、controlfunctionconductordesignationDS18B20measures.Measure resultwill be placedintheDS18B20memories, and can letreadingto send out the conductor of remembering the function, reading contentsof sliceascend savingmachine. The temperaturereportsto the policetotrigger machine TH and TLs to all have one
22、word stanza EEPROM data. IfDS18B20 not the use report to the police to check instruction, thesedeposit a machine to be a general customer to remember use. Still carryto there is allocation words the stanza converting by ideal solutiontemperaturenumber on the slice.WriteTH, TL instructionand allocati
23、onword stanzamakes use of instructioncompletionthat remembers function.Pass toslowlysave a machine toread todeposita machine. All datasreadwriting all a beginning from the lowest.The DS18B20 has 4 main data parts:1、onlyengrave 64 sequences inROMare what factoryfrontbe onlyengravedlikes, it can see m
24、ake the address sequence that is the DS18B20 code.64alignments that only engrave ROM are: Starting 8(28 Hs) is the producttype mark number, immediatelyafter of 48 sequencesthat is theDS18 B20oneself, last 8 is 56 front circulating redundancy schools to checkcode.(CRC=X 8+ Xs 5+ Xs 4+s 1)The function
25、 that only engraves ROM is tomake each DS18B20 all each not same, so can carry out a purpose that isalways on-line to hang to connect several DS18 B20s.2、the temperature in the DS18B20 spread a feeling machine to completethe diagraph to the temperature and take 12 conversions as an example:The binar
26、y system expanding with 16 signs repairs code to read to counta form to provide, with 0.0625 |the LSB form express, among them, theS is a sign.The saving machine of DS18B20 includes high speed to temporary save machine RAM and can give or get an electric shock to wipe in addition to.RAM,can give org
27、etan electricshock towipe in additiontoRAMincludestemperatureto triggermachine TH and TL again, and an allocationdepositsa machine.Savingmachine abilitytheintegrityreallysettlethecommunication of front-line port, the number starts using to write theorder ofdepositingthemachinetowriteintodepositamach
28、ine,immediately after can also use order of reading to deposit the machineto confirm these numbers. After confirming can use the order that thereplication deposits a machinecan give orget an electricshock to wipeto transfer thesenumbers to in additionto RAM in. While once modifyingto depositthe numb
29、er in the machine, thisprocess can ensure theintegrityof number.The high speed temporary saves machine RAM to constitute tofromthesavingmachine of8 word stanzas;The firstand the second word stanzaaretemperaturestoshow.ThefourthSha-ho word stanzaistomakeduplicate TH and TL, at the same time the fourt
30、h Sha-ho number of wordstanza can renew; The fifth word stanza is to make duplicate allocationto deposit a machine, the fifth number of word stanza can renew at thesame time;6, 7, 8, three word stanzas are calculator oneself use. Usingreads thatthe orderthat deposita machine can read the ninthword s
31、tanza,this word stanza is eight word stanzas to the front to carry on schoolsto check.64 8 ex- oneself codes that is a DS18B20 that only engrave ROM, next48 are a continuousnumber code, 8 of end isto 56 ex- ofthe CRC schoolscheck.64-the light of engrave ROM and include the function order of 5 ROMs:R
32、ead ROM, match ROM, jump up ROM, check to seek ROM and report to the police to check to seek.The DS18B20 can use external power VDD as well as use the power in the living on of inner part. When the VDD port connects the electric voltage with 3.0 Vs Vs-5.5ses is use external power; When the VDD port
33、connects ground used the power in the living on of inner part. No matter is an inner part to live on the power or an external power supply, I|theO linewant to connect a 5 K to or soly and up pullelectricresistance.Allocations depositing a machine is the conversion that installsdifferent number to ma
34、ke sure temperature and number.R1, theR0 is thedecisionoftemperature,fromthe R1, the differentcombinationofR0 can installfor9,10,11, 12 temperaturesshow. So canknow a differenttemperature conversionto should ofconversion time,fourkinds of resolutions of allocations distinguish to 0.5 , 0.25 ,0.125 a
35、nd 0.0625 , factory take installing as 12.DS18B20atfactory with installfor12, read temperaturetotallyread16, so the empress is 112 enter make to convert into 10 enter make afteratmultiply0.0625 isthen measure of temperature,also need to be judgedplus or minus. Front 5 piece words are signs, current
36、5 is 1:00, read oftemperature is minus quantity;5 is 0:00, read at present of temperatureis plus quantity.16 numbers put from low to Gao Wei.The instruction agrees on code operating instructions:1)The temperatureconvertsthe44H startDS18B20 tocarryon atemperature conversion2) Read to temporary save m
37、achine BEH to read to temporary save machine 9 word stanza contentses3)Write temporary and save the machine 4 EHs to write in a data temporary TH of saving the machine and TL word stanza4) The replication temporary saves the machine 48 Hs temporary save the TH of machine and TL word stanza to write
38、E2 RAM5) Re- adjust the E2 RAM B8s Hs write the E2 TH within RAMs and TL word stanza to arrive to temporary save machine TH and TL word stanza and read that the signal that the B4 H start DS18B20 of the power supply method sends out the power supply method gives lord CPUThe beginning of DS18B20 star
39、ts to turn.1) place data line first Gao Dian Ping1.2) postpone(what the time request isnt very strict, but possibly a little bit shorter)3) the data line pull a low electricity even0.4) postpone 750.(the horary time scope can from 480-960)5) the data line pull Gao Dian Ping1.6)wait for while postpon
40、ing(if is early to start to becomean achievement then in 15-60 time inside produce a low electricity that is returnedby the DS18 B20 even0.Can make sure its existence according to the.status,but should noticecan not be infinitelycarryon waitingfor,otherwisewillmake procedure get intoto die circulati
41、ng,so controlwhile wanting to carry on to be super).7) if CPU read the data is on-line low to give or get an electric shock even0 after, while also needing to do to postpone time for it topostpones from send out of GaoDian Ping start to calculate to at least want 480.8) pull data line again Gao Dao
42、Gao to end after giving or getting an electric shock is even1.As the simple structure, convenient installment, low loss and widerange of temperature test, DS18B20 temperature test sensors are appliedto the fields which needs the multipoint temperature test, such as thechemical industry, the grain, t
43、he environment supervision and so on.Because of the adoptionof one bus inthe DS18B20 multipointtemperaturetest system, all DS18B20 are hung on one bus, and then the temperatureconversion value of each test point is read by turns. As the conversionvalue must be readafter reading-pinstate for 8 times,
44、 and positionandstore data must be moved, so time spend much in reading one point of thedata system by everytime.Ifthe temperature test system islarge-scaled,the system loss caused by it is rather much, and then the alternate testspeed ofthe system decreases obviously,which influencestheefficiencyof
45、 the multipoint temperature test system seriously. In this paper,DS18B20 are hung on some I/O buses by grouping DS18B20 evenly, and theconversion temperature data is obtainedby readingthe stateofDS18B20,then the system loss decreases and the alternate test speed increasesobviously, which wont influe
46、nce theprecision and the reliability ofthe conversion.Asetofmultipointtemperaturetestofartificialenvironment laboratoryisachievedinthispaper, which increasesthe testefficiency of the former system.DS18B20 is the single bus digital temperature sensor from AmericanDallas Company. DS18B20 is consisted
47、of the 64 figures ROM engraved bylaser, the temperature sensitivity component, non-volatile temperaturealarmstrigger(DeviceTH andTL).DS18B20 communicateswiththe.microprocessor by the single bus port and the test range of DS18B20 isfrom -55 centigradeto +125 centigrade,and theincremental valueis 0.5c
48、entigrade.The temperature can be changed intofigureswithin720ms andeach DS18B20has the sole 64 figures serialnumber. The specificcontentis revealed as Fig 1: There are two 8 figures storages (No.0 and No.1)forstoringtemperaturevaluein DS18B20. No.0 storagestorescomplementofthe temperaturevalue,and N
49、o.1 storessymbols of thetemperature value.The user can definenon-volatiletemperaturealarms sets and distinguishthe alarms search order and seek the component temperature alarms stateoutside the scheduled limit. There are two alternative ways of power supply: Signal bus high-level borrow power is ado
50、pted, or the +5v power supply externally is adopted directly.DS-18B20 数字温度传感器DS-18B20 数字温度传感器,该产品采用美国DALLAS公司生产的 DS18B20可组网数字温度传感器芯片封装而成,具有耐磨耐碰,体积小,使用方便,封装形式多样,适用于各种狭小空间设备数字测温和控制领域。DS18B20数字温度传感器,具有3 引脚 TO92 小体积封装形式;温度测量范围为 55 125, 可编程为9 位 12 位 A/D 转换精度,测温分辨率可达0.0625 ,被测温度用符号扩展的16 位数字量的方式串行输出;其工作电源既
51、可在远端引入,也可采用寄生电源方式产生;多个DS18B20可以并联到 3 根或 2根线上, CPU只需一根端口线就能与诸多 DS18B20通信,占用微处理器的端口较少,可节省大量的引线和逻辑电路。 以上特点使 DS18B20非常适用于远距离多点温度检测系统。1、 技术性能描述:1) 独特的单线接口方式, DS18B20在与微处理器连接时仅需要一条口线即可实现微处理器与 DS18B20的双向通讯。2) 测温范围 55 125,固有测温分辨率 0.5 。3) 支持多点组网功能,多个 DS18B20可以并联在唯一的三线上,最多只能并联8 个,如果数量过多, 会使供电电源电压过低, 从而造成信号传输的不稳定,实现多点测温4) 工作电源 : 35V/DC5) 在使用中不需要任何外围元件6) 测量结果以 912
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 内科学临床技能痛风的中性粒细胞趋化因子课件
- 消化内科核心疾病肠扭转内镜治疗课件
- 2026年Java开发工程师技术面试问题集含答案
- 2026年县级自然资源局遴选试题含答案
- 2025年中职音乐教师技能测试题及答案
- 2026年目标管理与执行能力测评含答案
- 2026年新版FMEA综合测试模拟练习题含答案
- 2026年乡镇农业机械操作员招聘面试题库附详解
- 2026年法理学法理学易错知识点试题及答案
- 2026年安全B证塔吊日常检查题库含答案
- 广东省中山市2024-2025学年八年级上学期期末考试道德与法治试卷(含答案)
- 2025年湖南理工职业技术学院单招(计算机)测试模拟题库必考题
- DB32∕T 5188-2025 经成人中心静脉通路装置采血技术规范
- 白车身轻量化设计技术
- 华师 八年级 数学 下册《17.2 平行四边形的判定 》课件
- 主板维修课件
- 2025黑龙江大庆市工人文化宫招聘工作人员7人考试历年真题汇编带答案解析
- 2026中央纪委国家监委机关直属单位招聘24人考试笔试模拟试题及答案解析
- 2026年内蒙古化工职业学院单招职业适应性考试必刷测试卷附答案解析
- 财务数字化转型与业财数据深度融合实施路径方案
- 后勤保障医院运维成本智能调控
评论
0/150
提交评论