精品毕业论文--单总线传感器多点测量系统研究.doc


文档分类:IT计算机 | 页数:约48页 举报非法文档有奖
1/ 48
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/ 48
文档列表 文档介绍
摘要
本文介绍了采用美国Dallas Semiconductor公司的基于单总线(1-Wire)技术的温度参数采集系统,该系统运用单总线技术通过一根线传输数据与电源。
本系统的温度参数采集部分土要由单总线传感器DS18B20与计算机来完成,可根据不同的需要在单总线上添加其它的传感器和相应的软件测量参数。
本文论述了单总线技术工作电路原理,通信原理及传输协议,并介绍单总线器件在单总线上的工作原理。着重讨论了可编程单总线传感器:温度数字传感器DS18B20单总线传感器的作原理、内部结构及功能,并指出这种传感器在单总线温度检测中的硬件电路设计。应用Dallas公司的TMEX动态链接库,并用VC++编程技术对单总线及单总线器件进行访问和控制,所开发的软件能检测出当前的计算机与单总线连接的端口信息,并检测出单总线上的传感器类型和64位ROM,对DS18B20编程检测出输入数据,并根据公式计算出当前周围的温度。可根据不同测量的定时需要,实现温度数据参数的实时采集,动态保存到不同的数据库。对气象资料进行自动存储。

关键词:实时采集,DS18B20,1-wire

Abstract
This paper introduces a system of ground meteorological parameters collected from the temperature parameters based on 1-Wire bus technology. It is developed jointly by Dallas Semiconductor Inc, of -Wire bus technology transmits both power and bidirectional data over a single twisted-wire cable.
An automatic measuring system of temperature parameter is proposed. The function of collecting meteorological parameters pleted by 1-Wiresensors (DS1820) puter. The package can be augmented with humidity, barometric pressure, and other weather sensors simply by connecting the sensor to the cable at the desired position and adding the appropriate software.
This paper explains 1-, such as the hardware circuit munication protocol , analyzes features of sensor chips( the 1-Wire devices) and 1-Wire line-powered Micro working technique. The programmable sensor of 1-Wire devices is introduced, including the working principle and application in 1-Wire temperature’ checking, and circuit which connect the sensor . We can access and control the 1–Wire devices, also read out the data of these sensors, using Visual C ++ and TMEX DLL. The software we developed can access and control the I-Wire devices. According to the current demand, the information of serial port puter which is connected with 1-Wire bus can be obtained, and the type of sensors and 64 bit ROM also are available. The data out putted from these sensors is converted to temperature, wind speed, wind direction and rainfall. The

精品毕业论文--单总线传感器多点测量系统研究 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数 48
  • 收藏数 0 收藏
  • 顶次数 0
  • 上传人 mkt365
  • 文件大小 0 KB
  • 时间2013-06-14
最近更新