1、毕毕 业业 设设 计(论计(论 文)文) 基于基于DS18B20DS18B20温度传感器的数字温度计设计温度传感器的数字温度计设计 学生姓名: 学 号: 所在系部: 电气信息系 专业班级: 电气工程及其自动化 指导教师: 讲师 日 期: 二一二年五月 i The design of temperature sensor based on DS18B20 digital thermometer By May 2012 ii 摘摘 要要 随着人们生活水平的不断提高,单片机控制无疑是人们追求的目标之一,它 所给人带来的方便也是不可否定的,其中数字温度计就是一个典型的例子,但人 们对它的要求越来越高,
2、要为现代人工作、科研、生活、提供更好的更方便的设 施就需要从数单片机技术入手,一切向着数字化控制,智能化控制方向发展本文 介绍了一种基于 DS18B20 的数字温度计设计方案。 本设计所介绍的数字温度计与 传统的温度计相比,具有读数方便,测温范围广,测温准确,其输出温度采用数 字显示, 主要用于对测温比较准确的场所, 或科研实验室使用方案。 利用 AT89S52 单片机控制 DS18B20 进行数据采集并由 HS1602 液晶显示模块显示结果,另外, 采集结果可由 RS-232-C 接口送入计算机显示并存储。按键控制实现过界报警温 度设定和实时监控,利用 AT24C08 芯片进行存储,实现温度
3、测量存储与再现。 关键字:温度采集 存储再现 过界报警 串行通信 iii Abstract With the continuous improvement of peoples living standard, single-chip control is undoubtedly one of the people to pursue the goal, it brings the convenience is undeniable, which is a typical example of the digital thermometer is required of it, but it
4、is increasingly the higher is the modern, scientific research, life and provide better more convenient facilities will need to start from several single-chip technology, all toward the digital control, intelligent control of the direction. In this page we introduced a conception of the numerical thermometer based on DS18B20. Digital thermometer as described in this design compared with traditional thermometer readings, temperature range and accurate temperature measurement, the output t