下载此文档

数字温度计设计与仿真.doc


文档分类:通信/电子 | 页数:约42页 举报非法文档有奖
1/42
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/42 下载此文档
文档列表 文档介绍
基于AT89C51的数字温度计设计与仿真
摘要
随着科学技术的不断发展,温度的检测、控制应用于许多行业,数字温度计就是其中一例,它的反应速度快、操作简单,对环境要求不高,因此得到广泛的应用。
传统的温度测量大多使用热敏电阻,但热敏电阻的可靠性差,测量温度准确率低,而且必须经过专门的接口电路将模拟信号转换成数字信号才能由单片机进行处理。本课题采用单片机作为主控芯片,利用DS18B20来实现测温,用LCD液晶显示器来实现温度显示。
温度测量范围为0~119℃,℃。可以手动设置温度上下限报警值,当温度超出所设报警值时将发出报警鸣叫声,并显示温度值,该温度计适用于人们的日常生活和工、农业生产领域。
关键词:数字温度计;DS18B20;AT89C51;LCD1602
Digital Thermometers Design and Simulation Based on AT89C51
Deng Lian Wei
(Zhangjiajie College of Jishou University,Zhangjiajie,Hunan 427000)
Abstract
With the continuous development of science and technology, the temperature detection and control used in many industries, the digital thermometer is a case in which the reaction speed, simple operation, less demanding on the environment, it is widely used.
Most of the traditional use of thermistor temperature measurement, but poor reliability of thermistors to measure temperature, low accuracy, and must go through a special interface circuit converts the analog signal to digital signal processing by the microcontroller. The subject of using SCM as the main chip, the use of DS18B20 to achieve temperature, with the LCD liquid crystal display to achieve the temperature display.
Temperature measurement range is 0 ~ 119 ℃, accuracy of ℃. You can manually set the alarm value upper and lower temperature, when the temperature exceeds the set alarm when the alarm calls, and display temperature, the thermometer for people's daily lives and industrial and agricultural production areas.
Keywords: Digital Thermometer; DS18B20; AT89C51; LCD1602
目录
第一章绪论 1
前言 1
课题的目的及意义 1
该论文研究的内容 1
第二章设计方案 2
方案1:使用电阻元件 2
方案2:使用温度传感器 2
方案2的总体设计框图 2
温度传感器 2
1602LCD显示模块 6
第三章硬件电路设计 10
电路原理图 10
LCD1602显示器与单片机的接口电路 10
查看温度报警值 11
报警状态显示 11
DS18B20温度传感器与单片机的接口电路 11
检测DS18B20状态 12
按键与单片机的接口电路 12
设定温度报警值 13
第四章软件设计 14
读出温度子程序 15
温度转换子程序 15
计算温度子程序 16
显示数据刷新子程序 16
电路仿真 17
结果分析 20
总结

数字温度计设计与仿真 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息