基于AT9C的数字温度计设计与仿真
基于AT89C51的数字温度计设计与仿真
邓联巍
(吉首大学张家界学院,湖南 张家界 427000)
摘 要
随着科学技术的不断发展,温度的检测、控制应用于许多行业,数字温度计就是其中一例,它的反应速度快、操作简单,对环境要求不高,因此得到广泛的应用。
传统的温度测量大多使用热敏电阻,但热敏电阻的可靠性差,测量温度准确率低,而且必须经过专门的接口电路将模拟信号转换成数字信号才能由单片机进行处理。本课题采用单片机作为主控芯片,利用DS18B20来实现测温,用LCD液晶显示器来实现温度显示。
温度测量范围为0~,可以手动设置温度上下报警值,当温度超出所设报警值将发出报警鸣叫声,并显示温度值,该温度计适用于人的日常生活和工、农业生产领域igital 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 0.1 ℃. 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 peoples daily lives and industrial and agricultural production areas.
Keywords: Digital Thermometer; DS18B20; AT89C51; LCD1602
目 录
第一章 绪 论 1
1.1 前言 1
1.2 课题的目的及意义 1
1.3 该论文研究的内容 1
第二章 设计方案 2
2.1 方案1:使用电阻元件 2
2.2 方案2:使用温度传感器 2
2.3 方案2的总体设计框图 2
2.3.1 温度传感器 2
2.3.2 1602LCD显示模块 6
第三章 硬件电路设计 10
3.1 电路原理图 10
3.2 LCD1602显示器与单片机的接口电路 10
3.2.1 查看温度报警值 11
3.2.2 报警状态显示 11
3.3 DS18B20温度传感器与单片机的接口电路 11
3.3.1 检测DS18B20状态 12
3.4 按键与单片机的接口电路 12
3.4.1 设定温度报警值 13
第四章 软件设计 14
4.1 读出温度子程序 15
4.2 温度转换子程序 15
4.3 计算温度子程序 16
4.4 显示数据刷新子程序 16
4.5 电路仿真 17
4.6 结果分析 20
总 结 21
参考文献 22
附 件 23
第一章 绪 论
1.1 前言
随着人们生活
您可能关注的文档
- 东贸国际车位开盘方案.doc
- 个人暑期社会实践表格与要求.doc
- 个国家的语言说生日快乐.doc
- 个字母的单词.doc
- 个团队建设游戏.doc
- 个字母的单词个字母的英文单词全集.docx
- 个小户型玄关装饰 教你巧妙用空间.doc
- 个文言虚词记忆口诀 打印版.doc
- 个日常小炒.doc
- 个最简单的蛋糕方子.doc
- 《GB 19079.4-2025体育场所开放条件与技术要求 第4部分:攀岩场所》.pdf
- GB/T 46918.1-2025微细气泡技术 水中微细气泡分散体系气体含量的测量方法 第1部分:氧气含量.pdf
- 中国国家标准 GB/T 46918.1-2025微细气泡技术 水中微细气泡分散体系气体含量的测量方法 第1部分:氧气含量.pdf
- 《GB/T 46918.1-2025微细气泡技术 水中微细气泡分散体系气体含量的测量方法 第1部分:氧气含量》.pdf
- 中国国家标准 GB 19079.4-2025体育场所开放条件与技术要求 第4部分:攀岩场所.pdf
- 《GB/T 44807.2-2025集成电路电磁兼容建模 第2部分:集成电路电磁干扰特性仿真模型 传导发射建模(ICEM-CE)》.pdf
- GB/T 44807.2-2025集成电路电磁兼容建模 第2部分:集成电路电磁干扰特性仿真模型 传导发射建模(ICEM-CE).pdf
- 中国国家标准 GB/T 44807.2-2025集成电路电磁兼容建模 第2部分:集成电路电磁干扰特性仿真模型 传导发射建模(ICEM-CE).pdf
- GB/T 19405.4-2025表面安装技术 第4部分:湿敏器件的处理、标记、包装和分类.pdf
- 中国国家标准 GB/T 19405.4-2025表面安装技术 第4部分:湿敏器件的处理、标记、包装和分类.pdf
原创力文档

文档评论(0)