文档详情

基于DS18B20的高分辨率温度数据采集.pdf

发布:2017-07-23约1.08万字共3页下载文档
文本预览下载声明
  电 子  测  量  技  术 第 32 卷 第 6 期 数据采集   EL EC TRON IC M EA SU R EM EN T T EC HN OL O GY 2009 年 6 月   基于 DS18 B20 的高分辨率温度数据采集 黄  慧  殷兴辉 (河海大学计算机及信息工程学院 南京  2 10098) 摘  要 : 介绍了新型单总线结构温度传感器 D S18B20 的诸多高性能特点、内部结构及控制时序 ;在此基础上 ,建立以 C8051F020 单片机为处理器结合 D S18B20 构成了一个温度测量系统 ,并介绍其硬件组成和软件设计 ,指出软件编程 的重点部分以及获得高分辨率的设定方法 ;最后使用该系统在较稳定的环境温度下实际测量环境温度 ,使用 M FC 编 写上位机接受程序 ,根据串口传至 PC 的数据 ,得到实验结果 ,将实验室数据进行制图证明温度采集系统分辨率达 0 . 0625 ℃。该装置适于人们 日常生活 、工业生产和科学研究领域对温度测量的需要 。 关键词 : D S18B20 ;一线温度传感器 ;C805 1F020 单片机 ;温度测量 中图分类号 : TP2 12 . 11   文献标识码 : A Highresol ution temperature data acquisition based on DS18 B20 Huang Hui  Yin Xinghui ( College of Comp ut er and infor mation Engineering , Hehai U niver sit y , Nanj ing 2 10098) Abstract :The int ernal st ruct ure and timing cont rol of new 1Wire t emp erat ure sen sor D S18B20 wit h a number of high p erformance feat ures are int roduced . On t hi s basi s , t he C8051F020 MCU p rocessor combined D S18B20 con stit ut es a t emp erat ure mea surement sy st em . It s har dware compo sition and software design are int ro duced . The focu s of software p rogramming and t he access to highresolution are point ed out . Finally ,act ual t emp erat ure i s acquired by t he sy st em in more st able environment . Accor ding to t he dat a from PC serial by M FC p rogramming , t he figure i s draw to p rove t emp erat ure resolution of 0 . 0625 ℃. The device i s suit able for daily life of p eople ,indu st rial p ro duction and scientific research in t he field of t emp erat ure mea surement . Keywords : D S18B20 ; 1Wire t emp erat ure sen sor ;C8
显示全部
相似文档