数字温度计课程设计 联系客服

发布时间 : 星期一 文章数字温度计课程设计更新完毕开始阅读84f48907777f5acfa1c7aa00b52acfc788eb9f7d

辽宁工程技术大学电子技术课程设计

摘 要

在日常生活及工业生产过程中,经常要用到温度的检测及控制,温度是生产过程和科学实验中普遍而且重要的物理参数之一。在生产过程中,为了高效地进行生产,必须对它的主要参数,如温度、压力、流量等进行有效的控制。温度控制在生产过程中占有相当大的比例。温度测量是温度控制的基础,技术已经比较成熟。传统的测温元件有热电偶和二电阻。而热电偶和热电阻测出的一般都是电压,再转换成对应的温度,这些方法相对比较复杂,需要比较多的外部硬件支持。我们用一种相对比较简单的方式来测量。

本文将介绍一种基于单片机控制的数字温度计,就是用单片机实现温度测量,进而达到数控制的目的。传统的温度检测大多以热敏电阻为温度传感器,但热敏电阻的可靠性差,测量温度准确率低,而且必须经过专门的接口电路转换成数字信号才能由单片机进行处理。本次采用DS18B20数字温度传感器来实现基于AT89C51单片机的数字温度计的设计用LED数码管以并口传送数据,实现温度显示,能准确达到以上要求,可以用于温度等非电信号的测量,主要用于对测温比较准确的场所,或科研实验室使用,能独立工作的单片机温度检测、温度控制系统已经广泛应用很多领域。 关键词 温度计;单片机;数字控制;DS18B20

I

李君钊:基于数字温度传感器的温度计

ABSTRACT

In daily life and industrial production process, often used in the detection and control of temperature, temperature is the production process and scientific experiments in general and one of the important physical parameter. In the production process, in order to efficiently carry out the production, to be its main parameters, such as temperature, pressure, flow control, etc... Temperature control in the production process of a large proportion. Temperature measurement is the basis of temperature-controlled, more mature technology.Traditional thermocouple and temperature components are the second resistor.The thermocouple and thermal resistance are generally measured voltage, and then replaced by the corresponding temperature, these methods are relatively complex, requiring a relatively large number of external hardware support. We use a relatively simple way to measure.

This article will introduce the single-chip microcomputer-based control of a digital thermometer is used to achieve single-chip temperature measurement, the traditional detection of most of the temperature thermistor for temperature sensor, but the poor reliability of thermistors, temperature measurement accuracy of low - , and must go through a special interface circuit to convert the digital signal processed by the single chip. The use of digital temperature sensor DS18B20 to AT89C51 microcontroller-based design of digital thermometer with LED digital control to the serial transmission of data, temperature display, accurate to achieve the above requirements, can be used for temperature measurement and other non-electrical signal, mainly used for more accurate temperature measurement sites, or research laboratory use, can work independently of the single-chip temperature detection, temperature control system has been widely used in many areas

Key words Thermometer;Single-chip;Digital Control; DS18B20

II

辽宁工程技术大学电子技术课程设计

目录

0 前言 ....................................................................................................................... 1 1 数字温度计的方案设计论证与比较 ................................................................... 2 1.1 显示电路方案 ................................................................................................... 2 1.2 测温电路方案 ................................................................................................... 2 2 硬件介绍 ............................................................................................................... 3 2.1 AT89C51单片机 ................................................................................................ 3 2.1.1 概述 .................................................................................................................. 3 2.1.2 基本参数 .......................................................................................................... 3 2.1.3 功能特性 .......................................................................................................... 3 2.1.4 引脚说明 .......................................................................................................... 4 2.2 DS18B20 单线数字温度传感器 ....................................................................... 5 2.2.1 概述 .................................................................................................................. 5 2.2.2 DS18B20的结构介绍 ...................................................................................... 5 2.3 数码管 ............................................................................................................... 6 3 硬件设计 ............................................................................................................... 7 3.1 整体设计 ........................................................................................................... 7 4 软件调试 ............................................................................................................... 9 4.1 整体设计 ........................................................................................................... 9 4.2 测温操作 ......................................................................................................... 10 4.3 报警操作 ......................................................................................................... 12 5 设计过程中出现的问题 ..................................................................................... 14 6 结论 ..................................................................................................................... 15 体会 ......................................................................................................................... 16

李君钊:基于数字温度传感器的温度计

参考文献 ................................................................................................................. 17 附录A原理图 ......................................................................................................... 18 附录B 原理图 ........................................................................................................ 19

2