基于单片机ds18b20的数字温度计中英文献翻译内容摘要:
黄河科技学院毕业 论文 (文献翻译) 第 10 页 1Wire munication line by storing energy on an internal capacitor during periods of time when the signal line is high and continues to operate off this power source during the low times of the 1Wire line until it returns high to replenish the parasite (capacitor) supply. As an alternative, the DS18B20 may also be powered from an external 3 volt volt supply. DS18B20 BLOCK DIAGRAM Figure 1 Communication to the DS18B20 is via a 1Wire port. With the 1Wire port, the memory and control functions will not be available before the ROM function protocol has been established. The master must first provide one of five ROM function mands: 1) Read ROM, 2) Match ROM, 3) Search ROM, 4) Skip ROM, or 5) Alarm Search. These mands operate on the 64bit lasered ROM portion of each device and can single out a specific device if many are present on the 1Wire line as well as indicate to the bus master how many and what types of devices are present. After a ROM function sequence has been successfully executed, the memory and control functions are accessible and the master may then provide any one of the six memory and control function mands. One control function mand instructs the DS18B20 to perform a temperature measurement. The result of this measurement will be placed in the DS18B20’s scratchpad memory, and may be read by issuing a memory function mand which reads the contents of the scratchpad memory. The temperature alarm triggers TH and TL consist of 1 byte EEPROM each. If the alarm search mand is not applied to the DS18B20, these registers may be used as general purpose user memory. The scratchpad also contains a configuration byte to set the desired resolution of the temperature to digital conversion. Writing TH, TL, and 黄河科技学院毕业 论文 (文献翻译) 第 11 页 the configuration byte is done using a memory function mand. Read access to these registers is through the scratchpad. All data is read and written least significant bit first. 1WIRE BUS SYSTEM The 1Wire bus is a system which has a single bus master and one or more slaves. The DS18B20 behaves as a slave. The discussion of this bus system is broken down into three topics: hardware configuration, transaction sequence, and 1Wire signaling (signal types and timing). HARDWARE CONFIGURATION The 1Wire bus has only a single line by definition。 it is important that each device on the bus be able to drive it at the appropriate time. To facilitate this, each device attached to the 1Wire bus must have open drain or 3state outputs. The 1Wire port of the DS18B20 (DQ pin) is open drain with an internal circuit equivalent to that shown in Figure 9. A multidrop bus consists of a 1Wire bus with multiple slaves attached. The 1Wire bus requires a pullup The idle state for the 1Wire bus is high. If for any reason a transaction needs to be suspended, the bus MUST be left in the idle state if the transaction is to resume. Infinite recovery time can occur between bits so long as the 1Wire bus is in the inactive (high) state during the recovery period. If this does not occur and the bus is left low for more than 480 s, all ponents on the bus will be reset. HARDWARE CONFIGURATION TRANSACTION SEQUENCE 黄河科技学院毕业 论文 (文献翻译) 第 12 页。基于单片机ds18b20的数字温度计中英文献翻译
相关推荐
零或负电压时,三极管截止,电路输出高电平;而当输入信号为正电 压时,三极管导通,此时输出电压随着输入电压的上升而下降,这使得速度里程表既可以测量任意方波信号的频率,也可以测量正弦波信号的频率。 由于放大器的放大功能降低了对待测信号的幅度要求,因此,系统能对任意大于 弦波和脉冲信号进行测量。 预处理电路的第二级采用带施密特触发器的反相器 DM74LS14来把放大器生成的单相脉冲转换成与
斜率累加器 比较 低温度系数振荡器 计数器 1 温度寄存器 Tx 预置 =0 高温度系数振荡器 0 计数器 2 T1 加 1 停止 T2 5 64位 ROM的结构开始 8位是产品类型的编号,接着是每个器件的惟一的序号,共有 48 位,最后 8 位是前面 56 位的 CRC 检验码,这也是多个 DS18B20 可以采用一线进行通信的原因。 温度报警触发器 TH 和 TL,可通过软件写入户报警上下限
0x0F)。 write_sfm(0,u0)。 lcd_w(0x80+0x40+1)。 //显示时 lcd_w(0x38)。 lcd_w(0x0f)。 //显示功能开,有光标 } if(an==4) { n3=Read_ds1302(Read_day)。 n3=((n3amp。 0x70)4)*10+(n3amp。 0x0F)。 write_sfm1(8,n3)。 lcd_w(0x80+9)。
分若小于则转退出 mov secH,00h。 否则清 0 mov secL,00h。 ftiao2: ljmp outout。 zhwei2: cjne a,02h,gwei2。 mov r1,minH。 lcall add1。 mov a,r3。 cjne a,60h,outout。 mov minH,00h。 mov minL,00h。 ljmp outout。 gwei2: cjne a
P 2. 2P 2. 1P 2. 0P 1. 0P 1. 1P 1. 2P 1. 3P 1. 4P 1. 5P 1. 6P 1. 7R E S E TR X DT X DI N T 0I N T 1T0T1WRX2X1V S SRDA T 89 C 5 1绿黄红红3 40 Ω3 40 Ω3 40 Ω3 40 Ω+ 5V1 2M H Z3 0P F3 0P F+1 00 μ FV C C1WS P
件平台、操作系统和编程语言,使3/8 得构建在这样的系统中的服务可以使用统一和标准的方式进行通信。 这种具有中立的接口定义 (没有强制绑定到特定的实现上 )的特征称为服务之间的松耦合。 SOA 的核心 服务 (service)是整个 SOA 实现的核心。 SOA 架构的基本元素是服务, SOA 指定一组实体 (服务提供者、服务消费者、服务注册表、服务条款、服务代理和服务契约 )