文件名称:18b20
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [PDF]
- 上传时间:
- 2012-11-26
- 文件大小:
- 358kb
- 下载次数:
- 0次
- 提 供 者:
- 陶**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
查阅18B20手册,LSB的最低四位代表小数,MSB的最高5位为符号位,其余的7位为整数部分,其分辨率为0.0625°,根据此规律,整数就是两字节凑在一起,而小数部分则是最低四位的值,乘以0.0625,看你取几位小数,再取整即可。上述的对照表是取1位小数的结果,取四舍五入。比如现在LSB的最低四位是0111,那么小数部分就是0.0625*7=0.4375-Search 18B20 manual, LSB representative of a minimum of four decimal places, MSB is sign the top five bits, the remaining 7 bits are integer part, with a resolution of 0.0625 °, according to this law, the two-byte integer that get together, and fraction is the lowest four values, multiplied by 0.0625, to see you take a few decimal places, and then take the whole can. The above table is to take a fraction of the results, take rounding. Such as the minimum four LSB is now 0111, so the fractional part is 0.0625* 7 = 0.4375
(系统自动生成,下载前可以参看下载内容)
下载文件列表
18b20.pdf