温度传感器DS18B20_外文翻译.doc

【机械类毕业论文中英文对照文献翻译】DS18B20单总线数字温度计【word英文1045字4页word中文翻译1432字3页】

收藏

压缩包内文档预览:
预览图 预览图 预览图 预览图
编号:77686522    类型:共享资源    大小:62.02KB    格式:RAR    上传时间:2020-05-07 上传人:柒哥 IP属地:湖南
6
积分
关 键 词:
机械类毕业论文中英文对照文献翻译 word英文1045字4页,word中文翻译1432字3页 机械类 毕业论文 中英文 对照 文献 翻译 DS18B20 总线 数字 温度计 word 英文 1045 中文翻译
资源描述:
【机械类毕业论文中英文对照文献翻译】DS18B20单总线数字温度计【word英文1045字4页word中文翻译1432字3页】,机械类毕业论文中英文对照文献翻译,word英文1045字4页,word中文翻译1432字3页,机械类,毕业论文,中英文,对照,文献,翻译,DS18B20,总线,数字,温度计,word,英文,1045,中文翻译
内容简介:
第2页 DS18B20单总线数字温度计1、DS18B20的特性(1) 独特的单总线接口只占用一个I/O端口,而无需外围元件;(2) 可以由总线提供电源,电压适用范围为3.0V5.5V;(3) 测量温度范围为-55+125,在-10+85范围内精度为0.5; (4) 每个DS18B20含有一个唯一的64位ROM编码;(5) 用户可以通过编程实现912位的温度分辨率;(6) 分辨率为12时最大转换时间为750ms;(7) 报警搜索命令可识别哪片DS18B20温度超限;(8) 采用3脚T0-92或8脚SOIC封装。2、DS18B20的内部结构DS18B20的内部结构如图1所示。主要包括:寄生电源、温度传感器、64位激光ROM和单总线接口、存放中间数据的高速暂存器RAM、用于存储用户设定温度上下限值的TM和TL触发器、存储和控制逻辑、8位循环冗余校验码发生器等。温度转换为数的改变时通过改变寄存器的值来实现的,用户可以根据需要将DS18B20的温度转化位数设置为9,10,11,12位。温度报警触发器的设置寄存器都由非易失性电可擦写存储器(EEROM)组成,设置值可以通过相应命令写入,一旦写入后不会因为掉电而丢失。图1 DS18B20 的结构框图3、DS18B20的各个ROM命令(1)Search ROM 0F0H当一个系统初次启动时,总线控制器可能并不知道单线总线上有多少器件或它们的64位ROM编码。搜索ROM命令允许总线控制器用排除法识别总线上的所有从机的64位编码。(2)Read ROM 33H这个命令允许总线控制器读到DS18B20的8位系列编码、唯一的序列号和8位CRC码。只有在总线上存在单只DS18B20的时候才能使用这个命令。如果总线上有不止一个从机,当所有从机试图同时传送信号时就会发生数据冲突。(3) Match ROM 55H这个是匹配ROM命令,后跟64位ROM序列,让总线控制器在多点总线上定位一只特定的DS18B20。只有和64位ROM序列完全匹配的DS18B20才能响应随后的存储器操作。所有和64位ROM序列不匹配的从机都将等待复位脉冲。这条命令在总线上有单个或多个器件时都可以使用。(4)Skip ROM 0CCH 这条命令允许总线控制器不用提供64位ROM编码就使用存储器操作命令,在单点总线情况下,可以节约时间。如果总线上不止一个从机,在Skip ROM命令之后跟着发一条读命令,由于多个从机同时发送信号。总线上就会发生数据冲突。(5)Alarm Search 0ECH 这条命令的流程和Search ROM相同。然而,只有在最近一次测温后遇到符合报警条件的情况,DS18B20才会响应这条命令。报警条件定义为温度高于TH或温度低于TL。只要DS18B20不掉电,报警状态将一直保持,直到再一次测得的温度值达不到报警条件。(6)Convert T 44H 这条命令启动一次温度转换无需其它数据。温度转换命令被执行,而后DS18B20保持等待状态。如果总线控制器在这条命令之后跟着发出时间隙,而DS18B20又忙于做时间转换的话,DS18B20将在总线上输出0,若温度转换完成,则输出1。如果使用寄生电源,总线控制器必须在发出这条命令后立即启动强上拉,并保持500ms以上的时间。(7)Write Scratchpad 4EH 这条命令向DS18B20的暂存器TH和TL中写入数据。可以在任何时候发出复位命令来中止写入。(8)Read Scratchpad 0BEH这个命令读暂存器的内容。读取从第1个字节开始,一直进行下去,直到9(CRC)字节读完。如果不想读完所有字节,控制器可以在任何时候发出复位命令来中止读取。(9)Copy Scratchpad 48H 这个命令把暂存器的内容拷贝到DS18B20的EEPROM存储器里,即把温度报警触发字节存入非易失性存储器里。如果总线控制器在这条命令之后跟着发出读时间隙,而DS18B20又忙于把存储器拷贝到EEROM存储器,DS18B20就会输出一个0,如果拷贝结束的话,DS18B20则输出1。如果使用寄生电源,总线控制器必须在这条命令发出后立即启动强上拉并最少保持10ms。 (10)Recall E2 0B8H这条命令把报警触发器里的值拷贝回暂存器。这种拷贝操作在DS18B20上电时自动执行,这样器件一上电暂存器里马上就存在有效数据了。若在这条命令之后发出数据隙,器件会输出温度转换忙的标识:0为忙 ,1为完成。 第 3 页 DS18B20 Programmable Resolution 1-Wire Digital Thermometer1、DS18B20 FEATURES(1)Unique 1-Wire interface requires only one Port pin for communication, requires no external components (2)Each device has a unique 64-bit serial code stored in an onboard ROM(3)Can be powered form data line .Power supply range is 3.0Vto 5.5V(4)Measures temperatures form -55 to +125 , 0.5 accuracy from -10 to +85 (5)Thermometer resolution is user-selected from 9 to 12 bits(6)Converts temperature to 12-bit digital word in 750ms (max)(7)Alarm search command identifies and addresses devices whose temperature is outside of programmed limits (temperature alarm condition)(8) Available in 8-pin SOIC, and 3-bin TO -92 packages2、DS18B20 BLOCK DIAFRAMFigure 1 shows a block diagram of the DS18B20, The 64-bite ROM stores the devices serial code. The scratchpad memory contains the 2-byte temperature egister that stores the digital output from the temperature sensor. In addition, the scratchpad provides access to the 1-byte upper and lower alarm trigger register (TH and TL), and the 1-byte configuration register. The configuration register allows the user to set the resolution of the 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. Figure 1 block diagram of the DS18B203、DS18B20 ROM COMMANDS(1) SEARCH ROM 0F0H When a system is initially powered up, the master must identify the ROM codes of all slave devices on the bus, which allows the master to determine the number of slaves and their device types. The master learns the ROM codes through a process of elimination that requires the master to perform a Search ROM cycle as many times as necessary to identify all of the slaves 64-bit ROM devices.(2) READ ROM 55HThis command can only be used when there is one slave on the bus. It allows the bus master to read the slave64-bit ROM code without using the Search ROM procedure. If this command is used when there is more than one slave present on the bus, a data collision will occur when all the slaves attempt to respond at the same time.(3)MATCH ROM 55HThe match ROM command followed by a 64-bit ROM code sequence allows the bus master to address a specific DS18B20 on a multi drop or single-drop bus. Only the DS18B20 that exactly matches the 64-bit ROM code sequence will respond to the function command issued by the master; all other slaves on the bus will wait for a reset pulse.(4)SKIP ROM 0CCHThe master can use this command to address all devices on the bus simultaneously without sending out any ROM code information. Note that the Read Scratchpad command can follow the Skip ROM command only if there is a single slave device on the bus. In this case time is saved by allowing the master to read from the slave without sending the devices 64-bit ROM code. A Skip ROM command followed by a Read Scratchpad command will cause a data collision on the bus if there is more than one slave since multiple devices will attempt to transmit data simultaneously.(5)ALARM SEARCH 0ECHThe operation of this command is identical to the operation of the Search ROM command except that only slaves with a set alarm flag will respond .This command allows the master device to determine if any DS18B20s experienced an alarm condition during the most recent temperature conversion .Refer to the OPERATION-ALARM SIGNAING section for an explanation of alarm flag operation.(6)CONVERTT 44HThis command initiates a single temperature conversion. Following the conversion, the resulting thermal data is stored in the 2-bute temperature register in the scratchpad memory and the DS18B20 returns to its low-power idle state. If the device is being used in parasite power mode, within 10us after this command is issued the master must enable a strong pullup on the 1-Wire bus for the duration of the conversion as described in the POWERING THE DS18320 section. If the DS18B20 is powered by an external supply, the master can issue read time slots after the Convert T command and the DS18B20 will respond by transmitting a 0 while the temperature conversion is in Progress and a 1 when the conversion is done. In parasite power mode this notification technique cannot be used since the bus1 is pulled high by the strong pullup during the conversion.(7)WRITE SCRACHPAD 4EHThis command allows the master to write 3 bytes of the data to the DS18B20s scratchpad. The first data byte is writer into the TH register , the second byte is written into the TL register, and the third byte is written into the configuration register. Data must be transmitted least significant bit first. All three bytes must be written before the master issues a reset ,or the data may be corrupted.(8)READ SCRACHPAD 0BEHThis command allows the master to read the contents of the scratchpad .The data transfer starts with the least significant bit of byte 0 and continues through the scratchpad until 9 byte(byte 8-CRC) is read.The master may issue a reset to terminate reading at any time if only partof the scratchpad data is needed.(9) COPY SCRATCHPAD 48HThis command copies the contents of the
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
提示  人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:【机械类毕业论文中英文对照文献翻译】DS18B20单总线数字温度计【word英文1045字4页word中文翻译1432字3页】
链接地址:https://www.renrendoc.com/p-77686522.html

官方联系方式

2:不支持迅雷下载,请使用浏览器下载   
3:不支持QQ浏览器下载,请用其他浏览器   
4:下载后的文档和图纸-无水印   
5:文档经过压缩,下载后原文更清晰   
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

网站客服QQ:2881952447     

copyright@ 2020-2025  renrendoc.com 人人文库版权所有   联系电话:400-852-1180

备案号:蜀ICP备2022000484号-2       经营许可证: 川B2-20220663       公网安备川公网安备: 51019002004831号

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知人人文库网,我们立即给予删除!