本科毕业论文基于at89c51单片机的数字温度计设计

上传人:bin****86 文档编号:44871939 上传时间:2018-06-14 格式:DOC 页数:34 大小:280KB
返回 下载 相关 举报
本科毕业论文基于at89c51单片机的数字温度计设计_第1页
第1页 / 共34页
本科毕业论文基于at89c51单片机的数字温度计设计_第2页
第2页 / 共34页
本科毕业论文基于at89c51单片机的数字温度计设计_第3页
第3页 / 共34页
本科毕业论文基于at89c51单片机的数字温度计设计_第4页
第4页 / 共34页
本科毕业论文基于at89c51单片机的数字温度计设计_第5页
第5页 / 共34页
点击查看更多>>
资源描述

《本科毕业论文基于at89c51单片机的数字温度计设计》由会员分享,可在线阅读,更多相关《本科毕业论文基于at89c51单片机的数字温度计设计(34页珍藏版)》请在金锄头文库上搜索。

1、编号:本科毕业论文本科毕业论文基于基于 AT89C51AT89C51 单片机的数字温度计单片机的数字温度计院院 系:信息工程学院系:信息工程学院姓姓 名:徐翰名:徐翰学学 号:号:专专 业:通信工程业:通信工程年年 级:级:2008 级级指导教师:庞建丽指导教师:庞建丽职职 称:讲师称:讲师完成日期:完成日期:20122012 年年 5 5 月月I摘 要温度是生产过程和科学实验中非常关键的一项物理量,在日常生活、农业、工业、各种高新技术的开发和研究中也是一个非常普遍和常用的参数,许多地方都要使用温度计对温度进行测量。随着人们生活水平的不断提高,对于温度计的要求也越来越高,使之能为人们的工作、科

2、研、生活提供更好、更方便的服务。传统的测温元件有热电偶和热电阻,而热电偶和热电阻测出的一般都是电压,再转换成对应的温度值,这些方法相对比较复杂,需要比较多的外部硬件支持。现在温度计向着数字化、智能化方向发展。本文采用美国 DALLAS 半导体公司继 DS1820 之后推出的一种改进型智能温度传感器 DS18B20 作为检测元件,可以设计一种相对比较简单的方式来测量温度。DS18B20可以直接读出被测温度值,具有低成本和易使用的特点。在数字温度计电路中设计了一种基于单片机 AT89C51 芯片的一种温度测量及报警电路。硬件电路采用数字温度传感器 DS18B20 来测量温度,将温度值转换成相应的数

3、字量传给单片机,经单片机AT89C51 芯片处理后使用 1602LCD 液晶模块显示出具体的温度值。在系统软件方面主要通过用 C 语言编程实现对各个电路的控制。数字温度计主要是对温度进行采集、显示,所以系统软件程序主要包括主程序、读出温度子程序、计算温度子程序、显示温度子程序等几大块。单片机通过软件可以控制各个硬件电路间数据的处理。电路中可以设置温度报警上下限,超过上限或低于下限时可以自动报警。关键词:1602LCD 液晶模块;DS18B20 数字温度传感器 ;AT89C51IIAbstractThe temperature is very critical in the production

4、 process and scientific experiments a physical quantity, in daily life, agriculture, industry, and a variety of high-tech development and research is a very common and frequently used parameters, many places have to use the thermometer to temperaturemeasurements. With the continuous improvement of p

5、eoples living standard, the requirements of the thermometer is also getting higher and higher, so for the peoples work, scientific research, life to provide better and more convenient services. Traditional components of the temperature thermocouple and thermal resistance, thermocouple and thermal re

6、sistance are generally measured voltage, converted to the corresponding temperature value, these methods are relatively complex, requiring more external hardware support. Thermometer toward digital, intelligent direction.In this paper, an improved smart temperature sensor DS18B20 DALLAS Semiconducto

7、r, following the DS1820 after the launch of the detection devices, and can design a relatively simple way to measure the temperature. DS18B20 can be directly read out the measured temperature value, low-cost and easy to use features. Digital thermometer circuit design based on a temperature measurem

8、ent and alarm circuit of AT89C51 chip. The hardware circuit using a digital temperature sensor DS18B20 to measure the temperature, the temperature value is converted into the corresponding digital pass microcontroller AT89C51 chip processing 1602LCD module displays a specific temperature. System sof

9、tware by using the C programming language to achieve control of each circuit. Digital thermometer for temperature acquisition, display, system software program includes the main program, read out the temperature subroutine to calculate temperature subroutine show that the temperature subroutine seve

10、ral large pieces. SCM software can control the processing of the data between the various hardware circuit. Temperature alarm circuit can be set to the lower limit exceeds the limit or below the lower limit can automatically alarm. Key words : 1602LCD module; DS18B20 digital temperature sensor; AT89C51III目 录1 绪论.11.1 数字温度计研究背景.11.2 数字温度计研究目的和意义.11.3 数字温度计研究主要工作.22 系统硬件电路设计.32.1 数字温度计总体设计方案.32.2 电源设计.32.3 主控制器 AT89C51.42.3.1 单片机 AT89C51 结构和性能.42.3.2 AT89C51 管脚说明.42.3.3 单片机晶振电路和复位电路.62.4 DS18B20.62.4.1 DS18B20 引脚功能.72.4.2 DS18B20 性能特点.72.4.3 DS18B20 测温原理.72.4.4 DS18B20 温度传

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 大杂烩/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号