电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

DS18B20时序

DS18B20时序_第1页
1/9
DS18B20时序_第2页
2/9
DS18B20时序_第3页
3/9
DS18B20 时序 Author:exploer CIEE ,CAU 2008-9-16 本文档参照Maxim 公司DS18B20 的Datasheet 而完成。其中,加了灰框的部分为原文档内容,其中英文部分为官方文档内容,中文部分为本人的翻译。限于本人水平,本文档可能存在错误或者让人误解的内容,对于因此引起的一切问题作者(exploer,CIEE-CAU)概不负责。 INITIALIZATION PROCEDURE— RESET AND PRESENCE PULSES 初始化序列——复位和存在脉冲 All communication with the DS18B20 begins with an initialization sequence that consists of a reset pulse from the master followed by a presence pulse from the DS18B20. This is illustrated in Figure 13. When the DS18B20 sends the presence pulse in response to the reset, it is indicating to the master that it is on the bus and ready to operate. DS18B20 的所有通信都由由复位脉冲组成的初始化序列开始。该初始化序列由主机发出,后跟由DS18B20 发出的存在脉冲(presence pulse)。下图(插图 13,即如下截图)阐述了这一点。当发出应答复位脉冲的存在脉冲后,DS18B20 通知主机它在总线上并且准备好操作了。 During the initialization sequence the bus master transmits (TX) the reset pulse by pulling the 1-Wire bus low for a minimum of 480 μs. The bus master then releases the bus and goes into receive mode (RX). 在初始化步骤中,总线上的主机通过拉低单总线至少 480μs 来产生复位脉冲。然后总线主机释放总线并进入接收模式。 When the bus is released, the 5kΩ pullup resistor pulls the 1-Wire bus high. When the DS18B20 detects this rising edge, it waits 15μs to 60 μs and then transmits a presence pulse by pulling the 1-Wire bus low for 60μs to 240μs. 当总线释放后,5kΩ 的上拉电阻把单总线上的电平拉回高电平。当 DS18B20 检测到上升沿后等待 15 到 60us,然后以拉低总线 60-240us 的方式发出存在脉冲。 如文档所述,主机将总线拉低最短 480us,之后释放总线。由于5kΩ 上拉电阻的作用,总线恢复到高电平。DS18B20 检测到上升沿后等待 15 到 60us,发出存在脉冲:拉低总线60-240...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部